Posts

Showing posts from August, 2016

Random Notes from the field - Stuff to remember

Here's a bunch of random notes of Windows stuff that I wanted to remember ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Get User who's logged on remotely WMIC /NODE: "hostname"  COMPUTERSYSTEM GET USERNAME ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Sysprep 'A fatal error occurred while trying to sysprep the machine.'  This error shows that sysprep was run multiple times on the machine, please open a command prompt, type: slmgr /dlv to view how many times of remaining Windows Activation count. Generally speaking, to sysprep the image on a single computer for multiple times, you need to configure the Microsoft-Windows-Security-SPP | SkipRearm to 1 in the unattend.xml file. I am assuming whether you configure the Microsoft-Windows-Security-Licensing-SLC | SkipRearm to 1 instead of SPP, the SLC setting is deprecated and should not be used.   As a work around of this problem, please type: regedit in the Start Search box to open Registry Editor, set the value of Ge...