This is the preview Version of RunAsSys for Windows XP and Vista made with the help of JWSCL.
RunAsSys runs applications as SYSTEM user in the current user’s session. If you start it without any parameters it creates a command prompt with SYSTEM privileges by default. Otherwise you can add an application with parameters to start this process as SYSTEM user. Use quotation marks if necessary for your path.
On Windows Vista and UAC it should prompt you for elevation. On XP without Admin privileges it should prompt you for Admin credentials.
Warning: On Windows XP (and older) the application shows the credential prompt dialog which allows you to run as the same user. If you just click OK button, the application will maybe response one more time but finally stop working. This is due to a bug in ShellExecuteEx with “runas” verb.
Version 1.1
I publish Version 1.1 which fixes several errors and also makes it available to Windows 64bit systems.
The zip archive contains a 64bit version registry key file that is compatible with WOW64.
RunAsSys contains EurekaLog, which logs internal things. If you get an error, you can send the error report directly to us. However it is not the default behaviour. We use your error report only for improving our software. It will be used internally only and will be finally deleted. No screenshot is taken.
Version 1.0
Additional Info:
The reg file creates a reg key that is used to enable logging and set the log output folder (default where exe resides)
It is located in HKEY_LOCAL_MACHINE\SOFTWARE\JEDI\WSCL\RunAsSys\1.0
20 Responses
Oliver
25|Apr|2008 1… и уже популярно в России
// Oliver
Debugging services: an easy way by JEDI Windows API
07|May|2008 2[...] Instead run Delphi as a SYSTEM application and do some minor adaptions to the service code. How? Download and use RunAsSys and do the following code [...]
The case of ShellExecute, ShellExecuteEx, CreateProcess and osk.exe by JEDI Windows API
17|May|2008 3[...] level (since it is SYSTEM), all privileges and token groups. I ran my test application with RunAsSys. We know that CreateProcess returns an error 740 if the new process needs to be elevated. [...]
So you want to write a service… by JEDI Windows API
22|Jun|2008 4[...] a service like any other application by default. Luckily there is remedy. The JEDI API offers a RunAsSys application that lets you start your Delphi in the SYSTEM context. In this way you just have to do [...]
I am told that size doesn’t matter (anymore)! at Assarbad’s blog
26|Jun|2008 5[...] today, that the size of applications doesn’t matter. But I’ll let you decide. However, the program which he wrote is worthwhile regardless of its size. Even more so the library on which it is [...]
Why CreateProcessWithTokenW may fail by JEDI Windows API
23|Sep|2008 6[...] just coded this first version in Delphi elevated by RunAsSys. Thus the code was executed in the SYSTEM account (remember [...]
Terminal Server Internals | RemkoWeijnen.nl
24|Nov|2008 7[...] only system is allowed to access SmSsWinStationApiPort port, we need to run as system use RunAsSys program. Unfortunately, in windows vista/2008 the functions have been changed, so this program does [...]
joshua
04|Jan|2009 8Thks for this great work! i’m using RunAsSys to execute “net start/stop” using – runassys cmd.exe /c net start myprogram.
Is there a better way to do this other than using cmd.exe?
By the way, is the code available for modification?
Christian Wimmer
04|Jan|2009 9RunAsSys is not intended for normal usage since Windows does behave differently when the SYSTEM account is used. “net stop/start” can be easily be used with “runAs” command or RunElevated – also here available. It runs the application as Administrator.
And yes all applications are available with source from the TRUNK Subversion repository.
joshua
05|Jan|2009 10Thanks, i tried runel.exe, but there’s a problem, it returns an error on Windows XP:
The operating system is not supported. Only Windows Vista, Server 2008 and newer are supported
It’s an issue if the net start/stop .bat needs to be deployed on both xp and vista.
Runassys does not return this error and works for both xp and vista. Any thoughts?
Christian Wimmer
05|Jan|2009 11I did forget it. Runel only works on Vista/2008.
joshua
05|Jan|2009 12One more question, can Runassys work on 2003 and 2008?
I checked 2000, it can execute but generates an exception and Eureka log – http://dudeme.com/RunAsSys.elf
Thanks again.
Christian Wimmer
05|Jan|2009 13This bug was fixed in the SVN trunk already. However due to some time issues it is not published yet. You can use this temporary download link.
joshua
08|Jan|2009 14Thanks, sometimes i get this error:
Service “RunAsSysSvc3″ failed to uninstall with error: “System Error: Code: 1060. The specified service does not exist as an installed service”.
Christian Wimmer
09|Jan|2009 15I’ve reported a bug here
http://homepages.borland.com/jedi/issuetracker/view.php?id=4654
Preventing Domain Group Policies from Applying | RemkoWeijnen.nl
25|Feb|2009 16[...] I used the RunAsSys tool to run services.msc as system and stopped the service. Apart from a little balloon popup [...]
John
22|Nov|2009 17Hi! Is it possible to get source code of RunAsSys ?
Christian Wimmer
30|Nov|2009 18It is located in Examples folder of JWSCL sources.
Allow users to remotely view services
15|Dec|2009 19[...] command as SYSTEM. The RunAsSys tool from my collegue can help you with that. You can download is here convert this post to [...]
“System” Olarak Konsol Açmak: RunAsSys | Bulutlararası
07|Jan|2010 20[...] dolambaçlı da olsa bu işi birileri API üzerinden yapmış ve ihtiyaç sahiplerine sunmuş. RunAsSys, “system” olarak konsol açan minik ve işe yarar bir açık kaynak uygulama. Kodlara [...]
Leave a reply
Search
Paypal donation (EUR)
Categories
Archives
Tags
Recent Posts
Recent Comments
Blogroll
JEDI Sites
Pages
A design creation of Design Disease
Copyright © 2007 - JEDI Windows API - is proudly powered by WordPress
InSense 1.0 Theme by Design Disease brought to you by HostGator Web Hosting.