Wednesday, December 20, 2006

VMWARE: How to setup ESX 3.0 to automatically start Virtual Machines

How to setup VMware ESX 3.0 to automatically start Virtual Machines when the ESX host server reboots:

Highlight the host server.
Go to Configuration.
Go to Virtual Machine Startup/Shutdown.
Click in Properties.
Check Allow virtual machines to start and stop automatically with the system.

Tuesday, December 19, 2006

CTX: Clear Persistent Orphaned Printers in Roaming Profiles

How to Clear Persistent Orphaned Printers in Roaming Profiles in Citrix Servers

To remove orphan printer from roamming profiles you must edit usrlogon.cmd on the Citrix servers and add these entries.

echo Yreg DELETE HKCU\Printers\DevModes2 /va /f
echo Yreg DELETE HKCU\Printers\DevModePerUser /va /f
echo Yreg DELETE HKCU\Printers\ /va /f
echo Yreg DELETE HKCU\Printers\connections
echo Yreg DELETE HKCU\Printers\citrix
echo Yreg DELETE "HKCU\Software\Microsoft\Windows NT\CurrentVersion\Devices" /va /f
echo Yreg DELETE "HKCU\Software\Microsoft\Windows NT\CurrentVersion\printerports" /va /f
echo Yreg DELETE HKCU\Software\Citrix\PrinterProperties
echo Yreg DELETE HKCU\Printers\settings

MS: How to Install a Windows 2000 or Windows XP Printer Driver in Windows NT 4.0

How to Install a Windows 2000 Printer Driver or a Windows XP Printer Driver in Windows NT 4.O for Point and Print Functionality (This note will apply to Windows Server 2003 Printer Driver too)
http://support.microsoft.com/kb/263090/en-us

Thursday, December 14, 2006

CTX: How To Use DSCHECK

How To Use DSCHECK

Usage: dscheck [Options]
• [ /Clean /Full]
• [ Servers Apps Printers Groups MSLicense Folders Licenses InstallationJobs]
• [/Silent]

To Check the Data Store

From the command prompt, type dscheck.

To Repair the Data Store

From the command line change to the temp directory where the dscheck.exe utility resides. Run the following switch commands:

• dscheck /full Servers [Options]
o – Verify/Clean or Delete the server. May be left blank. Defaults to all servers.
o /Clean – Modify the data store to correct the errors.
o /DeleteAll – Delete the server entries from the data store.
o /DeleteMF – Delete the MetaFrame Server entry from the data store.
o /DeleteComSrv – Delete the Common Server entry from the data store. If specified without a server name, will attempt to remove all the duplicate Common Server entries.
Note: In general, use /Delete*** with caution.

• dscheck /full Apps [Options]
o – Verify/Clean or Delete the application. May be left blank. Defaults to all applications.
o /Clean – Modify the data store to correct the errors.
o /ServerCheck – Verify that all applications are hosted by valid servers.
o /DeleteMF – Delete the MetaFrame Application entry from the data store.
o /DeleteComApp – Delete the Common Application entry from the data store.

• dscheck /full Printers [Options]
o /purge_replications – Removes all printer replications from the data store.
o /purge_client_printers – Removes all Client Auto-Create printers pending deletion from the data store.
o /purge_drivers – Removes all drivers which are not associated with any servers or session printer policies from the data store.

• dscheck /full Groups [Options]
o /Clean – Removes the group object. GroupName is the relative DN from the Context.
o /Clean – Removes the group from the parent group. Use the output of DSCHECK.exe GROUPS /verify" for both ParentGroupName and GroupName.

• dscheck /full MSLicense [Options]
o /purge_licenses – Removes all Microsoft Licenses from the data store.
o /list – Lists all Microsoft Licenses in the data store.
• dscheck /full Folders /clean – Collapse orphaned folders in the data store.
• dscheck /full Licenses /clean – Removes all corrupt licenses from the data store.

• dscheck /full
CAUTION: If this is run with the /clean switch the database will be modified if inconsistencies are found. It is recommended that the data store database is backed up prior to running dscheck with the /clean switch.

http://support.citrix.com/article/CTX107800

Monday, December 11, 2006

CTX: Auto Client Reconnect Event 9007

You found this error in your Citrix server:

Event Type: Warning
Event Source: MetaFrame
Event Category: None
Event ID: 9007
User: N/A
Computer: SERVER
Description: Auto Client Reconnect occurred for user: DOMAIN\user

To fix the problem add these registry keys:

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Citrix]
"IcaEnableKeepAlive"=dword:00000001
"IcaKeepAliveInterval"=dword:0000003c

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"TcpMaxDataRetransmissions"=dword:0000000a
"KeepAliveTime"=dword:0000ea60
"KeepAliveInterval"=dword:000003e8

MS: Enable/Disable "Use HTTP 1.1 through proxy connections" settings in Internet Explorer

Change (or create) these registry keys or create ADM Template to apply using a GPO.

HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\EnableHttp1_1= "0x00000001"

HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyHttp1.1= "0x00000001"

1 is Enable and 0 is Disable.

MS: How to Install Office 2000 on Windows 2000 Terminal Server

http://support.microsoft.com/kb/224313

Monday, December 04, 2006

VMWARE: How To Change Date And Time To ESX Server

1) Set the system clock to the local date and time: date MMDDhhmmYYYY

Example: Dec 4, 2006 10:35 is DATE 120410352006

2) Update the hardware clock with current time of the system clock: /sbin/hwclock --systohc