Re: Perform Admin Task without Admin Rights
On Sunday, June 27, 2004 8:53:56 PM UTC+8, Mark wrote:
Hi,
From my limited experience with scripting, I have found that, for example,
to schedule a task (using AT) requires admin rights. However most of the
users do not have admin rights. I was therefore wondering if it is possible
to run a script in an admin context, even though the user logging in is not
in an admin group?
Mark
Hi
use this command, save the command in .bat extension
runas.exe /savecred /user:username "mmc dfrg.msc"
.
Relevant Pages
- Re: Admin rights
... The developers here at work do not want to listen and think that giving the user admin rights is the best solution. ... I can think a more that a couple of reasons not to give all the users local admin rights but that is a different post. ... My question is other then scripting RunAs with VBscript to run the app is there any way to give the users admin like rights for just that app. ... Right click on the folder, Properties and select Security tab, select Users and then check mark Allow next to Full Control and click Apply. ... (microsoft.public.windowsxp.general) - Re: Permissions using WSH
... > It works fine for anyone logging on who has admin rights. ... Or does it have to be done via WMI ... as part of the boot up process (before the user logs in). ... -- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: ... (microsoft.public.scripting.wsh) - Re: Power User rights vs. User rights
... they run find with admin rights but not lower privs. ... >> power users group but will not correctly if the use is part of the users ... > what registry keys/file system folders the application need write ... > torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway ... (microsoft.public.windowsxp.security_admin) - Re: Runas, include password?
... > If I want to run a patch or program to a computer where the local user has ... system context and has admin rights. ... If you need to access files over the network from the computer ... torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway ... (microsoft.public.windows.server.scripting) - Re: COM Object Shutdown Rights
... enabled on the System Application of the target computer make sure you are ... >> to my HelpDesk people without giving them Admin rights on server. ... > torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway ... (microsoft.public.security) |
|