MSFN Forum: 48-bit LBA on Win2k setup - MSFN Forum

Jump to content


  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

48-bit LBA on Win2k setup WORKS!!

#41 User is online   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 8,325
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 27 January 2010 - 02:54 PM

OH I also meant to post the actual cmd and ask if adding the reg.exe was fine.

Makes me wonder though Jaclaz:

If this works for the lba fix what else can we cram in to the HIV file this way?

This post has been edited by Kelsenellenelvian: 27 January 2010 - 08:06 PM



#42 User is online   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,446
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 28 January 2010 - 02:37 AM

View PostKelsenellenelvian, on Jan 27 2010, 09:54 PM, said:

OH I also meant to post the actual cmd and ask if adding the reg.exe was fine.

Makes me wonder though Jaclaz:

If this works for the lba fix what else can we cram in to the HIV file this way?


Well, almost "anything".

SETUPREG.HIV is nothing but an initial canvas on which the "base" registry of the OS to be installed will be created upon.

If you are into experimenting, here are some ideas:
http://www.msfn.org/board/index.php?showto...125116&st=0

And some related examples:
http://www.msfn.org/...opic=122505&hl=
http://www.boot-land...?showtopic=8798
http://ubcd4win.com/...?showtopic=5398

The technique is widely used on PE's.

jaclaz

#43 User is offline   os2fan2 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 417
  • Joined: 09-September 04

Posted 29 January 2010 - 04:42 AM

Have a look in setupreg.hiv, you will see that it loads various things like device drivers and services.

Things ye might include here are alternate disk driver utilities, or video drivers: pretty much anything that needs a service.

Because in essence, this is the registry for the character mode setup.

The full setup is not made until the character mode setup is done: watch the bottom line as setup is run. You will see it loading hivesft, hivedft, etc at the very end of the process.

#44 User is offline   Phenomic 

  • Member
  • PipPip
  • Group: Members
  • Posts: 229
  • Joined: 31-July 09
  • OS:none specified
  • Country: Country Flag

Posted 27 September 2010 - 08:31 AM

Thanks to os2fan2 for post #18

I could swear I've seen an nlite option to enable 48-bit LBA, "large disks" or something to that effect.

I have installed Win2k+sp4 on 160GB sata disks without EnableBigLba in registry and it works fine -- how come? But also I have cases where only the first 128GB are seen and the rest is "unformatted", "corrupt", etc.

About REG.EXE batch commands, I use quotes (e.g in ADD command) in case filenames or parameters contain spaces.

#45 User is offline   Molecule 

  • Member
  • PipPip
  • Group: Members
  • Posts: 185
  • Joined: 11-November 05

Posted 27 September 2012 - 01:21 PM

It's my belief, that somethere there is a one-file plugin that sets up the EnableBigLBA with RVMI, that a noob can slip into a clean set of original source files. Noobs don’t want to maintain multiple sets of original sources. It's hard enough already.

to summarize the above

#1 red2k proposes to replace SETUREG.HIV with a 69K file ... he doesn’t say, but as noob I’m guessing this would modify the original source before running nLite or ryansVM Integrator. That means two sets of original source files. As noob ... I don’t want to change a setup file after slipping because I don’t know if RVMI or nLite or some patch didn’t already add something critical.

#9 Oleg_II proposes the reg file solution, which works in hfslip, but not in RVMI or nLite (HFSLIP demands it's own file structure, which, for someone who was not part of its evolution, is quixotic and totally unforgiving). He mentions the test executable from 48bitlba.com, but that won’t slipstream in RVMI or nLite, or run batch unattended. Maxtor and Seagate have executables to set 48bit lba which might work in runonce.

#15 fdv proposes opening HIVESFT.INF and doing a cut and paste. I don’t trust myself with a one-time cut-and-paste for setting up hdds. I just want to integrate an addon or inf patch file.

#18 os2fan2 proposes a batch file to modify setupreg.hiv. In #43 he explains that setupreg.hiv is in effect the registry during text mode setup. (good info ... thanks!) There is a link to an expanded HIVEFIX.INF by os2fan2 with all kinds of bonus tweaks. The 2nd line of the batch says “You need to also fix the file txtsetup.sif to get this to run.” He doesn’t say how. That’s a full stop for a noob like me. In #21 Tomcat says the expanded version produced a BSOD.

