AppCmd backup for IIS7 gives access denied error (hresult:80070005)
- by TruMan1
I have a script I have been using on another Windows 2008 to delete the IIS7 backup of configs and create a fresh one:
SET DEST=C:\Backup\Web\IIS7
SET BACKUPNAME=IIS7-CONFIGS
%windir%\system32\inetsrv\appcmd.exe delete backup "%BACKUPNAME%"
%windir%\system32\inetsrv\appcmd.exe add backup "%BACKUPNAME%"
robocopy %windir%\system32\inetsrv\backup…