Allan_Fernandes
asked on
Does Volume Shadow Copy need Admin Rights (Win7 onwards) ?
Is it true that Volume Shadow Copy needs Admin Rights (Win7 onwards).
Several of my customers have given Standard Rights to their users and I have a backup package to which I have just added VSS feature (VSCSC.exe).
Is there a way to perform shadow copy without daily UAC Prompts.
I have created Exe with 'Manifest' but then it prompts always at startup.
Ideally the Passwords should only be asked during Application Setup.
Regards
Allan
Several of my customers have given Standard Rights to their users and I have a backup package to which I have just added VSS feature (VSCSC.exe).
Is there a way to perform shadow copy without daily UAC Prompts.
I have created Exe with 'Manifest' but then it prompts always at startup.
Ideally the Passwords should only be asked during Application Setup.
Regards
Allan
ASKER
I have started the Service yet I get below message for Standard User.
(Option: Create shadow copy set)
ERROR: COM call "CreateVssBackupComponents (&m_pVssOb ject)" failed.
- Returned HRESULT = 0x80070005
- Error text: Access is denied.
(Option: Create shadow copy set)
ERROR: COM call "CreateVssBackupComponents
- Returned HRESULT = 0x80070005
- Error text: Access is denied.
This error occurs when you try to start the service? It may not need to be running, but just make sure it is not disabled. Again you should be able to make copies of the files inside the User's profile and most folders that are owned or created by that same user. Other files/folders will be off limits. If that fails, perhaps move the User to the backup operators and see?
-rich
-rich
ASKER
>> make sure it is not disabled.
When I load Services.msc and right click on any line 'Stop/Start/Pause/Resume/R estart' all are disabled. Does this mean the standard user does not have access to any of the services ? This is in my personal PC Win 7. Is there a way I can enable the service ? Via Admin login all is fine.
When I load Services.msc and right click on any line 'Stop/Start/Pause/Resume/R
Try this command in a CMD window
sc query vss
It should look something like this:
-rich
sc query vss
It should look something like this:
SERVICE_NAME: vssSTOPPED is OK, DISABLED is not OK. If it's disabled then no one should be able to take any snapshot's using the shadow copy service.
TYPE : 10 WIN32_OWN_PROCESS
STATE : 1 STOPPED
WIN32_EXIT_CODE : 1077 (0x435)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
-rich
ASKER
This is the output
SERVICE_NAME: vss
TYPE : 10 WIN32_OWN_PROCESS
STATE : 1 STOPPED
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
SERVICE_NAME: vss
TYPE : 10 WIN32_OWN_PROCESS
STATE : 1 STOPPED
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I use
VSCSC c:
or
VShadow c:
Vssadmin create shadow /For=c:
gives 'Error: Invalid command.
VSCSC c:
or
VShadow c:
Vssadmin create shadow /For=c:
gives 'Error: Invalid command.
http://technet.microsoft.com/en-us/library/cc875808.aspx
-rich