#39 Kelsenellenelvian explains how to setup the 48-bit batch by os2fan2.

I’m guessing that hivefix.inf can be tweaned before or after integration ... as long as it’s before system installation.

(aside ... this would apply to installation into very large partitions ... problem is M$ programmed setup installers to fling directories (potentially containing files that need to be frequently accessed) across the full span of the install partition. New directories are randomly placed so as to fill the entire freespace of the partition, and then they are made unmovable for FAT32 systems. The installer is programmed to expand the system into all available free space, even if it causes fragmentation of the page file. I have to assume that MS engineers must understand the technology of their profits. This is not normal fragmentation. It is random seek banging that will slow down a FAT32 system and accelerate the crash of a hdd, since directories that are installed into the farthest reaches of a partition cannot be defragged or compacted back into the rest of the files at the top of a partition. Because the setup installer is programmed to fill all available partiton space with flung directories, I’d suggest that the setup installer be restrained to smallest partition reasonably possible ... 5G leaves 2g for pagefile, 2 gig for files, 1 gig for defragging and for temp expansions and contractions. The partition can be expanded after MS setup installers are gone.

Net result, after reading the above, hopefully most noobs aren't going to setup systems on partitions that cross the 128g barrier ... if they want to use a large partition and fast trash their new hdd, then, the hivefix.inf is probably an important one ... I don't know about the text mode OS, but after install, a large hdd in 2k without the 48bit reg setting will screw up the system, even if the hdd is never accessed, read, or written to. 2k needs to make drive letter asignments, and when there is a large hdd in a system which is not 48bit enabled, the process that tries to make the driver letter assignments gets stuck in some kind of loop when it studies the big one ... so I would assume the same problem might exist in the OS used by text mode setup as well ...?)

There is a solution in nLite, but (IMHO) it’s not easy or intuitive to find. We want EnableLBA support for our system HDDs. Open nLite, go to the Tweaks page, then open the “Explorer” section (not My Computer, not Performance, not Devices, not Management, ...) then wade into all the bubblegum and display tweaks for Explorer (to a noob, Explorer is mostly about bubblegum and display) ... inquire into the ninth tweak, which is labeled “Large Partition Support” (hmmm.... what's that? ... Unlike other options in this setting, this one is not some bubblegum tweak about Explorer display options. It's not labeled, EnableBigLBA support, or 48-bit HDD support, or Large Harddrives > 128g, ...) . Large Partition support enables a large HDD, even if you don't use "large partitions."

After 12 years, and thousands of posts, I still haven't found a simple one-file plugin for RVMI (or nLite) which will set the EnableBigLBA

admittedly there already is one, but it’s Gurglemeyer’s 120meg SP51. At the moment, that’s the smallest one-file plugin that will set a simple reg entry in nLite or RVMI!

(oh, humble me!) I don’t have a VM yet to test this on, but I did find an inf file for XP that might (!) possibly (!) work (untested!) as a small one-file plugin for RVMI and nLite... it’s from KB303013 for XP but should work in 2k

open a text file called 48bitLBA.inf
add the following code
[version]
signature="$CHICAGO$"
SetupClass=BASE

[DefaultInstall]
AddReg=48bitlba.Add.Reg

[48bitlba.Add.Reg]
HKLM,"System\CurrentControlSet\Services\Atapi\Parameters","EnableBigLba",0x10001,1

In RyanVM Integrator, add this file into the addons section of RyansVM integrator, or in nLite, add the file to the Hotfixes, Addon, Update Packs page.

OMG! Finally, after twelve years, and thousands of posts, is there now finally a one-file one-step go-solution plugin to EnableBigLBA for noobs ... just integrate and go.

I don’t have a VM to test this on at the moment ... I ventured off onto this part of my learning curve trying to build a machine to build a machine with, etc. I want to get a bootUSB working before I try mounting the learning curve for a VM, so maybe someone with a VM could test and confirm before me?

This post has been edited by Molecule: 27 September 2012 - 01:51 PM


