Set explorer as default shell

svn path=/trunk/; revision=7632
This commit is contained in:
Gé van Geldorp 2004-01-14 23:21:31 +00:00
parent 0a8c4b149b
commit 490c55529b
2 changed files with 5 additions and 5 deletions

View file

@ -31,8 +31,8 @@ HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList","ProfilesDirecto
;HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList","AllUsersProfile",0x00000000,"All Users.REACTOS"
;HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList","DefaultUserProfile",0x00000000,"Default User.REACTOS"
HKLM,"SOFTWARE\ReactOS\Windows NT\CurrentVersion\Winlogon","Shell",0x00020000,"%SystemRoot%\system32\cmd.exe"
;HKLM,"SOFTWARE\ReactOS\Windows NT\CurrentVersion\Winlogon","Shell",0x00020000,"%SystemRoot%\explorer.exe"
;HKLM,"SOFTWARE\ReactOS\Windows NT\CurrentVersion\Winlogon","Shell",0x00020000,"%SystemRoot%\system32\cmd.exe"
HKLM,"SOFTWARE\ReactOS\Windows NT\CurrentVersion\Winlogon","Shell",0x00020000,"%SystemRoot%\explorer.exe"
HKLM,"SOFTWARE\ReactOS\Windows NT\CurrentVersion\Winlogon","StartServices",0x00010001,0x00000001
HKLM,"SOFTWARE\ReactOS\Windows NT\CurrentVersion\Winlogon","StartGUI",0x00010001,0x00000000
HKLM,"SOFTWARE\ReactOS\Windows NT\CurrentVersion\Winlogon","Userinit",0x00020000,"%SystemRoot%\system32\userinit.exe"

View file

@ -1,4 +1,4 @@
/* $Id: winlogon.c,v 1.24 2004/01/06 16:11:57 ekohl Exp $
/* $Id: winlogon.c,v 1.25 2004/01/14 23:21:31 gvg Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -341,8 +341,8 @@ static PWCHAR GetShell(WCHAR *CommandLine)
if (! GotCommandLine)
{
GetSystemDirectory(CommandLine, MAX_PATH - 10);
wcscat(CommandLine, L"\\cmd.exe");
GetWindowsDirectory(CommandLine, MAX_PATH - 15);
wcscat(CommandLine, L"\\explorer.exe");
}
return CommandLine;