Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
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.


Go Back   Vista Forums > Vista Newsgroups > Vista General

RB

Vista - Backup script and UAC conflict

Reply
 
03-26-2009   #1
JonathanL


 
 

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 SpecsSystem Spec
Reply

RB


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


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd