z666zz666z
New member
- Local time
- 4:15 PM
- Messages
- 3
Thanks for all info and tutorial.
I have one big problem:
In other words, i a batch file having something like:
I need that script to be run without user interaction (for example when Remote Controling the PC or by remote running from another PC)
I also need that script can be run by a normal user
I have the problem just on the net start sentence (the only one that needs to be run as admin, elevated permissions, etc).
If a UAC message brings up, remote control gets frozen and i must go where the PC is physical to be able to still remote control it, so the solution requiers no UAC message bring up.
If i turn off UAC, then the "normal" user can run whatever wants as admin (with some hack tools run from pendrive, i had tested by my own and it is simple incredible what you can do on Windows with a "normal" account when UAC is off... i can also delete the full Windows folder and cause a BSOD with just UAC off and a normal account... so UAC must be on, not off
Obviously i do not want to give de admin password to the user... again the same problem... i do not want the user to be able to run anything (except net start ServiceName and net stop ServiceName) that requieres admin.
Any help?
Thanks in advance.
I have one big problem:
- UAC must be ON since a normal user can use the PC but i do not want such normal user can run anything thet requieres admin (except net start ServiceName)
- ServiceName is just one service, not any service on the PC, justo only one specific service... same for net stop ServiceName
- I have a Batch Script i need to run without elevating permissions
- Inside it i need to run certain commands, like net start, thet need elevating permissions
- The script must be able to be run by a normal user, but without user interaction
In other words, i a batch file having something like:
Code:
@ECHO OFF
REM Bla bla bla, some sentences i do not want to be run with admin privileges
net start ServiceName
REM Bla bla bla, some sentences i do not want to be run with admin privileges
REM etc etc
I need that script to be run without user interaction (for example when Remote Controling the PC or by remote running from another PC)
I also need that script can be run by a normal user
I have the problem just on the net start sentence (the only one that needs to be run as admin, elevated permissions, etc).
If a UAC message brings up, remote control gets frozen and i must go where the PC is physical to be able to still remote control it, so the solution requiers no UAC message bring up.
If i turn off UAC, then the "normal" user can run whatever wants as admin (with some hack tools run from pendrive, i had tested by my own and it is simple incredible what you can do on Windows with a "normal" account when UAC is off... i can also delete the full Windows folder and cause a BSOD with just UAC off and a normal account... so UAC must be on, not off
Obviously i do not want to give de admin password to the user... again the same problem... i do not want the user to be able to run anything (except net start ServiceName and net stop ServiceName) that requieres admin.
Any help?
Thanks in advance.
Last edited:
My Computer
- OS
- Multiply Linux & Multiply Windows