![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | How to modify "Program Files" from the command prompt with UAC on? Can anybody let me know if there's a way to do this? Unigraphics 4.0. Comes with a 4.0.3.3 maintenance update CD. Said CD runs a batch file that essentially runs a series of extractable archive files to update files within the "UGS" Program Files directory. Problem is -- with UAC on -- you can't modify *anything* in Program Files without authentication. And said authentication doesn't prompt if you run a batch file/use the command prompt window as far as I can tell. I tried to run the batch file "as administrator", but the command prompt window only briefly popped up, then disappeared. Turning UAC off -- worked fine. Anybody have any suggestions (short of turning UAC off -- which I'm leaning more and more toward every day) for how somebody would instruct users to install a set of patches like this? Thanks! - Steve |
My System Specs![]() |
| | #2 (permalink) |
| | Re: How to modify "Program Files" from the command prompt with UAC on? Run a command prompt window as Administrator and then try running the batch file from within that window. steve "Steve Maser" <maser@umich.edu> wrote in message news:100120071447503633%maser@umich.edu... > Can anybody let me know if there's a way to do this? > > > Unigraphics 4.0. Comes with a 4.0.3.3 maintenance update CD. > > Said CD runs a batch file that essentially runs a series of extractable > archive files to update files within the "UGS" Program Files directory. > > Problem is -- with UAC on -- you can't modify *anything* in Program > Files without authentication. > > And said authentication doesn't prompt if you run a batch file/use the > command prompt window as far as I can tell. > > > > I tried to run the batch file "as administrator", but the command > prompt window only briefly popped up, then disappeared. > > > Turning UAC off -- worked fine. > > > Anybody have any suggestions (short of turning UAC off -- which I'm > leaning more and more toward every day) for how somebody would instruct > users to install a set of patches like this? > > > Thanks! > > - Steve |
My System Specs![]() |
| | #3 (permalink) |
| | Re: How to modify "Program Files" from the command prompt with UAC on? In article <EC661AF4-84F4-4594-97DB-697041102B27@microsoft.com>, Steve Cochran <scochran@oehelp.com> wrote: > Run a command prompt window as Administrator and then try running the batch > file from within that window. > > steve > Ah, right -- that worked. I kept hitting on the *batch file* and trying to run *that* as administrator. Duh. Thanks for the reminder... - Steve |
My System Specs![]() |
| | #4 (permalink) |
| | Re: How to modify "Program Files" from the command prompt with UAC on? Glad to hear it. Seems like there should be a switch you could use to just run the batch file that way. Probably is. steve "Steve Maser" <maser@umich.edu> wrote in message news:100120071602352817%maser@umich.edu... > In article <EC661AF4-84F4-4594-97DB-697041102B27@microsoft.com>, Steve > Cochran <scochran@oehelp.com> wrote: > >> Run a command prompt window as Administrator and then try running the >> batch >> file from within that window. >> >> steve >> > > > Ah, right -- that worked. > > I kept hitting on the *batch file* and trying to run *that* as > administrator. > > Duh. > > Thanks for the reminder... > > - Steve |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| How do you get to "Recycle Bin" from .Bat or command prompt? | Vista General | |||
| "Elevated Command Prompt"? | Vista General | |||
| Command prompt "COPY" command not working in brand new Windows Vis | Vista file management | |||
| "Open command prompt here" and "Copy as path" | Vista performance & maintenance | |||
| "Open Command Prompt Here"? | Vista General | |||