Toggle navigation
Koozali.org: home of the SME Server
Community
Forums
Bugs
Lists
Forum Help
Download
SME Server ISOs
Contribs
Documentation
Manual
Wiki
FAQ
HowTo
Donate
Search
Login
Register
Login
Register
×
Close
Login
Remember me
Koozali.org: home of the SME Server
Obsolete Releases
SME Server 7.x
Topic:
Executing with admin rights for non-admin users
« previous
next »
+
Print
Pages: [
1
]
Go Down
Executing with admin rights for non-admin users
4 Replies
828 Views
kevinb
237
+0/-0
Executing with admin rights for non-admin users
«
on:
June 12, 2007, 08:40:47 PM »
I know I can use netlogon.bat to run commands when a user logs on but is there any way I can execute commands with admin rights when a non-admin user logs in?
Thanks
Kevin
Logged
mmccarn
2,656
+10/-0
Executing with admin rights for non-admin users
«
Reply #1 on:
June 13, 2007, 02:20:47 PM »
Are you asking how to run commands as admin on your SME server, or how to run commands as a local administrator from 'netlogon.bat' as non-admin users login to your network?
Logged
kevinb
237
+0/-0
Executing with admin rights for non-admin users
«
Reply #2 on:
June 13, 2007, 03:16:00 PM »
How to run commands as a local administrator from 'netlogon.bat' or some other method, as non-admin users login to your network.
Logged
mmccarn
2,656
+10/-0
Executing with admin rights for non-admin users
«
Reply #3 on:
June 13, 2007, 03:44:48 PM »
Win XP comes with 'runas' to let you do this.
You would have to run the batch file once on each workstation using the "/savecred" option (assuming xp pro workstations; /savecred is not supported on xp home).
There are some inherent problems - you may not be able to access the server from the programs you run using "/runas" (you definitely can't on a windows server - 'credentials supplied conflict with an existing set of credentials' - but it may work on SME...)
Here's another link I've found to an add-on to allow 'runas' with an encrypted password database:
http://www.robotronic.de/runasspcEn.html
Logged
matsk
Executing with admin rights for non-admin users
«
Reply #4 on:
June 13, 2007, 03:48:04 PM »
the Windows 200x/XP command is "runas" but I'm unshure how you can pipe the password into that command othervise you should look into policies on Windows 200x/XP. But questions about that you have to go to a windows forum
Logged
+
Print
Pages: [
1
]
Go Up
« previous
next »
Koozali.org: home of the SME Server
Obsolete Releases
SME Server 7.x
Topic:
Executing with admin rights for non-admin users