Tuesday, November 17, 2015

SCCM WSUS Sync Errors: The request failed with HTTP status 503: Service Unavailable.















The cause is that the WsusPool Application Pool in IIS is in a stopped state, as shown below.


Start the Application pool as shown Below

The WSUS back to normal state




Tuesday, August 25, 2015

How to Remotely execute CMD on Workgroup Machine

1. Launch  the Powershell Run as Administrator
2. Use command .\PsExec.exe \\IP Address -u administrator -P P@ssw0rd cmd.exe
3. It successfully connected to remote computer CMD


Thursday, July 2, 2015


How to Convert Server Edition


1. DISM /online /Get-CurrentEdition
     










2. DISM /online /Get-TargetEditions


3.DISM /online /Set-Edition:ServerStandard /ProductKey:xxx-xxxx-xxxx-xxxx /AcceptEula

4. Type "Y" restart the Server.
5.Converted to DataCenter Edition














SCCM 2012: Log File Reference


I grabbed this from Microsoft site, out of it and put it on my desktop for reference. Its proven pretty handy to have so I thought I'd post it here:


-----------------------------------------
SCCM 2012 Log file Reference:
------------------------------------------
adctrl.log - Records enrollment processing activity.

ADForestDisc.log - Records Active Directory Forest Discovery actions.

ADService.log - Records account creation and security group details in Active Directory.

adsgdis.log - Records Active Directory Security Group Discovery actions.

adsysdis.log - Records Active Directory System Discovery actions.

adusrdis.log - Records Active Directory User Discovery actions.

ccm.log - Records client push installation activities.

CertMgr.log - Records the certificate activities for intra-site communications.

chmgr.log - Records activities of the client health manager.

Cidm.log - Records changes to the client settings by the Client Install Data Manager (CIDM).

colleval.log - Records details about when collections are created, changed, and deleted by the Collection Evaluator.

compmon.log - Records the status of component threads monitored for the site server.

compsumm.log - Records Component Status Summarizer tasks.

ComRegSetup.log - Records the initial installation of COM registration results for a site server.

ConfigMgrPrereq.log - Records pre-requisite component evaluation and installation activities.

dataldr.log - Records information about the processing of Management Information Format (MIF) files and hardware inventory in the Configuration Manager database.

ddm.log - Records activities of the discovery data manager.

despool.log - Records incoming site-to-site communication transfers.

distmgr.log - Records details about package creation, compression, delta replication, and information updates.

EPCtrlMgr.log - Records information about the synchronization of malware threat information from the Endpoint Protection site system role server into the Configuration Manager database.

EPMgr.log - Records the status of the Endpoint Protection site system role.

EPSetup.log - Provides information about the installation of the Endpoint Protection site system role.

EnrollSrv.log - Records activities of the Enrollment service process.

EnrollWeb.log - Records activities of the enrollment website process.

fspmgr.log - Records activities of the fallback status point site system role.

hman.log - Records information about site configuration changes, and the publishing of site information in Active Directory Domain Services.

Inboxast.log - Records the files that are moved from the management point to the corresponding INBOXES folder on the site server.

inboxmgr.log - Records file transfer activities between inbox folders.

inboxmon.log - Records the processing of inbox files and performance counter updates.

invproc.log - Records the forwarding of MIF files from a secondary site to its parent site.

migmctrl.log - Records information for Migration actions involving migration jobs, shared distribution points, and distribution point upgrades.

mpcontrol.log - Records the registration of the management point with WINS. Records the availability of the management point every 10 minutes.

mpfdm.log - Records the actions of the management point component that moves client files to the corresponding INBOXES folder on the site server.

mpMSI.log - Records details of about the management point installation.

MPSetup.log - Records the management point installation wrapper process.

netdisc.log - Records Network Discovery actions.

ntsvrdis.log - Records the discovery activity of site system servers.

Objreplmgr - Records the processing of object change notifications for replication.

offermgr.log - Records advertisement updates.

offersum.log - Records the summarization of deployment status messages.

OfflineServicingMgr.log - Records the activities of applying updates to operating system image files.

outboxmon.log - Records the processing of outbox files and performance counter updates.

PerfSetup.log - Records the results of the installation of performance counters.

PkgXferMgr.log - Records the actions of the SMS Executive component that is responsible for sending content from a primary site to a remote distribution point.

policypv.log - Records updates to the client policies to reflect changes to client settings or advertisements.

rcmctrl.log - Records the activities of database replication between sites in the hierarchy.

replmgr.log - Records the replication of files between the site server components and the Scheduler component.

ResourceExplorer.log - Records errors, warnings, and information about running the Resource Explorer.

ruleengine.log - Records details about Auto Deployment Rules around the identification, content download, and update group and deployment creation.

Sched.log - Records details about site-to-site job and package replication.

