|
-
Jun 21st, 2006, 04:23 AM
#1
Thread Starter
Hyperactive Member
[RESOLVED] Changing default shell application
Hi, good day everyone.
I tried changing the default shell of my PC. I changed
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" i set Shell=MyApp.exe instead of the default which is Explorer.exe. I made this change because i want my application to run before the windows explorer. Then when my app closes, it will shell windows explorer for normal use. My problem is that when i run Explorer.exe form my app, windows explorer didn't run normally. It only showed an exploer window. No taskbar or desktop items shown. How can i fix this?
-
Jun 21st, 2006, 04:39 AM
#2
Re: Changing default shell application
Why you need your app to run before explorer ? What does it do ?
May be there is an alternative.
-
Jun 21st, 2006, 04:43 AM
#3
Thread Starter
Hyperactive Member
Re: Changing default shell application
it's for Internet Cafe software. It is used to lock the workstation when nobody is renting it. Currently, i added my app in windows startup so my client app would run when windows loads. But this can easily be bypassed. So to make my workstations more secure, i need my app to run before windows explorer.
-
Jun 21st, 2006, 04:54 AM
#4
PowerPoster
Re: Changing default shell application
Installing
'STEP 1
HKEY_LOCAL_MACHINE , "Software\Microsoft\Windows NT\CurrentVersion\IniFileMapping\system.ini\boot", "Shell", "USR:Software\Microsoft\Windows NT\CurrentVersion\Winlogon", REG_SZ
'STEP 2
HKEY_CURRENT_USER , "Software\Microsoft\Windows NT\CurrentVersion\Winlogon", "Shell", "c:\myFile.exe", REG_SZ
'STEP 3
HKEY_CURRENT_USER , "Software\Microsoft\Windows\CurrentVersion\Explorer", "DesktopProcess", 1, REG_DWORD
'STEP 4
HKEY_CURRENT_USER , "Software\Microsoft\Windows\CurrentVersion\Explorer\BrowseNewProcess", "BrowseNewProcess", "yes", REG_SZ
Uninstalling (put back explorer shell)
'STEP 1
HKEY_LOCAL_MACHINE , "Software\Microsoft\Windows NT\CurrentVersion\IniFileMapping\system.ini\boot", "Shell", "SYS:Microsoft\Windows NT\CurrentVersion\Winlogon", REG_SZ
'STEP 2 - ***** DELETE *****
HKEY_CURRENT_USER , "Software\Microsoft\Windows NT\CurrentVersion\Winlogon", "Shell"
'STEP 3
HKEY_CURRENT_USER , "Software\Microsoft\Windows\CurrentVersion\Explorer", "DesktopProcess", 0, REG_DWORD
'STEP 4
HKEY_CURRENT_USER , "Software\Microsoft\Windows\CurrentVersion\Explorer\BrowseNewProcess", "BrowseNewProcess", "no", REG_SZ
-
Jun 21st, 2006, 05:20 AM
#5
PowerPoster
Re: Changing default shell application
Also there is a Kiosk Mode for Internet Explorer ..
I have a complete example with the shell and all, if you want to download it .. PM me ..
Rory
-
Jun 21st, 2006, 09:53 PM
#6
Thread Starter
Hyperactive Member
Re: Changing default shell application
thanks Rory, i'll try this out in a while. Sent you a PM
-
Jun 21st, 2006, 09:56 PM
#7
Re: Changing default shell application
If its for an Internet Cafe then you should be running in a network environment where you can apply Group Policies to remove resources from the logon session. This is the proper method to do what your asking for.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 21st, 2006, 11:11 PM
#8
Thread Starter
Hyperactive Member
Re: Changing default shell application
Hi Robdog, can you tell me how to set up Group Policies?
But I still want my client app to run before windows explorer. For some reason, my client app seems to run after other application in starup. And users of the workstation can already launch other applications before my app runs because windows explorer is already running and they can access the program menu. I don't want that to happen.
-
Jun 22nd, 2006, 09:52 PM
#9
Thread Starter
Hyperactive Member
Re: Changing default shell application
rory, i tried post #4 and it works great. thanks
-
Jun 22nd, 2006, 10:27 PM
#10
PowerPoster
Re: [RESOLVED] Changing default shell application
Ok,i sent you that app to test also ..
Also remember to give them the choice to uninstall it back to Explorerer ..
Also, Running the program as the Shell is not always the best idea but if its a simple program then .. should be okay .. the blackbox lite shell is what I use though and run my programs ontop of that ..
-
Jun 22nd, 2006, 10:29 PM
#11
Re: [RESOLVED] Changing default shell application
Group policies run before windows startups and before services.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 22nd, 2006, 10:31 PM
#12
PowerPoster
Re: [RESOLVED] Changing default shell application
 Originally Posted by RobDog888
Group policies run before windows startups and before services.
Thats to do with the login right ..? Cause yeah that comes up before Windows Shell ..
-
Jun 22nd, 2006, 10:45 PM
#13
Re: [RESOLVED] Changing default shell application
Yes. You can do so many things with policies. Even more when your working with a network and server. Over 1000 settings. Hide desktop icons, remove startmenu items, hide mapped drives, configure IE settings and limits, prevent certain programs from running, remove the shutdown button, etc etc etc
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 22nd, 2006, 10:52 PM
#14
PowerPoster
Re: [RESOLVED] Changing default shell application
I remember they had something like that back in the Windows 95 days .. came on the 95 CD and let you only allow certain proggies etc .. locked myself out once ! had to reformat ..
I still like the Shell .. but Ill look for the policies part also .. though Id need to be able to change them through VB .. know if that is possible ..?
-
Jun 22nd, 2006, 10:54 PM
#15
Re: [RESOLVED] Changing default shell application
I think you can change policies through VB but you must be an admin anyways. I havent done it but I remember reading that there was the possibility.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 22nd, 2006, 11:16 PM
#16
Thread Starter
Hyperactive Member
Re: [RESOLVED] Changing default shell application
what tool can i use to manage group policies? does it come with windows or do i have to download it?
can i also set user-specific policies instead of setting policies to a group?
-
Jun 22nd, 2006, 11:18 PM
#17
Re: [RESOLVED] Changing default shell application
you can do both, Group or User specific. It comes with NT based OS' and you dont need to download anything.
What OS are you running?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 22nd, 2006, 11:22 PM
#18
Thread Starter
Hyperactive Member
Re: [RESOLVED] Changing default shell application
I'm using Windows XP home/Windows XP Pro.
-
Jun 22nd, 2006, 11:34 PM
#19
Re: [RESOLVED] Changing default shell application
Control Panel > Administrative Tools > Local Security Policy.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 22nd, 2006, 11:54 PM
#20
Thread Starter
Hyperactive Member
Re: [RESOLVED] Changing default shell application
Thanks hmm.. can i set a policy on one PC then apply the same policy to another without manually doing it over & over again? like can i copy a policy setting on one PC to another?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|