Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vacc_reg.bak will be stored in System32 when Run as Administrator #5

Open
Explorer09 opened this issue Aug 23, 2017 · 0 comments
Open

Comments

@Explorer09
Copy link
Owner

When a batch script is "Run as Administrator", the default working directory gets changed to "%WinDir%\System32". While I intend to place the registry backup (Vacc_reg.bak) to wherever the user runs usb_vaccine.cmd, it might not be a good idea to put it in System32. If possible, experiment with other locations (such as %UserProfile% if available).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant