Sign in to follow this  
Followers 0
JayDogg

need help with adding reg entry to HIVESFT.INF

3 posts in this topic

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

0

Share this post


Link to post
Share on other sites

U can apply this tweak at T13 using .reg method (I mean like regedit /s method or equivalent)?

Edited by Geej
0

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.