#46 User is offline   tomasz86 

  • http://www.windows2000.tk
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,220
  • Joined: 27-November 10
  • OS:Windows 2000 Professional
  • Country: Country Flag

Posted 27 September 2012 - 01:52 PM

The above INF won't work ;)

The whole thing is that you need to add the changes to SETUPREG.HIV in order to make it work in the text setup. You still need the above setting later but the HDD must be properly detected in the text setup first. The SETUPREG.HIV files for each edition of Win2k which are included in USP5.1 have this setting already added.

This post has been edited by tomasz86: 27 September 2012 - 01:56 PM


#47 User is offline   fdv 

  • MSFN Expert
  • Group: Developers
  • Posts: 1,109
  • Joined: 16-July 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 28 September 2012 - 01:16 PM

To expand on my advice and clear something up, ALL of the HIVE* INF files execute during text setup. They all build the registry which is assembled prior to GUI. You do not need to add to SETUPREG.HIV. (Editing that file is a mess anyway).

Look at the HIVE files in my fileset... look at all of the system tweaks I add (use Winmerge to compare). You can make a LOT of changes to the OS by editing these files

edit: this is not 100% correct, see my post below about using SYSSETUP.INF for LBA, I misremembered what was in my own file

This post has been edited by fdv: 29 September 2012 - 10:00 PM


#48 User is offline   tomasz86 

  • http://www.windows2000.tk
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,220
  • Joined: 27-November 10
  • OS:Windows 2000 Professional
  • Country: Country Flag

Posted 28 September 2012 - 07:36 PM

You still need to edit the SETUPREG.HIV though. The HIVE*.INF files are indeed executed during text setup but it's done at the very end of it while you need to select your disk / partition much earlier. It's that moment when the 48-bit LBA support must be enabled and SETUPREG.HIV is responsible for it.

You should also remember that SETUPREG.HIV is different for every edition of Win2k (Professional, Server, etc.) and different for every language version too so don't try to switch them.

This post has been edited by tomasz86: 28 September 2012 - 07:38 PM


#49 User is offline   bphlpt 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,082
  • Joined: 12-May 07

Posted 29 September 2012 - 03:32 AM

I'm surprised that fdv says that you do not need to add to SETUPREG.HIV, while tomasz86 feels so strongly that you do. Hopefully fdv will continue to interact on this thread, because I believe that with his experience he will be able to shed light on what can and cannot be done in this area.

Cheers and Regards

#50 User is online   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,446
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 29 September 2012 - 04:35 AM

Since there is WAY too little confusion on this :whistle: , I will throw something on the table :angel :
http://reboot.pro/11212/
http://reboot.pro/11312/
Would the erwan.l thingy :thumbup work on SETUPREG.HIV?
(it should if you are running XP or later cannot say from within a 2k)

jaclaz

This post has been edited by jaclaz: 29 September 2012 - 04:36 AM


#51 User is offline   fdv 

  • MSFN Expert
  • Group: Developers
  • Posts: 1,109
  • Joined: 16-July 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 29 September 2012 - 09:59 PM

In truth I always stuck the LBA in SYSSETUP.INF. From my version in my fileset:

[Infs.Always]
syssetup.inf,SpecialInstall

[SpecialInstall]
AddReg = Special.Addreg

[Special.Addreg]
HKLM,"SYSTEM\CurrentControlSet\Services\Atapi\Parameters","EnableBigLba",0x10001,01,00,00,00 ; enable large block addressing

This way the LBA is accomplished neatly and immediately. I posted otherwise because I'd forgotten and this forced me to check!! Sorry about my misleading post above :wacko:

#52 User is offline   os2fan2 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 417
  • Joined: 09-September 04

Posted 06 November 2012 - 05:36 AM

Hivefix.inf is activated through txtsetup.sif. This is SI.TXT, the instructions for adding files to win2k, and how to activate additional INF files.

You really do need to edit SETUPREG.HIV. This is the registry for the boot system. It won't see your fixed disk correctly elsewise. This batch file does that. You edit the second line of this batch file to where your win2k source lives, including the cd file. You run the batch file, and it corrects the setupreg.hive, without modifying anything else.

