User Account Control file access issue
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
User Account Control file access issue
I have a vb script that copies files from other users on a PC. It is run as an administrator. The problem that I have is if UAC is turned on, I need the account of the admin that is moving the files to have previously accessed that users profile, otherwise the process will fail. For example clicking on profile folder and selecting continue to the UAC message to gain access. Once the admin account has clicked continue to be granted access to the users profile, then the file moves will work successfully. Does anyone have a good way to automate or work around this issue without logging in and accessing the users profile folder as the admin account? Thanks for any help that you may have.
Re: User Account Control file access issue
It is not possible to do what the SYSTEM does when it adds the admins to the profile. You can only take direct ownership and add the admins to the folders. This is much more than what the system does.
I recommend using a more standard method of copying your files.
I recommend using a more standard method of copying your files.