Technical question

G

Gilles RONSIN

hi,

A long time ago, I saw a Kelly's vbscript for repair taskbar, who
stop explorer then restart explorer later.

Do you think is possible to make a script, who, in a restricted
account, stop current explorer, run an explorer as an admin (to have
administrative rights), run windows update, then close admin explorer
then reload restrited user explorer.

The purpose is to launch a windows update without leave a restricted
account. I thing it's be usefull for some configuration.

Regards
 
D

DJ Borell

You could probably do this...

Or, you could simply use the "Run As..." command with Windows Update to run
it with an Administrator account. Do this by right-clicking "Windows
Update" on the Start menu, selecting "Run As...", and then entering an
account with Admin rights.

I'm no expert in scripting, but it seems to me that if you create a script
which elevates to Admin rights, then you would have the admin password
stored in clear text in the script...which defeats the purpose of having a
restricted account in the first place.
 
G

Gilles RONSIN

"DJ Borell" <[email protected]>, le mar. 08 févr. 2005 21:36:17,
écrivait ceci:

hi DJ Borell
You could probably do this...


Or, you could simply use the "Run As..." command with Windows
Update to run it with an Administrator account. Do this by
right-clicking "Windows Update" on the Start menu, selecting "Run
As...", and then entering an account with Admin rights.

It's dont run in a restricted account... in fact, it could be run but
updates don't :(
I'm no expert in scripting, but it seems to me that if you create
a script which elevates to Admin rights, then you would have the
admin password stored in clear text in the script...which defeats
the purpose of having a restricted account in the first place.

You can (with XP Pro) remember password in runas command with /savecred
option. It's would be enough.

thx for answer
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top