setlocal
set winsource=c:\win2kcd\i386
attrib -r -a -s -h %winsource%\setupreg.hiv
reg load HKLM\Setup %winsource%\setupreg.hiv
set regkey=ControlSet001\Services\atapi\Parameters
reg add HKLM\Setup\%regkey% /v EnableBigLba /t reg_dword /d 00000001 /f
reg unload HKLM\Setup
set winsource=
set regkey=
endlocal



This is a sample text file, used to modify both dosnet.inf and txtsetup.sif. The items are in order, so all you have to search for is the beginnings of each section. All the bits go to the end of the current section (ie before the next square bracket), unless you're modifying the default directory.

We add a number of files here. You should delete matching entries from both dosnet.inf and txtsetup.inf if these are not included.

All of the stuff is from the resource kit, except themes.cpl, which you can download from microsoft as an NT4 fix. It allows you to access the win98 style themse from the control panel.

The first two entries in txtsetup.sif create extra 'hidden' controls for hotplug and console.

We add a number of rk files to the default install, wie WINXP et al.
The Windows bitmaps live in webvw.dll, so we add the Win9x stuff there.
Setup.bmp lives in the system32 directory, installs from setup_w.bm_

------ dosnet.inf ---------------------------------------------

d1,hivefix.inf
d1,directx.cpl
d1,diskpart.exe
d1,fsutil.exe
d1,kill.exe
d1,linkd.exe
d1,list.exe
d1,msvcp60.dll
d1,oeminfo.ini
d1,oemlogo.bmp
d1,reg.exe
d1,runext.dll
d1,sc.exe
d1,schtasks.exe
d1,setx.exe
d1,shortcut.exe
d1,takeown.exe
d1,themes.cpl
d1,tlist.exe
d1,tweakui.cnt
d1,tweakui.cpl
d1,tweakui.hlp
d1,where.exe

------ txtsetup.sif --------------------------------------------

[SourceDisksFiles]
console.dll  = 1,,,,,,,2,0,0,console.cpl
hotplug.dll  = 1,,,,,,,2,0,0,hotplug.cpl
hivefix.inf  = 1,,,,,,,20,3,3
directx.cpl  = 2,,,,,,,2,0,0
diskpart.exe = 2,,,,,,,2,0,0
fsutil.exe   = 2,,,,,,,2,0,0
kill.exe     = 2,,,,,,,2,0,0
linkd.exe    = 2,,,,,,,2,0,0
list.exe     = 2,,,,,,,2,0,0
msvcp60.dll  = 2,,,,,,,2,0,0
oeminfo.ini  = 2,,,,,,,2,0,0
oemlogo.bmp  = 2,,,,,,,2,0,0
reg.exe      = 2,,,,,,,2,0,0
runext.dll   = 2,,,,,,,2,0,0
schtasks.exe = 2,,,,,,,2,0,0
sc.exe       = 2,,,,,,,2,0,0
setx.exe     = 2,,,,,,,2,0,0
shortcut.exe = 2,,,,,,,2,0,0
takeown.exe  = 2,,,,,,,2,0,0
themes.cpl   = 2,,,,,,,2,0,0
tlist.exe    = 2,,,,,,,2,0,0
tweakui.cnt  = 2,,,,,,,21,0,0
tweakui.cpl  = 2,,,,,,,2,0,0
tweakui.hlp  = 2,,,,,,,21,0,0
where.exe    = 2,,,,,,,2,0,0
; setup_w.bmp  = 2,,,,,,,1,0,0,setup50.bmp


; add these to the end to make hivefix.inf work.
[HiveInfs.Fresh]
DelReg = hivefix.inf,AddReg
AddReg = hivefix.inf,AddReg

[HiveInfs.Upgrade]
DelReg = hivefix.inf,AddReg
AddReg = hivefix.inf,AddReg

; These have not really changed, so...
[SetupData]
SetupSourcePath = "\"
DefaultPath=\FENSTER

---------------------------------------------------------------------

WEBVW.DLL
  Add bitmaps to resource table, using reshack.exe





This is a working version of HIVEFIX.INF. It is placed after the other INF files in txtsetup.sif

[Version]
Signature = "$Windows NT$"
ClassGUID={00000000-0000-0000-0000-000000000000}
DriverVer=11/14/1999,5.00.2183.1
; vers 2195/1


