Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Some years ago I wrote a set of bespoke programs for a client, the target platform being XP. One of the programs providing a backup and restore facility for user files with an auto-power down on completion option. The specification required that the user was free to select a list of folders and files.

The client has now come back to me for an upgrade. They are replacing their old hardware and installing new Windows 7 based platforms. Result being UAC comes into play. Most of the upgrade work has been completed OK except for this one program.

To perform the auto-power down it is necessary to get the appropriate Privilege. No problem, that works. I noticed in the MSDN references that there are also Backup and Restore Privileges.

As the program is providing Backup and Restore operations do I need to request these Privileges? At present I am, it works, but it requires the program to run as Administrator.

I suspect that the general terms of 'Backup' and 'Restore' are not the same as defined in the UAC Privileges context. Unfortunately, MSDN does not appear to offer a clear definition of what these Privileges actually mean or when they are required.

Question: Do I need them (considering the user could specify a folder/file in the System folder space)?
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900