![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| | |||||||
| | Vista - Backup script and UAC conflict |
| |
| 03-26-2009 | #1 |
| | Backup script and UAC conflict I'm trying to use a backup batch file in Vista that I used for years with XP. I don't really want to get into Vista's built-in backup, I'm just looking for a solution for my batch file. First off I'm using Vista Home Premium which came on the PC and can't afford right now to upgrade. I'm using it in a 2003 domain at home which I built years ago. Obviously VHP can't join the domain which is where the problem starts. I tried running the batch file but it wouldn't get far. I started troubleshooting it and found the problem. The batch file utilizes some dummy text files which are stored in C:\Windows. Anyone who has used Vista for awhile knows that Vista's UAC doesn't like users, even those with "admin" rights, messing with files in there. So I was getting access denied. I run TweakUAC to run UAC in Quiet Mode as I really don't want, or have a need, to turn UAC off. But I found out that this is exactly what I have to do. If I turn off UAC, then the backup batch file runs just fine. Are there any commands I can add into my batch file to bypass UAC? Or is there any other way to run the batch file and have it manipulate the dummy text files in C:\Windows with UAC turned on? BTW, I tried running the backup batch file from an elevated command prompt and that didn't work either since then it couldn't authenticate to the server where the batch file backs up the data to. |
| My System Specs |
![]() |
| Thread Tools | |
| |
| Similar Threads for: Backup script and UAC conflict | ||||
| Thread | Forum | |||
| Need help with Backup Script | VB Script | |||
| Powershell script to keep a weeks worth of backup files | PowerShell | |||
| Newbie question - Is there a script/command to do a backup of a di | PowerShell | |||
| backup script | PowerShell | |||
| backup script | PowerShell | |||