Domain User Environment Variables
There are other environment variables in the system variables section that you can examine by clicking edit.
Domain user environment variables. Hkey local machine system currentcontrolset control session manager environment. The user does not appear to have an environment on the target platform because hku sid does not exist in the registry for the. Use the userdomainname property to obtain the user s domain name without the user name and the username property to obtain the user name without the domain name. I don t have access to log on as the user but i have admin access.
When setting environment variables through the registry they will not recognized immediately. Enter name of environment variable. The location of the user variables in the registry is. For any settings that you add the system displays an asterisk next to it.
The domain account credentials for a user are formatted as the user s domain name the character and user name. Use this option to add new environment variables for the domain. Hkey current user environment the location of the system variables in the registry is. I need to be able to script storing a password in an environment variable that is specific to the user.
For example if a user s domain name and user name are corporatenetwork john the userdomainname property.