Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

need help with adding reg entry to HIVESFT.INF

- - - - -

  • Please log in to reply
2 replies to this topic

#1
JayDogg

JayDogg

    Junior

  • Member
  • Pip
  • 63 posts
  • Joined 28-April 08
Ok I need to add this reg code to HIVESFT.INF
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\Tour","RunCount",0x00010001,0
what I would like to know is where should I add it in the HIVESFT.INF file and how it should be writen

Any help would be great thanks
Jay


How to remove advertisement from MSFN

#2
Geej

Geej

    Senior Member

  • Member
  • PipPipPipPip
  • 635 posts
  • Joined 01-January 08
  • OS:XP Pro x86
  • Country: Country Flag
U can apply this tweak at T13 using .reg method (I mean like regedit /s method or equivalent)?

Edited by Geej, 16 July 2009 - 10:48 AM.


#3
fdv

fdv

    MSFN Expert

  • Developer
  • 1,111 posts
  • Joined 16-July 04
  • OS:Windows 7 x64
  • Country: Country Flag
The HIVE entries are entered linearly.
Microsoft wrote them out of order so that in effect the registry is populated non-linearly. (Does that make sense?) So, not that it really matters, in other words, when Windows executes a HIVE file the entries in the hive file are entered into the registry as they appear in the hive file, but MS wrote the hive files in a messy way).

ANYWAY! Back on track with your question!
You can add this key of yours to any HIVE file that has entries beginning with HKLM.
That would be either HIVESFT.INF or HIVESYS.INF. Your choice. Add your line to the top, bottom, or middle, it doesn't matter at all. (Believe me, I have VERY HEAVILY edited HIVE files! I put all of my tweaks into them.)

You cannot simply edit a HIVE file without removing it's _X in LAYOUT however.*

*I have typed how to do this 300 bajillion trillion times on this board and of course now I can't find any links to my explanation. But perhaps you don't need a lot of text, so here it is: the secret of modifying the LAYOUT file. True black magic. Something not even nLite does, who knows why.

Open LAYOUT and do an edit/replace:
,_x, to ,,
(That's comma underscore ecks comma replaced with comma comma)
Save and done.
The _x simply tells Windows "check the file size and if it doesn't match, throw an error." (Why people treated this like the biggest mystery of all time still baffles me).

HIVESFT is a nice place to put corrections, by the way. You will find timezone data in this file.
I have deleted all of mine and replaced it with correct 2009 timezone data. Incredibly easy to do.
Just export your current TZ data and convert it to INF format. For example:

HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Alaskan Standard Time","Display",,"(GMT-09:00) Alaska"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Alaskan Standard Time","Dlt",,"Alaskan Daylight Time"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Alaskan Standard Time","Std",,"Alaskan Standard Time"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Alaskan Standard Time","MapID",,"30,31"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Alaskan Standard Time","Index",0x00010001,03,00,00,00
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Alaskan Standard Time","TZI",1,1c,02,00,00,00,00,00,00,c4,ff,ff,ff,00,00,0b,00,00,00,01,00,02,00,00,00,00,00,00,00,00,00,03,
00,00,00,02,00,02,00,00,00,00,00,00,00
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Alaskan Standard Time\Dynamic DST","2006",1,1c,02,00,00,00,00,00,00,c4,ff,ff,ff,00,00,0a,00,00,00,05,00,02,00,00,00,00,00,00,00,00,00,04,
00,00,00,01,00,02,00,00,00,00,00,00,00
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Alaskan Standard Time\Dynamic DST","2007",1,1c,02,00,00,00,00,00,00,c4,ff,ff,ff,00,00,0b,00,00,00,01,00,02,00,00,00,00,00,00,00,00,00,03,
00,00,00,02,00,02,00,00,00,00,00,00,00
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Alaskan Standard Time\Dynamic DST","FirstEntry",0x00010001,d6,07,00,00


And yep, it works perfectly. If you want my timezone INF to put in, just PM me. I won't attach it here since you didn't explicitly ask for it so it would kind of be off topic.

Happy editing!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users