Direct boot into front-end, XP GUI on exit
I have read a lot of people want to boot directly into their front-end without running the wXP GUI. It has been said that if you have the registry entry to shell into your front-end, when you run explorer.exe, it only brings up the windows explorer window, not the entire GUI. After playing around with it for an hour, I found that if you boot into your front-end and then edit the registry entry in .....winlogon\shell and enter 'explorer.exe', then run explorer.exe, the full XP GUI will pop up, not just a windows explorer window.
Because I have programed my own front end in VB.NET, I can write code into it to change the registry entry.
What I do first when my front-end loads is change the registry entry to shell explorer.exe
When I click the exit button, it shells explorer.exe, then re-writes the registry entry to shell my front-end, then ends the front-end:
In the main form load_Load:
'-----------------------------
Dim WSH
WSH = CreateObject("WScript.Shell")
WSH.RegWrite("HKEY_LOCAL_MACHINE\Software\Microsof t\Windows
NT\CurrentVersion\Winlogon\Shell", "explorer.exe")
'-----------------------------
In the 'exit' button:
'-----------------------------
Shell("explorer.exe")
Dim WSH
WSH = CreateObject("WScript.Shell")
WSH.RegWrite("HKEY_LOCAL_MACHINE\Software\Microsof t\Windows NT\CurrentVersion\Winlogon\Shell", My.Application.Info.DirectoryPath & "\Vive.exe")
End
'-----------------------------
Vive.exe is the front-end executable.
This seems to work fine, hope this helps some people :)
Frontends GUI on startup, without explorer running
Dear friends,
The easiest and safest way to do such (mentioned in title) thing is to create and use Policies with the Policy Editor,
which works only on "XP Professional". I mean the sw works on all XP versions, but policies can not be applied only on XP Pro.
What is great beside a lot of things is that you can tie the frontend only login to a selected user so any problem should happen you can have the admin or any other user to log into and fix things. Also while the frontend is running and you would like to have explorer you can start it up anytime.
Regards