![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Why, all of a sudden, am I not able to save a temporary file to the Windows\System32 folder, unless using the "run as administrator" option? Is this due to some recent Windows update?
Requiring administrator rights to save files to that folder seems a good idea. But a batch file which I regularly use has apparently been writing temporary files to the System32 folder, and then deleting them without a problem, until today.
The batch file, which applies various changes to a selected file, is listed in my "Open With" context menu. The System32 folder seems to be the default folder used for the batch file's commands - I didn't realize that when I wrote the batch file. Is it possible the default folder used to be different, and that is why it used to work? What could have caused it to change?
Or did the system perhaps previously view me as an administrator automatically, and it no longer does?
It is odd when things like this happen with no explanation.
Changing the batch file to specifically use a different folder for the temporary files fixed the problem.
Requiring administrator rights to save files to that folder seems a good idea. But a batch file which I regularly use has apparently been writing temporary files to the System32 folder, and then deleting them without a problem, until today.
The batch file, which applies various changes to a selected file, is listed in my "Open With" context menu. The System32 folder seems to be the default folder used for the batch file's commands - I didn't realize that when I wrote the batch file. Is it possible the default folder used to be different, and that is why it used to work? What could have caused it to change?
Or did the system perhaps previously view me as an administrator automatically, and it no longer does?
It is odd when things like this happen with no explanation.
Changing the batch file to specifically use a different folder for the temporary files fixed the problem.