Goto Microsoft TechNet to learn more about Windows 7 and Windows 8.1 servicing changes
– Simplifying the world once again …
For every 1603 in the World
Goto Microsoft TechNet to learn more about Windows 7 and Windows 8.1 servicing changes
– Simplifying the world once again …
Add and remove local printer and driver through the command line. Can be used in scripts or packages. Before adding the printer, setup port and restart the Print Spooler service.
1 2 |
rundll32 printui.dll PrintUIEntry /if /b "ETIAM Print-in" /f "%ProgramFiles%\Etiam\Print-In\Driver\Print-in.inf" /r "PrintIn Port" /m "ETIAM Print-in" /q rundll32 printui.dll PrintUIEntry /Xs /n "ETIAM Print-in" comment "ETIAM virtual printer" location "http://www.etiam.com" /q |
1 2 |
rundll32 printui.dll PrintUIEntry /dl /n "ETIAM Print-in" /q rundll32 printui.dll PrintUIEntry /dd /m "ETIAM Print-in" /q |
Two ways to access the Credential Manager, command line and GUI.
1 2 |
cmdkey.exe rundll32.exe keymgr.dll, KRShowKeyMgr |
Easy way to get the Computer Model when assigning and installing specific drivers to the Windows Image with ConfigMgr or MDT.
1 |
WMIC CSProduct get Name |
Remove the annoying and time consuming first logon (OOBE) screen on Windows 8.
1 2 |
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon] "EnableFirstLogonAnimation"=dword:00000000 |
A quick guide to make an USB Flash Drive bootable. This is usefull if you use Microsoft Windows installation images.
Open Command Prompt as an Administrator.
1 2 3 4 5 6 7 8 9 |
Type diskpart Type list disk (note the drive number of the USB flash drive) Type select disk X, (where X is the drive number of the USB flash drive) Type clean (delete all data from the USB flash drive) Type create part pri (aka create partition primary) Type select part 1 (to select the partition just created) Type format fs=ntfs quick (to format the partition) Type active Type exit |
Now the USB flash drive is ready for a Windows installation image
Source: Microsoft
Start Remote Assistance in Windows from the Command Line. You can also request help or offer your skills as an expert.
1 2 3 |
"%windir%\system32\msra.exe" /offerra "%windir%\system32\msra.exe" /novice "%windir%\system32\msra.exe" /expert |
Usage
Create a shortcut and enter first command line, shown above, as the target. Remember to elevate/run as if you are using differenced user accounts
Here are a few examples of the most common Icacls commands, that I use in Command Shell, to give further access.
1 2 3 4 |
icacls.exe "[folder]" /grant *S-1-5-32-545:(OI)(CI)F icacls.exe "[folder]" /grant *S-1-5-32-545:(OI)(CI)M icacls.exe "[path][file]" /grant *S-1-5-32-545:F icacls.exe "[path][file]" /grant *S-1-5-32-545:M |
For a complete list of ‘Well-known security identifiers’ (SIDs) please visit Microsoft.
Note: Icacls are build into Windows Vista, Windows 7 & Windows 8 and equivalent Windows Servers
Goto Microsoft website about Registry Redirector
– Essential for understanding the Windows x86/x64 conundrum
Goto Johan Arwidmark blog about Deployment
– Get all your SCCM tips and tricks from the master himself