site Search:


 
    All Forums Hot Topics Gallery






how-to block ads


 
Search Topic:
Share Topic
Posting?
Post a:
Post a:
Links: ·MS Apps FAQ ·Windows XP FAQ ·Windows 7 FAQ ·Windows Home ·Office Home
AuthorAll Replies


Joey B
Wee
Premium
join:2001-02-16
Los Angeles, CA

1 edit

reply to bfoster2000

Re: [Other] Using XP Pro as a application specific machine.

Sounds like you'd be good with replacing the windows shell with whatever program you'd like running and locking the pc down with group policy editor.

Start by replacing the shell for your local user

open regedit (start -> run -> type "regedit)

Expand down to HKCU\Software\Microsoft\Windows NT\CurrentVersion\Winlogon

Create a new string value (Edit -> New -> String Value) and name it "shell". Double click this new string and paste the path to your application in here (ex. C:\Program Files\My App

--

Disabling Ctrl Alt Del options
Run Group Policy Editor (Start -> Run -> gpedit.msc)
User Configuration -> Administrative Templates -> System -> Ctrl+Alt+Del Options -> Set all to disabled

--

Finally, you'll probably want to set this PC to auto login to this user account. How you do this will depend on whether the PC is part of a domain or part of a workgroup.

As an additional thought and totally optional... you may want to set your shell to a batch file that gives you a few options. I've done this before and it gives me some extra control. Such as restarting the program if the user inadvertently exits it. See my example batch below. If you choose to go this route, you'd simply replace the program path with the path of the batch file saved somewhere on the machine.

Bach file code
@echo off
Title Program Launcher
:MENU
Color 17
CLS
Echo.
Echo.
Echo      -_-._-._-._-._-._-._-._-._-._-
Echo      V  Program Launcher    V
Echo      -_-._-._-._-._-._-._-._-._-._-
Echo.
Echo Choose what you would like to do...
Echo.
Echo.
Echo 1. Launch Program 
Echo 2. Administrative Options
Echo.
 
SET /P M=Choose what you would like to do then press ENTER: 
IF %M%==1 GOTO LNCH
IF %M%==2 GOTO APROMPT
GOTO MENU
 
:APROMPT
CLS
COLOR 47
SET /P X=Enter administrative password then press ENTER: 
:: Change Password01 to whatever you like
IF %X%==Password01 GOTO MENU2
 
GOTO MENU
 
:MENU2
CLS
Echo. 
Echo Admin Options
Echo.
Echo 1. Load Windows Shell
Echo 2. Shutdown PC
Echo 3. Restart PC
Echo 4. Return to user operation mode
 
SET /P Z=Choose what you would like to do then press ENTER: 
IF %Z%==1 GOTO BACKDOOR
IF %Z%==2 GOTO SHUTDOWN
IF %Z%==3 GOTO RESTART
IF %Z%==4 GOTO MENU
 
GOTO MENU2
 
:LNCH
c:\WINDOWS\system32\calc.exe
GOTO MENU
 
:BACKDOOR
Explorer.exe
GOTO EXIT
 
:SHUTDOWN
TASKKILL /F /IM calc.exe
cls
Shutdown -f -s -t 00
GOTO EXIT
 
:SHUTDOWN
TASKKILL /F /IM calc.exe
cls
Shutdown -f -r -t 00
 
 

Monday, 13-Feb 08:06:51 Terms of Use & Privacy | feedback | contact | Hosting by nac.net - DSL,Hosting & Co-lo
over 12.5 years online! © 1999-2012 dslreports.com.
Most commented news this week
Hot Topics