[AddReg]
; homegrown
; flags: see 'windows registry guide', p276
HKCU,"Console","InsertMode",0x00010001,1
HKCU,"Console","QuickEdit", 0x00010001,0
HKLM,"Software\Microsoft\Command Processor","CompletionChar",0x00010001,9
HKLM,"Software\Microsoft\Command Processor","PathCompletionChar",0x00010001,9
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","ParseAutoexec",0x00000000,"0"
HKCU,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","ParseAutoexec",0x00000000,"0"


; HiveCLS.inf
HKCR,"batfile","",0x00000002,"%MS_DOS_BATCH_FILE%"
HKCR,"comfile","",0x00000002,"%MS_DOS_APPLICATION%"

; Hivesft.inf
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList","ProfilesDirectory",0x00020002,"%DEFAULT_PROFILES_DIR%"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList","AllUsersProfile",0x00000002,"%ALL_USERS%"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList","DefaultUserProfile",0x00000002,"%DEFAULT_USER%"

; fix for ejecting removable disks
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","allocatedasd",0x00000002,"2"

; HiveSys.inf
HKLM,"SYSTEM\CurrentControlSet\Control\Nls\Language","InstallLanguage",,"%INSTALL_LANGUAGE%"
HKLM,"SYSTEM\CurrentControlSet\Control\Nls\Locale","(Default)",,%INSTALL_LOCALE%
; UKINT keybd

HKLM,"SYSTEM\CurrentControlSet\Control\Keyboard Layout\DosKeybCodes","0001089",0x00000002,"uk"
HKLM,"SYSTEM\CurrentControlSet\Control\Keyboard Layouts\00010809","Layout File",0x00000002,"KBDUKINT.DLL"
HKLM,"SYSTEM\CurrentControlSet\Control\Keyboard Layouts\00010809","Layout Id",0x00000002,"0087"
HKLM,"SYSTEM\CurrentControlSet\Control\Keyboard Layouts\00010809","Layout Text",0x00000002,"%UK_INTERNATIONAL%"

; Hivedef.inf
; International Settings
HKLM,"SYSTEM\CurrentControlSet\Control\Nls\Locale","(Default)",0x00000002,"00000C09"

HKCU,"Control Panel\International","iCalendarType",0x00000000,"%INTL_ICALENDAR%"
HKCU,"Control Panel\International","iCountry",0x00000000,"%INTL_ICOUNTRY%"
HKCU,"Control Panel\International","iCurrDigits",0x00000000,"%INTL_ICURRDIGITS%"
HKCU,"Control Panel\International","iCurrency",0x00000000,"%INTL_ICURRENCY%"
HKCU,"Control Panel\International","iDate",0x00000000,"%INTL_IDATE%"
HKCU,"Control Panel\International","iDigits",0x00000000,"%INTL_IDIGITS%"
HKCU,"Control Panel\International","iFirstDayOfWeek",0x00000000,"%INTL_IFIRSTWEEKDAY%"
HKCU,"Control Panel\International","iLZero",0x00000000,"%INTL_ILZERO%"
HKCU,"Control Panel\International","iMeasure",0x00000000,"%INTL_IMEASURE%"
HKCU,"Control Panel\International","iNegCurr",0x00000000,"%INTL_INEGCURR%"
HKCU,"Control Panel\International","iTime",0x00000000,"%INTL_ITIME%"
HKCU,"Control Panel\International","iTLZero",0x00000000,"%INTL_ITLZERO%"
HKCU,"Control Panel\International","Locale",0x00000000,"%INTL_LOCALE%"
HKCU,"Control Panel\International","s1159",0x00000000,"%INTL_S1159%"
HKCU,"Control Panel\International","s2359",0x00000000,"%INTL_S2359%"
HKCU,"Control Panel\International","sCountry",0x00000000,"%INTL_SCOUNTRY%"
HKCU,"Control Panel\International","sCurrency",0x00000000,"%INTL_SCURRENCY%"
HKCU,"Control Panel\International","sDate",0x00000000,"%INTL_SDATE%"
HKCU,"Control Panel\International","sDecimal",0x00000000,"%INTL_SDECIMAL%"
HKCU,"Control Panel\International","sLanguage",0x00000000,"%INTL_SLANGUAGE%"
HKCU,"Control Panel\International","sList",0x00000000,"%INTL_SLIST%"
HKCU,"Control Panel\International","sLongDate",0x00000000,"%INTL_SLONGDATE%"
HKCU,"Control Panel\International","sShortDate",0x00000000,"%INTL_SSHORTDATE%"
HKCU,"Control Panel\International","sThousand",0x00000000,"%INTL_STHOUSAND%"
HKCU,"Control Panel\International","sTime",0x00000000,"%INTL_STIME%"
HKCU,"Control Panel\International","sTimeFormat",0x00000000,"%INTL_STFORMAT%"


