Carl Stalhood

Thursday, 13 October 2011

Publish applications via citrix.

c:\Windows\explorer.exe /n,/e,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}
for My computer

c:\Windows\explorer.exe /n P:\ for my documents,

My doc
C:\WINDOWS\explorer2.exe /e,::{450D8FBA-AD25-11D0-98A8-0800361B1103}

my computer
C:\WINDOWS\explorer2.exe /n ,::{20d04fe0-3aea-1069-a2d8-08002b30309d}

Publish an application with a command line of:

\IEXPLORE.EXE [–e |] (specify %windir% for the working directory).

Example:

“c:\Program Files\Internet Explorer\IEXPLORE.EXE" -e c:\

- Or -

“c:\Program Files\Internet Explorer\IEXPLORE.EXE" http://www.citrix.com

Friday, 30 September 2011

A program on your computer has corrupted your default search provider settings for Internet Explorer.



Users are using IE through Citrix Presentation server 3.0

All users are affected.
-error stating that the internet search option is corrupted and once user clicks on OK then the “Manage Add –Ons “ window Pops up.
While we have done quite some investigations, we have found that uninstalling IE8 rolls this back to IE6. Further upgrade to IE7 and then onto IE8 resolves this issue. This has been tested on a test server and so far we haven’t seen issues when we have tried to open IE multiple times. We shall monitor this for a few days more and then raise a change to uninstall and further upgrade IE6 to IE8. This also requires a reboot of the server.

For single user issue on local desktop:-
There is one easier thing to try. It worked for me anyway.... (XP 32 bit, SP3)
1. Login to a different account on the machine
2. Unhide hidden files and folders and show protected operating system files
3. Browse to the desktop folder of the affected user
4. Delete 'Desktop.ini'
When you log back in, Windows will recreate it.
Good Luck.

Sunday, 28 August 2011

What is TS server drain mode?

How to put a terminal server into drain mode?

There are two ways an administrator can put a terminal server into drain mode: 1) using the command-line tool chglogon.exe, or 2) using Terminal Services Configuration UI.
1. Command-line settings

The command-line tool chglogon.exe (or “change logon”) may be used to configure the drain mode. There are five options: /QUERY, /ENABLE, /DISABLE, /DRAIN, /DRAINUNTILRESTART, as shown in the following screen shot:



By default, all connections are allowed on a terminal server. To configure a server into drain mode, use the /DRAIN option.



To configure a server into drain mode temporarily, use the /DRAINUNTILRESTART option. After restart, user logons will automatically be re-enabled:



To take the server out of drain mode and restore connectivity, use the /ENABLE option:



The “chglogon /DISABLE” command has the same behavior as in Windows Server 2003 – no remote connections will be allowed, even if a user has an existing session.
2. Terminal Services Configuration UI

Terminal Services Configuration UI (Administrative Tools -> Terminal Services -> Terminal Services Configuration) is the other way to configure TS server drain settings:



The UI shows the current status of the drain mode. Double-clicking “Terminal Server Drain Mode” brings up another dialog box:



The three settings listed are defined as follows:
“Allow new user logons” – All remote connections are allowed
“Deny new user logons” – Terminal Server is in drain mode
“Deny new user logons until restart” – Terminal Server is in drain mode until the server is restarted

Update: The settings are changing slightly:
“Allow all connections” – All remote connections are allowed
“Allow reconnections, but prevent new logons” – Terminal Server is in drain mode
“Allow reconnections, but prevent new logons until the server is restarted” – Terminal Server is in drain mode until the server is restarted

Also, the above blog post is accurate for Longhorn Server Beta3. There is a minor change for RC1 in the TsConfig UI – now the drain mode is called "user logon mode"