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).



Wednesday 26 May 2010

HyperV Machine 'Bios did not load' error.

Had great fun on a bad day with a HyperV Guest BES Server that had an on screen error in HyperV Manager that the BIOS did not load. Couldn't manage the server, reset it, power it off or even remote to it on the management console or RDP.


Turns out the machine was corrupt somehow. 


In troubleshooting the issue I got pointed to this MS Article - http://support.microsoft.com/kb/961804 and I have it on good authority that there have been 10 calls to MS about this ( I wonder how many calls were never made?)


Anyway, I'm updating my AV Exclusion list. This mostly applies to Server 2003, but I will update it on Server 2008 shortly.


Hope it helps someone.



Files to Exclude from AV scans

Need to add pagefile.sys and spool folder

Exclusions:

Exchange related:
C:\Program Files\Exchsrvr\Mdbdata (This is likely to move - check first!)
C:\Program Files\Exchsrvr\Mtadata
C:\Program Files\Exchsrvr\server_name.log (servername changes...)
C:\Program Files\Exchsrvr\Mailroot
C:\Program Files\Exchsrvr\Mdbdata
C:\Program Files\Exchsrvr\srsdata
C:\Program Files\Exchsrvr\Conndata
C:\Program Files\Exchsrvr\Exchweb
C:\Program Files\Exchsrvr\schema
C:\Program Files\Exchsrvr\res
C:\inetpub\mailroot
C:\windows\system32\inetsrv\metabase.bin

McAfee:
C:\Program Files\Network Associates\McAfee PortalShield\ (and all subdirectories)
C:\Program Files\Network Associates\Common Framework\
C:\Documents and Settings\All Users\Application Data\Network Associates\Common Framework
IIS related:
C:\WINDOWS\system32\inetsrv
C:\WINDOWS\IIS Temporary Compressed Files
Domain Controller related:
Active Directory database files = C:\WINDOWS\NTDS
SYSVOL C:\WINDOWS\SYSVOL
NTFRS Database Files = C:\WINDOWS\ntfrs

Windows SharePoint Services:
C:\Program Files\SharePoint Portal Server\ (and all subdirectories)
C:\Program Files\Common Files\Microsoft Shared\Web StorageSystem\
C:\windows\temp\Frontpagetempdir
Additional Exclusions:
Removable Storage Database (used by SBS Backup) = C:\Windows\System32\ntmsdata
SBS POP3 connector Failed Mail = C:\Program Files\Microsoft Windows Small Business Server\Networking\POP3\Failed Mail
SBS POP3 connector Incoming Mail = C:\Program Files\Microsoft Windows Small Business Server\Networking\POP3\Incoming Mail
Windows Update Store = C:\WINDOWS\SoftwareDistribution\DataStore
DHCP Database Store = C:\WINDOWS\system32\dhcp
WINS Database Store = C:\WINDOWS\system32\wins
GroupShield:
C:\Program Files\Network Associates\McAfee GroupShield\bin\productlog.bin
C:\Program Files\Network Associates\McAfee GroupShield\bin\detecteditems.bin
C:\Program Files\Network Associates\McAfee GroupShield\bin\detecteditems.bin.qtn

GFI:
C:\Program Files\GFI\MailEssentials
C:\Program Files\Common files\GFI
C:\Inetpub\mailroot
If GFI MailEssentials is installed on the same machine as Exchange server, virus scanning software and backup software should be disabled from scanning C:\Program Files\Exchsrvr\Mailroot instead of C:\Inetpub\mailroot.

Workstation Exclusions:
C:\WINDOWS\SoftwareDistribution\DataStore
C:\Program Files\Network Associates\Common Framework\
C:\Documents and Settings\All Users\Application Data\Network Associates\Common Framework

  1. Default virtual machine configuration directory (C:\ProgramData\Microsoft\Windows\Hyper-V)
  2. Custom virtual machine configuration directories
  3. Default virtual hard disk drive directory (C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks)
  4. Custom virtual hard disk drive directories
  5. Snapshot directories
  6. Vmms.exe (Note: May need to be configured as process exclusions within the antivirus software)
  7. Vmwp.exe (Note: May need to be configured as process exclusions within the antivirus software)
  8. Additionally, when you use Live Migration together with Cluster Shared Volumes on Windows Server 2008 R2, exclude the CSV path "C:\Clusterstorage" and all its subdirectories.


Notes
If virtual machines are missing from the Hyper-V Management console, you must configure the antivirus exclusions, and then restart the Hyper-V Virtual Machine Management service.
If you receive error code 0x800704C8, it is likely that the virtual machine configuration file was corrupted. In this case, and if restarting the Hyper-V Virtual Machine Management service does not resolve the issue, the virtual machine has to be re-created or restored from a backup.

Friday 15 January 2010

Free Talks in Dublin Library

Was listening to Tom Dunne a few days ago and some free Library in the Ilac Center, Henry Street, Dublin. On Thursday Rowan Manahan spoke about his subject matter - www.fortifyservices.com

I have to say it was an enjoyable evening with some free chocolate and jelly babies. The presentation was excellent and to the point and I have to say Rowan dealt with a heckler very well. I am curious, a heckler at a free event and he kept at it....

Anyway watch here ad I'll post up on any new talks that them have.