Wednesday, January 11, 2012

Runas Touch Screen Application

One of the problems I had at work was the ability to run an application as a different user on a touch screen computer. So I wrote an application that dynamically creates buttons based on what it reads from a text file called paths.txt. This program does support arguments and should be able to figure out how to break up the path to find them.

To install just extract the application and paths.txt to a folder and runas away.

.net 4 framework
osk.exe in the usual place if you want to use the onscreen keyboard

Add some more error checking with reading the text file
Clean code
Maybe allow this to work with domain user if someone wants.


Add\Remove Programs,rundll32.exe shell32.dll,Control_RunDLL Appwiz.cpl
Command Prompt,C:\Windows\System32\cmd.exe
Datetime,rundll32.exe shell32.dll,Control_RunDLL TimeDate.cpl
Display Properties,rundll32.exe shell32.dll,Control_RunDLL Desk.cpl
System Properties,rundll32.exe shell32.dll,Control_RunDLL Sysdm.cpl
Control Panel,rundll32.exe shell32.dll,Control_RunDLL

Download Link:

Source code:
Leave a message and I will work on uploading the source

No comments:

Post a Comment