System Environment variable & User Environmental variable?
I know how to add.But i want to know why we add system & user Environmental variable.why some time we choose to add as user and some times as system Environmental variable.what will happen if add only user Environmental variable.
0 Comments
[ + ] Show comments
Answers (3)
Answer Summary:
Please log in to answer
Posted by:
JasonEgg
7 years ago
Top Answer
Comments:
-
Thanks i got the thing.System Environmental variable is for every one and user is for specific user.Then i wish to add user variable in my application packaging only for one user ie user 1 then in scripting part how should i write any idea. - @Imran9 7 years ago
-
Are you using KACE or SCCM? Do you have control over Group Policy? - JasonEgg 7 years ago
Posted by:
anonymous_9363
7 years ago
i wish to add user variable in my application packaging only for one user
Google John McFadyen's article on self-healing.
Comments:
-
You can use a Custom Action to do that, that will execute in user context at install/reinstall. The custom action will be a vbs that checks the username and if condition is true, sets the variable. Also put in a user specific info in the package so when you launch the shortcut( advertised shortcut) it will go into self-healing and execute the CA. If you don't have shortcuts - use ActiveSetup. - dragosCI 7 years ago
Posted by:
anonymous_9363
7 years ago