Friday 26 November 2010

TS 2003 and client based USB printers

I had a problem installing client based USB locally connected printers onto a Terminal Server, especially the HP All in one printers.
You can have issues with the install on a server, it can kick off DEP, not install or some other idiotic issue.

To get around this I do the following; 
Start the installer.
Find the temp file location and copy out all the drivers from the temp folder to a known location.
Stop the install and then use the copied out folder for the install of the printer onto the Terminal Server.

Bingo - all sorted.

Thursday 25 November 2010

Windows File Protection - SFC

System File Checker or SFC will run against you windows files and check that they are correct and accounted for. It does more but hopefully that will suffice.

There are 3 options I'm interested in to run it are
sfc /scannow
sfc /scanonce
sfc /scanboot

The SfcScan values are set in the following registry key's


HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
0x0 = do not scan protected files after restart. (Default value)
0x1 = scan all protected files after every restart (set if sfc /scanboot is run).
0x2 = scan all protected files one time after a restart (set if sfc /scanonce is run).