Jump to content

Recommended Posts

Posted

I have a older app that I publish with Citrix. When the student logged into server 2003 a login script runs and sets a bunch of paths and other variables. 1 is no longer working

reg add "HKEY_CURRENT_USER\Environment /v sas.user /t REG_EXPAND_SZ /d %username% /f

 

It never gets loaded into the registry on the new server 2008R2 boxes. IF I login and then run the line from a command prompt it creates the reg entry.

I was told to create a .reg file and try that for Vista and up but I am having trouble with that as well. I keep getting the reg entry created but instead of the username I just get asian characters. Here i the reg file I created

 

Windows Registry Editor Version 5.00

 

[HKEY_CURRENT_USER\Environment]

"sas.user"=hex(2):25,75,73,65,72,6e,61,6d,65,25

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...