-
Notifications
You must be signed in to change notification settings - Fork 904
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(GH-902) Fix: User changed to SYSTEM during env update
Previously, running RefreshEnv / Update-SessionEnvironment would change current user to SYSTEM. This is due to Machine environment variables noting user as SYSTEM. To stop this, set the original username as a variable and reset the Username environment variable after the refresh. Do the same for Processor_Architecture.
- Loading branch information
1 parent
e7ce79f
commit cb6b92c
Showing
2 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters