Scripts

OnSearchComplete – Failed to end search job. Error = 0x80072ee2.

Jul 12, 2016 | | Say something

We are running Configuration Manager 2012 R2 SP1 CU2 in our envionment and had some clients report the following error in the wuahandler.log on a Windows 7 32-bit workstation, “OnSearchComplete – Failed to end search job. Error = 0x80072ee2.” “Error = 0x80072ee2” translates to a connection time-out to the wsus server. Resolved the issue by […more]

3,850 total views, 1 views today

Obtain current SMS site assignment and compare to “auto” discovered ‘ site

Jul 11, 2016 | | 1 comment

I had a scenario where some of our SCCM clients would fail to communicate to our Primary Servers. Upon investigation it was found that changing the sitecode of the client would resolve the issue at hand, however doing this on a couple of 100 clients would be time consuming. Instead of logging into each client […more]

1,749 total views, 1 views today

Remote Computers Reboot Script

Oct 4, 2015 | | Say something

Clean and effective script to reboot a list of computers remotely. Change the text highlighted in red to best fit your needs. –Script Start– Set WSHShell = WScript.CreateObject(“WScript.Shell”) Set oFS = CreateObject(“Scripting.FileSystemObject”) strWarning = “Due to system maintenance, this computer must be restarted. You have 10┬áminutes to save your work from the start of this […more]

1,765 total views, 5 views today