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

Vista - How to modify "Program Files" from the command prompt with UAC on?

Reply
 
Old 01-10-2007   #1 (permalink)
Steve Maser


 
 

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 SpecsSystem Spec
Old 01-10-2007   #2 (permalink)
Steve Cochran


 
 

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 SpecsSystem Spec
Old 01-10-2007   #3 (permalink)
Steve Maser


 
 

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 SpecsSystem Spec
Old 01-10-2007   #4 (permalink)
Steve Cochran


 
 

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

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


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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46