|
-
Nov 12th, 2005, 05:11 PM
#1
Thread Starter
New Member
Running EXE as System
Hello,
I am designing some security software for Windows 2000/XP and 2003 operating systems and my problem is trying to run the EXE as SYSTEM or any account with Administrator rights. The program should be lauched as soon as a user logs onto the system. An example user may look like this
Username: Jimbo (Limited User)
Username: Adam(System Administrator)
Policies
Jimbo -> No Start Menu
Jimbo -> No CMD prompt
Adam -> No Save Settings
so when jimbo logs on to the system I want the policies to be imedatley written to the registry and then continue with windows daily jobs . But theres another problem what is Jimbo wants to cancel the task with Task Manager then my EXE will be killed, unless its ran as System. So how do I start the exe as an administrator and run before any other process. I lookforward to your replys.
Kind Regards,
Robert A Heeley
-
Nov 12th, 2005, 05:53 PM
#2
Re: Running EXE as System
Well, this should be done by something like Active directory, as I believe any changes of this sort to the registry, even if done by your app, would require a log off and log on to put into effect. However, if the task manager killing your app is your only concern, you can just disable it in the registry too. Add this key:
HKCU/Software/Microsoft/Windows/CurrentVersion/Policies/System/DisableTaskMgr
and set the value to 1.
Bill
-
Nov 12th, 2005, 05:56 PM
#3
Thread Starter
New Member
Re: Running EXE as System
Hello,
There is some software called "***********" which manages to do this you wont need to log off/log on again just restart Explorer.exe and that should do the trick. I dont want to disable task manager just the ending of my critical process.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|