From 54703fcfc8f17e0b93530d10cfb6af0c49c328c6 Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Mon, 17 Jan 2005 09:50:10 +0000 Subject: [PATCH] Set the environment variables %USERPROFILE% and %ALLUSERSPROFILE% for the Live-CD. Fixes bug #479. Patch by tinus. svn path=/trunk/; revision=13094 --- reactos/bootdata/livecd.inf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/reactos/bootdata/livecd.inf b/reactos/bootdata/livecd.inf index 347515af0b7..5170b0a22a6 100644 --- a/reactos/bootdata/livecd.inf +++ b/reactos/bootdata/livecd.inf @@ -31,4 +31,8 @@ HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders","Common HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Desktop",0x00020000,"%SystemDrive%\Profiles\Default User\Desktop" HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Personal",0x00020000,"%SystemDrive%\Profiles\Default User\My Documents" +; User Profile environment variables +HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager\Environment","USERPROFILE",0x00020000,"%SystemRoot%\Profiles\Default User" +HKLM,"SYSTEM\CurrentControlSet\Control\Session Manager\Environment","ALLUSERSPROFILE",0x00020000,"%SystemRoot%\Profiles\All Users" + ; EOF