Hi Bill,
You can't script it but you could be lucky.
If the application is looking up the computername, then if the username is acceptable in lieu of a computername, it's as easy as setting an application compatibility flag for the application.
I'll give you an example of what to do.
Let's say your application executable is called testapp.exe
Create a key under HKLM\Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications called "TestApp".
Under that key create a Dword value called "Flags" and assign a value of 0x10 Hex
The next time the application starts up when it looks up computername, it will get the logged on username for that session.
regards,
Rick
--
Ulrich Mack
Quest Software
Provision Networks Division
--
Ulrich Mack
Quest Software
Provision Networks Division
On 8/13/08, Beckett, William (Bill) <WBECKETT@steelcase.com> wrote:
Running Windows 2003 server with PS 4.0. We have a program where we may have a need to change the computername variable within a session via a batch file. My question is does this change the computername for every session or just the session you are doing it from? In other words, would that effect everyone else on the Citrix box?
No comments:
Post a Comment