Sign in to follow this  
Followers 0
sgufa

how to write a simple shell for windows

10 posts in this topic

#1 ·  Posted (edited)

Hi. I need to write a shell for a kiosk wich must contain only 2 or 3 applications. I need to make a simple gui with a button for each application. I've tried to make a simple autoit app with a simple gui but when one application is running the "shell" crashes frequently and windows restart it (killing the running application). Is there any way (like protected mode, running in protected memory) to run the shell as resident? Please help me

PS. I've tried with progman.exe from win2k. It does the work but it's not possible to disable the filemenu in order to prevent any user to browse and run any external program. I'd want to let the user use ONLY that 2/3 applications.

Edited by sgufa

Share this post


Link to post
Share on other sites



Hi. I need to write a shell for a kiosk wich must contain only 2 or 3 applications. I need to make a simple gui with a button for each application. I've tried to make a simple autoit app with a simple gui but when one application is running the "shell" crashes frequently and windows restart it (killing the running application). Is there any way (like protected mode, running in protected memory) to run the shell as resident? Please help me

Perhaps if you post what you have tried someone will spot a problem.

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Share this post


Link to post
Share on other sites

Use a linux kiosk solution.

Or dig into the administrative tasks of windows. A AutoIt solution will probably not be secure when you don't know the rest...

Share this post


Link to post
Share on other sites

Perhaps if you post what you have tried someone will spot a problem.

i must run internet explorer and other 2 client apps . tried all the apps with progman as shell and all works fine. but some users used the "run" trick from the filemenu to explore and run other executables...

Use a linux kiosk solution.

i need windows because the apps are win32 executables

Or dig into the administrative tasks of windows. A AutoIt solution will probably not be secure when you don't know the rest...

My need is only to prevent users to run other apps out from those assigned.

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

i must run internet explorer

You realize, of course, that by allowing the use of a web browser, they have access to the filesystem, and therefore can get around their lack of a Windows Taskbar. Be sure to lock down permissions on files they should not have access to also.

By using a Linux solution with Wine (or another Windows emulator), you could effectively give them a browser and run your other apps, while not having any other Windows apps on the system.

Edited by c0deWorm

My UDFs: ExitCodes

Share this post


Link to post
Share on other sites

My need is only to prevent users to run other apps out from those assigned.

Thats what the digging is for..:)

Why you can't use a use a linux solution beats me.

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

You realize, of course, that by allowing the use of a web browser, they have access to the filesystem, and therefore can get around their lack of a Windows Taskbar. Be sure to lock down permissions on files they should not have access to also.

By using a Linux solution with Wine (or another Windows emulator), you could effectively give them a browser and run your other apps, while not having any other Windows apps on the system.

i know, but i use internet explorer in kiosk mode and local gpo's for the security. There's no need to use linux. i just want to make a little shell

Edited by sgufa

Share this post


Link to post
Share on other sites

suggestions?

Share this post


Link to post
Share on other sites

Thats what the digging is for..:)

Why you can't use a use a linux solution beats me.

Because Linux is not an acceptable solution for the majority of businesses?? On the whole, commercial enterprises want to stay with Windows and there is no way to convince them to do otherwise.

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Share this post


Link to post
Share on other sites

#10 ·  Posted (edited)

Solved. I used "Shellexecute" instead of "Run", and now it does the work.

Autoit Rocks! :)

Edited by sgufa

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0