This may be beyond the scope for me to expect an answer but I figure it could not hurt to ask.
I often need to do a gpupdate on multiple users pcs based on a sms report I get regularly.
This company has strict policies on any third party software and often it can take months to get it approved to use so a third party solution are out.
So when I get this list I will call the user and do a run as on the command line with either my credentials or the credentials of a local admin account we have on all the pcs as none of the users have local admin rights.
I am pretty good at bat files and can do some great things with them but I see I really need to learn VB as it would make some of these things easier. For one a bat file cannot save username and password. I could do a run as in a bat but not save my password in it.
I can change a VBS or BAT to an exe so the user cant read it. So I dont mind if my username and password is in it.
OK so my question is, does anyone have a script or know one that I could use that would allow me to drop in my username and password and would run the gpupdate /force command under that account.
This way I could just sent the user a link and ask them to click it. It would run gpupdate /force as the local admin or even with my domain admin credentials.
Thanks so much.