Monthly Archives: March 2012

Wyse wnos.ini configuration generator

Configuration Generator

This small tool creates the configuration files you will need for Wyse ThinOS, Wyse Linux v6, Wyse Enhanced Ubuntu Linux and Wyse Enhanced Suse Linux. It can also create Windows CE Addons based on a registry configuration file and send Real-Time commands to the units like Shutdown, Reboot, etc.

You need Microsoft .NET Framework 2.0 to use this tool.
If you want to run this program from a network share, you have to modify your .NET permissions like this:
– Find {Windows-Directory}Microsoft.NET{.NET-Version}caspol.exe
– Execute “caspol -machine -addgroup All_Code -url serverpath* FullTrust -n FullTrustFromNetworkShare 
– This will give all .NET applications from the above network share full access
Read more here


Configuring WinRM using GPO

If running winrm quickconfig on every XenApp server is not efficient for your site, you can configure WinRM using Microsoft Group Policy. Settings configured by Group Policy overrides the configuration changes made by the installer or configuration changes made locally on the desktop.

Complete the following procedure to configure WinRM using Group Policy:

  1. Set the WinRM service to auto start:
  2. In the Group Policy Editor, navigate to Computer Configuration Policies Windows Settings Security Settings System Services.
  3. Double click Windows Remote Management (WS-Management) and set it to Automatic.
  1. Create the WinRM listener:

c. In the Group Policy Editor, navigate to Computer Configuration Policies Administrative Templates Windows Components Windows Remote Management (WinRM) WinRM Service.

d. Double click Allow automatic configuration of listeners and configure the IPv4 filter to *.

  1. Create a firewall exception for WinRM:

e. In the Group Policy Editor, navigate to Computer Configuration Policies Windows Settings Security Settings Windows Firewall with Advanced Security.

f. Create an Inbound Rule for WinRM for port 5985.

  1. After configuring the preceding three group policies, restart the server to update the group policies and start the WinRM service.

Disable Java AutoUpdate via GPO

You do probably have java installed at your terminal server.
Turning off Java auto update from control panel will not turn this feature off for all users, but this can be done with Group Policy and the Preferences GPO and Registry.

To do this, simply log on as Administrator, open regedit and browse to HKEY_Current_user -> Software – > JavaSoft -> Java Update

While having the registry window open, browse to control panel and open Java and turn of Check for updates automatically.
After doing that, go back to registry and hit refresh to fetch the newly created Reg_Binary key: “EnableAutoUpdateCheck”

Open Group Policy Management, browse to the Terminal server / Xenapp GPO and go down to Preferences – > Windows Settings. Right click and select NEW-> Registry Wizard

Browse to the REG_BINARY key you just found and use CREATE as action.
Publish this to all users that need Automatic Updates to be turned off.

Setup timesync on 2008/2008R2 servers

Setup timesync on the Pdc Emulator (Domain controller)

net stop w32time

w32tm /config /syncfromflags:manual /manualpeerlist:”,,”

w32tm /config /reliable:yes

net start w32time

The windows time service should begin synchronizing the time. You can check the external NTP servers in the time configuration by typing:

w32tm /query /configuration

configure Member servers to update from PDC emulator (Domain Controller)

net stop w32time w32tm /config /syncfromflags:DOMHIER net start w32time

Enabling Remote Citrix Access Management Console Connections (Windows 2003)

It is often useful to remotely manage your Citrix server farm from your desktop or a management workstation, the only issue is that in a Citrix Presentation Server 4.5 farm installed on Windows Server 2003, remote connections are disabled by default.

The Citrix Access Management console used COM+ to communicate to the server farm as as such Network COM+ connections need to be enabled.  To enable this follow these steps on each of the Citrix servers you will connect to:

1. Click Start then select Control Panel
2. Double click Add Remove Programs
3. Select Add Remove Windows Components
4. Highlight Application Server and click Details
5. Tick Enable Network COM+ Access and click OK then Next to install
6. Once installed click Finish
Now that Network COM+ is enabled on the Windows Server you will be able to successfully run discovery from your management workstation.

Reclaim C: Drive Diskspace, Service Pack Cleanup

After installing a service pack you will notice that the used disk space is increased. This because of uninstall files. You can free up disk space by making the service pack permanent, meaning you can’t uninstall it anymore… This also counts for Vista and 7 installations.

Windows Vista SP1: vsp1cln.exe /verbose

Windows Server 2008 SP2: COMPCLN.exe /verbose

Windows Server 2008 R2 SP1: dism /online /cleanup-image /spsuperseded