; Marquee Settings
HKCU,"Control Panel\Screen Saver.Marquee","Font",0x00000000,"%SCREEN_SAVER_MARQUEE_FONT%"
HKCU,"Control Panel\Screen Saver.Marquee","Text",0x00000002,"%SCREEN_SAVER_MARQUEE_TEXT%"

; TempDir
HKCU,"Environment","TEMP",0x00020000,"%TEMP_DIR%"
HKCU,"Environment","TMP",0x00020000,"%TEMP_DIR%"


; Shell Folders
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","AppData",0x00020002,"%U_SHELL_FOLDERS_APPDATA%"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Desktop",0x00020002,"%U_SHELL_FOLDERS_DESKTOP%"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Favorites",0x00020002,"%U_SHELL_FOLDERS_FAVORITES%"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","NetHood",0x00020002,"%U_SHELL_FOLDERS_NETHOOD%"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Personal",0x00020000,"%U_SHELL_FOLDERS_PERSONAL%"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","PrintHood",0x00020002,"%U_SHELL_FOLDERS_PRINTHOOD%"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Programs",0x00020002,"%U_SHELL_FOLDERS_PROGRAMS%"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Recent",0x00020002,"%U_SHELL_FOLDERS_RECENT%"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","SendTo",0x00020002,"%U_SHELL_FOLDERS_SENDTO%"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Start Menu",0x00020002,"%U_SHELL_FOLDERS_START_MENU%"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Startup",0x00020002,"%U_SHELL_FOLDERS_STARTUP%"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Templates",0x00020002,"%U_SHELL_FOLDERS_TEMPLATES%"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Cookies",0x00020000,"%U_SHELL_FOLDERS_COOKIES%"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","My Pictures",0x00020000,"%U_SHELL_FOLDERS_MYPICTURES%"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Local Settings",0x00020000,"%U_SHELL_FOLDERS_LOCAL_SETTINGS%"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Local AppData",0x00020000,"%U_SHELL_FOLDERS_LOCAL_APPDATA%"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Cache",0x00020000,"%U_SHELL_FOLDERS_CACHE%"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","History",0x00020000,"%U_SHELL_FOLDERS_HISTORY%"

; runext.dll
HKCR,CLSID\{%CSID00%},,,"%NAME%"
HKCR,CLSID\{%CSID00%}\InProcServer32,,,"runext.dll"
HKCR,CLSID\{%CSID00%}\InProcServer32,"ThreadingModel",,"Apartment"
HKCR,*\%SHEX%,,,"%RUNEXTKEY%"
HKCR,*\%SHEX%\%RUNEXTKEY%,,,"{%CSID00%}"
HKCR,Folder\%SHEX%,,,"%RUNEXTKEY%"
HKCR,Folder\%SHEX%\%RUNEXTKEY%,,,"{%CSID00%}"

; TweakUI
HKLM,"Software\Microsoft\Windows\CurrentVersion\Run",,,"RUNDLL32.EXE TWEAKUI.CPL,TweakMeUp"


[Strings]
; Hivecls.inf
MS_DOS_APPLICATION="PC-DOS Application"
MS_DOS_BATCH_FILE="PC-DOS Batch File"

; Hivesys.inf
INSTALL_LANGUAGE="0C09"

