Search the web
Sign In
New User? Sign Up
xxcopy
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
How to avoid UAC prompts in Vista with XXCOPY?   Message List  
Reply | Forward Message #15602 of 15829 |
I'm running XXCOPY Pro 64-bit v 2.97.9 on Vista Home Premium. I use an
Administrator account.

My batch files typically call XXCOPY several times, and on each call I
get a UAC prompt which I must get rid of with a click. This is annoying.

Technical Bulletin 42 offers this:

We suggest that you create a user console (CMD.EXE --- so-called
DOS Box) that is invoked with the elevated UAC privilege.
Once inside the privileged console, all XXCOPY executions will
be carried out with the elevated privilege without a prompt.

Technical Bulletin 43 suggests that this be accomplished with the
supplied utility XXCONSOLE.EXE:

As a bonus feature of the new Vista-compatible XXCOPY, when the
application is installed, a shortcut icon will be created on the
Desktop which will open up a console window (CMD.EXE) with the
Administrator privilege. Under a UAC-enabled Vista environment,
the command console with the elevated privilege is probably the
best way to run XXCOPY and batch files alike.

Unfortunately, these suggestions give me no clear idea of how to make
this work.

Let's say my typical batch file (simplified) looks like this:

XXCOPY *.txt J:\texts /yy
XXCOPY *.doc J:\docs /yy

How can I rewrite this batch file to use XXCONSOLE to allow me to run
the commands without repeatedly getting the UAC prompt?

Can someone walk me through this step by step?

Or can anyone suggest some other way of getting around the UAC prompts
without having to turn
UAC off for the whole system?


Thanks.

David






[Non-text portions of this message have been removed]




Sat Jul 4, 2009 2:40 am

davmay
Offline Offline
Send Email Send Email

Forward
Message #15602 of 15829 |
Expand Messages Author Sort by Date

I'm running XXCOPY Pro 64-bit v 2.97.9 on Vista Home Premium. I use an Administrator account. My batch files typically call XXCOPY several times, and on each...
davmay
Offline Send Email
Jul 4, 2009
2:42 am

I had exactly the same problem with Vista Home Premium (32) run in an administrator account. I have just started using TweakUAC (www.tweakuac.com) in quiet...
Ray McCormick
ray_mccormick
Offline Send Email
Jul 4, 2009
12:40 pm

davmay wrote: <snip> ... <snip> ... Well, you are reading the wrong article. To deal with UAC, you need to read XXTB#42. http://www.xxcopy.com/xxcopy42.htm The...
Kan Yabumoto
tech_xxcopy
Offline Send Email
Jul 5, 2009
8:35 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help