MasterRacker
New member
I want to develop a script that certain users can run to enable/disable an AD account assigned to a vendor for VPN purposes. I can script the account portion just fine. Where I have an issue is that the users who will be running this do not have account management privileges.
How can I set this script to operate with elevated rights? Runas won't work unless there is some way for me to feed the password hidden from the end users.
(I'd like to keep this in VBS if I can for the purposes of future maintenance by a non-programmer IT type who might take it over after I win the lottery and retire. ;-) )
Jeff
[small][purple]It's never too early to begin preparing for [/purple]International Talk Like a Pirate Day
"The software I buy sucks, The software I write sucks. It's time to give up and have a beer..." - Me[/small]
How can I set this script to operate with elevated rights? Runas won't work unless there is some way for me to feed the password hidden from the end users.
(I'd like to keep this in VBS if I can for the purposes of future maintenance by a non-programmer IT type who might take it over after I win the lottery and retire. ;-) )
Jeff
[small][purple]It's never too early to begin preparing for [/purple]International Talk Like a Pirate Day
"The software I buy sucks, The software I write sucks. It's time to give up and have a beer..." - Me[/small]