; International
INTL_ICALENDAR="1"
INTL_ICOUNTRY="61"
INTL_ICURRDIGITS="2"
INTL_ICURRENCY="0"
INTL_IDATE="2"
INTL_IDIGITS="2"
INTL_IFIRSTWEEKDAY="6"
INTL_ILZERO="1"
INTL_IMEASURE="1"
INTL_INEGCURR="1"
INTL_ITIME="1"
INTL_ITLZERO="1"
INTL_LOCALE="00000C09"
INTL_S1159="AM"
INTL_S2359="PM"
INTL_SCOUNTRY="Australia"
INTL_SCURRENCY="$"
INTL_SDATE="/"
INTL_SDECIMAL="."
INTL_SLANGUAGE="ENA"
INTL_SLIST=","
INTL_SLONGDATE="dddd, d MMMM, yyyy"
INTL_SSHORTDATE="yyyy/MM/dd"
INTL_STHOUSAND=","
INTL_STIME=":"
INTL_STFORMAT="HH:mm:ss"
; Marquee
SCREEN_SAVER_MARQUEE_FONT="Georgia"
SCREEN_SAVER_MARQUEE_TEXT="Windows 2000 Professional"

; Shell Folders
DEFAULT_PROFILES_DIR="%SystemDrive%\USERS"
DEFAULT_USER="Default"
ALL_USERS="Public"

TEMP_DIR="%USERPROFILE%\Temp"

U_SHELL_FOLDERS_APPDATA="%USERPROFILE%\AppData"
U_SHELL_FOLDERS_DESKTOP="%USERPROFILE%\W\Desktop"
U_SHELL_FOLDERS_FAVORITES="%USERPROFILE%\Favorites"
U_SHELL_FOLDERS_NETHOOD="%USERPROFILE%\NetHood"
U_SHELL_FOLDERS_PERSONAL="%USERPROFILE%\Personal"
U_SHELL_FOLDERS_PRINTHOOD="%USERPROFILE%\PrintHood"
U_SHELL_FOLDERS_PROGRAMS="%USERPROFILE%\Start Menu\Programs"
U_SHELL_FOLDERS_RECENT="%USERPROFILE%\Recent"
U_SHELL_FOLDERS_SENDTO="%USERPROFILE%\SendTo"
U_SHELL_FOLDERS_START_MENU="%USERPROFILE%\Start Menu"
U_SHELL_FOLDERS_STARTUP="%USERPROFILE%\Start Menu\Programs\Startup"
U_SHELL_FOLDERS_TEMPLATES="%USERPROFILE%\Templates"
U_SHELL_FOLDERS_COOKIES="%USERPROFILE%\Cookies"
U_SHELL_FOLDERS_MYPICTURES="%USERPROFILE%\Personal\Pictures"
U_SHELL_FOLDERS_LOCAL_SETTINGS="%USERPROFILE%\Local"
U_SHELL_FOLDERS_LOCAL_APPDATA="%USERPROFILE%\AppData"
U_SHELL_FOLDERS_CACHE="%USERPROFILE%\Temporary Internet Files"
U_SHELL_FOLDERS_HISTORY="%USERPROFILE%\History"

; runext.dll
NAME="Run shell extension"
RUNEXTKEY="RunExt"
SHEX="shellex\ContextMenuHandlers"
CSID00=2AD91900-A873-11cf-9A80-00AA00C16E65


This post has been edited by os2fan2: 06 November 2012 - 05:48 AM


#53 User is offline   caps_buster 

  • Junior
  • Pip
  • Group: Members
  • Posts: 98
  • Joined: 20-February 09

Posted 24 March 2013 - 10:32 AM

Dear red2k - to keep things simple, with my W2k SP4 czech install I just replaced the SETUREG.HIV and hooray! It works and now I can install on 320G HDD, witch was impossible to see/format before this change.

Many people in the thread claim, that it can be done "after" or use install just on small OS partition to make it work. WRONG!

I use 320G HDD and only 2G OS FAT32 partition (rest NTFS data) and Win2k SP4 refuse to install on the 2G partition, because they claim it is "damaged" and they have to format it. However the format run VERY slow and at the end it just say that it cannot do the job, because HDD is damaged!

Now, after your fix, it all run just PURRRRRRFECTLY! Thanks a lot!

Share this topic:


  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy