Saturday 25 June 2016

SCCM

(1)
To find all windows 7 machines in your environment you can use the following query.

select SMS_R_System.NetbiosName,
SMS_R_System.OperatingSystemNameandVersion from 
SMS_R_System where
SMS_R_System.OperatingSystemNameandVersion like "%Workstation 6.1%"
(2)
To find all windows 10 machines in your environment you can use the following query.

select SMS_R_System.NetbiosName,
SMS_R_System.OperatingSystemNameandVersion from 
SMS_R_System where
SMS_R_System.OperatingSystemNameandVersion like "%Workstation 10%"
(3)
To restart a remote computer Remotely

shutdown /m \\computername /s
(4)
Clients are unable to get updates from SCCM 2012,
getting error: "Job error (0x87d00692) received for assignment"
To resolve this issue check the assigned WSUS server, in my case a GPO was applied in which another WSUS was mentioned. after disabling that GPO on client machines, machines were able to get updates.

you can check the assigned WSUS by checking in the following registry key.

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate

(5)
To check the status of Update deployment you should check the log file "UpdateDeployment " at location "C:\windows\CCM\Logs" on client.
(6)
To show list of installed updates with power shell command:
Get-HotFix | Sort-Object InstalledOn -Descending
7)
To install SCCM client on workgroup computers
ccmsetup.exe smssitecode=abc smsmp=mp.domain.com
To check the current assigned WSUS server to your client machine. go to the following location on client Machine. Start-->run-->gpedit.msc-->local computer policy-->computer configuration-->Administrative templates-->Windows Compunents-->Widows update. then look into "specify intranet Microsoft update service location" here you will see the server and port like "http://SCCM.domain.com:8530"

No comments:

Post a Comment