Microsoft Windows Vista Community Forums - Vistaheads
Recommended Download - Clean, repair and optimize your system



Welcome to the Microsoft Windows Vista Community Forums - Vistaheads, YOUR Largest Resource for Windows Vista related information.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so , join our community today!

If you have any problems with the registration process or your account login, please contact us.

Driver Scanner 2009 - Free Scan Now

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

microsoft.public.windows.vista.general




Recommended Fix - Fix Vista Errors and Optimize Performance

Click On Your Flag for Translation
Simplified Chinese French Spanish Italian Portugeuse Japanese German Dutch
Driver Scanner 2009 - Free Scan Now
Reply
  #1 (permalink)  
Old 02-28-2007
Steve Maser
 

Posts: n/a
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 02-28-2007
Steve Cochran
 

Posts: n/a
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


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-28-2007
Steve Maser
 

Posts: n/a
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-28-2007
Steve Cochran
 

Posts: n/a
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


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to declare a program as "trusted" =?Utf-8?B?cGV0ZXJtY3dlcm5lcg==?= microsoft.public.windows.vista.administration accounts passwords 7 03-09-2007 21:35
Re: Anyone have problems running "*.HLP" files under Windows Vista (Beta)? Michael Jennings microsoft.public.windows.vista.general 12 02-28-2007 22:19
How to restore the special "Music" and "Pictures" icons. ceed microsoft.public.windows.vista.general 2 02-28-2007 21:10
"Open Command Prompt Here"? Scott microsoft.public.windows.vista.general 20 02-28-2007 20:50
UAC and "trusted" programs =?Utf-8?B?cGV0ZXJtY3dlcm5lcg==?= microsoft.public.windows.vista.administration accounts passwords 1 02-28-2007 14:10




All times are GMT +1. The time now is 23:08.




Driver Scanner - Free Scan Now

Vistaheads.com is part of the Heads Network. See also XPHeads.com and Win7Heads.com.


Funny Commercials to make you laugh :-)

Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

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 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119