schedule.log - Records the activities for standard sender content scheduling jobs.

sender.log - Records the files that transfer by file-based replication between sites.

sinvproc.log - Records information about the processing of software inventory data to the site database.

sitecomp.log - Records details about the maintenance of the installed site components on all site system servers in the site.

sitectrl.log - Records site setting changes made to site control objects in the database.

sitestat.log - Records the availability and disk space monitoring process of all site systems.

SmsAdminUI.log - Records Configuration Manager console activity.

SMSAWEBSVCSetup.log - Records the installation activities of the application catalog web service.

smsbkup.log - Records output from the site backup process.

smsdbmon.log - Records database changes.

SMSENROLLSRVSetup.log - Records the installation activities of the enrollment web service.

SMSENROLLWEBSetup.log - Records the installation activities of the enrollment website.

smsexec.log - Records the processing of all site server component threads.

SMSFSPSetup.log - Records messages generated by the installation of a fallback status point.

SMSPORTALWEBSetup.log - Records the installation activities of the application catalog web site.

SMSProv.log - Records WMI provider access to the site database.

smstsvc.log - Records information about the installation, use, and removal of a Windows service that is used to test network connectivity and permissions between servers, using the computer account of the server initiating the connection.

srsrpMSI.log - Records detailed results of the reporting point installation process from the MSI output.

srsrpsetup.log - Records results of the reporting point installation process.

Srvacct.log - Records the maintenance of accounts when the site uses standard security.

statesys.log - Records the processing of state system messages.

statmgr.log - Records the writing of all status messages to the database.


swmproc.log - Records the processing of metering files and settings.

SCCM Failed to Install Agent to Client

Error in ccmsetup.log

*****************************************************************************
Starting BITS download for client deployment files. ccmsetup 3/18/2011 12:15:10 PM 1476 (0x05C4)
Download Update: Copy job has been queued. ccmsetup 3/18/2011 12:15:11 PM 1476 (0x05C4)
Download Update: Copy job has been queued. ccmsetup 3/18/2011 12:20:11 PM 1476 (0x05C4)
Download Update: Copy job has been queued. ccmsetup 3/18/2011 12:25:11 PM 1476 (0x05C4)
Download Update: Copy job has been queued. ccmsetup 3/18/2011 12:30:11 PM 1476 (0x05C4)

Workaround :

  1. Go to Services.msc
  2. Stop BITS Service
  3. Stop Ccmsetup service.
  4. Run below command
-Bitsadmin.exe /RESET /Allusers
-Bitsadmin.Exe /List
    
   5. To Force Install SCCM Agent
       - CCMSetup.exe /BITSPriority:FOREGROUND

Wednesday, June 24, 2015

WSUS Role failed on Windows server 2012 with error “the operation cannot be completed because the server that you specified requires a restart”

“The request to add or remove features on the specified server failed. the operation cannot be completed because the server that you specified requires a restart.”


Why does it fail every time though server is restarted as stated from above screen ?
Go to event viewer, windows logs-system, you see below error message:
The MSSQL$MICROSOFT##WID service was unable to log on as NT SERVICE\MSSQL$MICROSOFT##WID with the currently configured password due to the following error:
Logon failure: the user has not been granted the requested logon type at this computer.
Service: MSSQL$MICROSOFT##WID
Domain and account: NT SERVICE\MSSQL$MICROSOFT##WID
This service account does not have the required user right "Log on as a service."
User Action
Assign "Log on as a service" to the service account on this computer. You can use Local Security Settings (Secpol.msc) to do this. If this computer is a node in a cluster, check that this user right is assigned to the Cluster service account on all nodes in the cluster.
If you have already assigned this user right to the service account, and the user right appears to be removed, check with your domain administrator to find out if a Group Policy object associated with this node might be removing the right.
How do i fix this ?
You need to Assign the Log on as a service user right to NT SERVICE\ALL SERVICES.
This can be implemented via GPO.
Go to your group policy management console,edit default domain policy
Computer Configuration—>Policies—>Windows Settings—>Security Settings—>Local Policies—>User Rights Assignment
Note: It is not mandatory to edit the default domain Policy to enable this setting.You can also create new GPO and ensure to have Enforced (running on Server 2012) option is selected which can not be overwritten by Default Domain Controller.










Go to properties of Logon as Service,
click on Add user or Group,Enter NT SERVICE\ALL SERVICES ,click ok.






Now move onto the server,open command prompt and type gpupdate /Force to apply the GPO settings.
To check if the settings are applied or not,you can run rsop.msc from the run command and see the changes applied or not.
Once you confirmed the settings are applied,Start the installation of WSUS role again,this time It should be okay.

The source : http://eskonr.com/2013/06/wsus-role-failed-on-windows-server-2012-with-error-the-operation-cannot-be-completed-because-the-server-that-you-specified-requires-a-restart/