MSFN Forum: regedit + regedt32 - MSFN Forum

Jump to content



If you are having issues with Windows after removing components and have come to ask for help, please attach (not paste) your Last Session.ini file to your post to facilitate quicker assistance.
  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

regedit + regedt32 Rate Topic: -----

#1 User is offline   mitsukai 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 476
  • Joined: 07-January 07

Posted 26 November 2008 - 02:27 PM

Whats the diffrence, why would i need 2 programs for the same thing?
also regedit is in the windows and in windows/system32.
i only need one. and maybe i dont need it at all.
Can there be an option to remove this file


#2 User is offline   johnhc 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,241
  • Joined: 02-March 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 26 November 2008 - 03:11 PM

mitsukai,
I am running XP x64, so I have even more of these (32 and 64 bit versions). In both cases Regedt32 is small (5k or 7.5K) and Regedit is larger (144k or 219k). I suspect that the smaller ones are used to set conditions and call the larger ones. I also suspect many, many programs use one or the other routines to get their work done. If you remove any one or both I suspect will result in lots of programs (especially installers) to fail. If you are running under a virtual system, give it a try. It would be interesting to know what happens. I should also point out that Regedt32 is also in the DLL cache and probably protected by SFC/WFP, which can be turned off in nLite.
Enjoy, John.

#3 User is offline   mitsukai 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 476
  • Joined: 07-January 07

Posted 26 November 2008 - 03:44 PM

thanks i always test inn vmware.

i will just see how it goes i dont think any program needs these files.

For registery editing i will add a better program

#4 User is offline   jaclaz 

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

Posted 27 November 2008 - 03:55 AM

For the record, and probably unneeded, the "dependencies" of regedit appear to be a bit complex and I guess that most Registry editing programs use the same ones.

In this seemingly unrelated thread, you will find a list of the actual dependencies:
http://www.boot-land...?showtopic=3717

and an almost (but not fully) working "native" Registry Editor that needs none of them.

jaclaz

#5 User is offline   mitsukai 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 476
  • Joined: 07-January 07

Posted 27 November 2008 - 09:41 AM

ok i want to do the same thing that is done there.

basicly make a windows that has no "software" in it. remove all components in nlite. and after that remove all left over by hand... regedit... all the commandline tools. even mmc and the CPL bits... basicly anything that is possible to be deleted...

I also have a copy of windows embeded 2009 i took minlogon from there and i integrated this in the nlite install, but at first boot it goes wrong.
But im also pretty sure that alot of features of winlogon can be removed through the registry keys.

please pm me your msn... its easier to ask for help, if you arnet to busy..



ok these guys seem todo it diffrent.
what i am gonna try is, make my vmware use one of my partitions as a virtual hard drive, install a xp with all componennts remove. then i will shut down the vm and then remove all files made in my partition. Then i will add file by file, and go from there. The only problem i am facing is i need a tool to edit the registry files in system32/config.
I am also a programmer so i can make replacements for tools which have no dependencies!
If i can do this i will be able to make a very lite capable xp..

any help is welcome please pm me yahoo/msn..

This post has been edited by mitsukai: 27 November 2008 - 10:23 AM


#6 User is offline   jaclaz 

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

Posted 27 November 2008 - 10:34 AM

Well, I have NO msn/yahoo anything. :blink:

What is the problem opening a thread here or (better for this particular topic) on boot-land?

You can also try using this app for OFFLINE Registry editing:
http://www.boot-land...?showtopic=4684

Why don't you join the XPCLI project? :unsure:

The idea is starting from the LEAST possible configuration and ADD things, INSTEAD of REMOVING a bunch of things, then remove some more, then remove some more....and get to the point where cross-dependencies makes everything a mess.

This way the build is "modular" and if each "item" is complete of all dependencies, each item will be "self-standing" and addable or not.

jaclaz

#7 User is offline   mitsukai 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 476
  • Joined: 07-January 07

Posted 27 November 2008 - 10:51 AM

> Board Offline

The board backup is being performed. We will be back online once it is complete.


anyway... im going todo it file by file, key by key.
i will use a diffrent shell(blackbox for now) and minlogon from my XPe.

you are completly right about the "modular" thing, But in my case i want to make replacements of almost evrything(maybe not in the beginning, start with notepad, a simple explorer etc.)
I think i will be looking into C with assembly (look here http://www.phreedom....r/code/tinype/)
since i will use the NTDLL.DLL which contains almost all the base functions, dependencies of my software will be small and with tinype these programs might only be a few 10's KB.
Maybe i will even end up programming my own wireless configuration service. (i have no idea how im going todo this but i will have to look into r
egistry keys for this and into linux wireless drivers)

But for now the most imporant for me is to make the very basic build with blackbox working.

#8 User is offline   jaclaz 

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

Posted 27 November 2008 - 11:05 AM

Yep, site will be back soon. :)

Actually the BBLEAN used in current XPCLI is BlackBox...
http://bb4win.sourceforge.net/bblean/
(or at least is one of the main "branches")

Which one would you like to use?


...and I would also like to change almost anything.

jaclaz

This post has been edited by jaclaz: 27 November 2008 - 11:06 AM


#9 User is offline   mitsukai 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 476
  • Joined: 07-January 07

Posted 27 November 2008 - 12:03 PM

bblean is fine. thanks.
i can always change.\

the link to download raw reg is dead...

This post has been edited by mitsukai: 27 November 2008 - 12:37 PM


#10 User is offline   jaclaz 

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

Posted 27 November 2008 - 12:46 PM

View Postmitsukai, on Nov 27 2008, 07:03 PM, said:

the link to download raw reg is dead...


it's working for me (maybe ot was the Server transition that caused it to be not working):
http://nunobrito.eu/...oad.php?view.10
http://nunobrito.eu/request.php?10

Just as a teaser ;), here is a screenshot with BBlean:
Posted Image


jaclaz

#11 User is offline   mitsukai 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 476
  • Joined: 07-January 07

Posted 27 November 2008 - 01:19 PM

what is the registery key for changing the shell?

and the raw reg program i cannot add a new key ...it jsut does not work

#12 User is offline   jaclaz 

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

Posted 28 November 2008 - 03:58 AM

View Postmitsukai, on Nov 27 2008, 08:19 PM, said:

what is the registery key for changing the shell?

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
or if you prefer
SOFTWARE
Microsoft\Windows NT\CurrentVersion\Winlogon

Value "Shell"


View Postmitsukai, on Nov 27 2008, 08:19 PM, said:

and the raw reg program i cannot add a new key ...it jsut does not work

The app is still highly experimental, and the interface is a little different from usual ones.
Just right click on the parent key and choose "Add".
You cannot (yet ;)) add a new value, you can only edit existing values.


jaclaz

#13 User is offline   mitsukai 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 476
  • Joined: 07-January 07

Posted 28 November 2008 - 09:32 AM

for now i will just use load/unload hive function in reg edit.

#14 User is offline   jaclaz 

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

Posted 28 November 2008 - 10:18 AM

View Postmitsukai, on Nov 28 2008, 04:32 PM, said:

for now i will just use load/unload hive function in reg edit.

This may come useful, then ;):
http://www.matcode.com/codes.htm

jaclaz

#15 User is offline   mitsukai 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 476
  • Joined: 07-January 07

Posted 28 November 2008 - 11:26 AM

right now im building a list of required registry keys and dll's for the basic files (minlogon, lsass.exe, services.exe, blackbox.exe) (i dont know if svchost.exe and run32dll is required for now)

minlogon strings:

01001210: 'PrimaryDnsSuffix',0000h
01001234: 'NV PrimaryDnsSuffix',0000h
01001260: 'Software\Policies\Microsoft\System\DNSclient',0000h
010012BC: 'Domain',0000h
010012CC: 'NV Domain',0000h
010012E0: 'Hostname',0000h
010012F4: 'NV Hostname',0000h
01001310: 'System\CurrentControlSet\Services\Tcpip\Parameters',0000h
01001378: 'SAS window class',0000h
0100139C: 'SAS window',0000h
010013C8: 'Skew1',0000h
010013E0: 'System\CurrentControlSet\Control\Lsa',0000h
0100142C: 'SecurityService',0000h
0100144C: 'UuidSequenceNumber',0000h
01001474: 'Software\Microsoft\Rpc',0000h
010014A4: 'SecureBoot',0000h
010014F8: 'Winsta0\Default',0000h
01001518: 'LsaStart',0000h
0100152C: 'ServiceControllerStart',0000h
0100155C: 'Config',0000h
0100156C: 'Userinit',0000h
01001580: 'Shell',0000h
0100158C: 'SetupType',0000h
010015A0: 'FactoryPreInstallInProgress',0000h
010015D8: 'SystemSetupInProgress',0000h
01001604: 'CmdLine',0000h
01001614: 'cmd.exe',0000h   
01001628: '%SystemRoot%\system32\lsass.exe',0000h
01001668: '%SystemRoot%\system32\services.exe',0000h
010016B0: 'System\Setup',0000h
010016D0: 'Software\Microsoft\Windows NT\CurrentVersion\Winlogon',0000h
0100173C: ' -setup',0000h
0100174C: ' -nolsa',0000h
0100175C: 'Default',0000h
0100176C: 'Winlogon',0000h
01001780: 'WinSta0',0000h
01001790: 'USERPROFILE',0000h
010017A8: 'COMPUTERNAME',0000h
010017C4: 'InitShutdown',0000h
010017E0: '\INSTALLATION_SECURITY_HOLD',0000h
01001818: '\SAM_SERVICE_STARTED',0000h
01001844: 'shsvcs.dll',0000h
0100185C: 'RpcSs',0000h
01001868: 'SamSs',0000h
01001874: '\Security\WxApiPort',0000h
01001A6C: 'eventlog',0000h
01001A80: '\Registry\Machine\System\CurrentControlSet\Control\SecurePipeServers\',0000h
01001B0C: 'ncacn_np',0000h
01001B20: '\PIPE\',0000h

-setup and -nolsa seems to be command lines?
i think minlogon can be made so it does not execute lsass.exe

This post has been edited by mitsukai: 28 November 2008 - 11:27 AM


#16 User is offline   jaclaz 

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

Posted 28 November 2008 - 11:50 AM

mitsukai,
don't want to put you down or anything, but since you are going the "minlogon" way, why don't you start from the already tested and working project? :unsure:

At least try building it, either with my "caveman" batches:
http://www.boot-land.net/forums/index.php?...=3717&st=47
or with the Winbuilder project by allanf:
http://www.boot-land.net/forums/index.php?...=3717&st=67


Dietmar has put a lot of effort in building the "base" hives, it seems to me just wasted time to repeat his steps to get to exactly the same result, or however, I guess you will save a lot of time by modifying the as said already working and tested "base" instead of starting from scratch.

jaclaz

#17 User is offline   mitsukai 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 476
  • Joined: 07-January 07

Posted 28 November 2008 - 12:03 PM

you are right... but i dont know where to start, cant i just dl the base hive reg files?
i have never use winbuilder.. i will check out your batch file

i see its SP1, not that it should matter cause the basic files are still the same..

This post has been edited by mitsukai: 28 November 2008 - 12:05 PM


#18 User is offline   jaclaz 

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

Posted 28 November 2008 - 12:13 PM

View Postmitsukai, on Nov 28 2008, 07:03 PM, said:

you are right... but i dont know where to start, cant i just dl the base hive reg files?
i have never use winbuilder.. i will check out your batch file

i see its SP1, not that it should matter cause the basic files are still the same..


Sure, both original Dietmar's Registry Hives and my (integrated) ones are in XPcli_build.zip, attached to the referenced post:
http://www.boot-land.net/forums/index.php?...=3717&st=47
if you just follow the posted instructions and take a bit of time reading the whole thread starting from the referenced post, where some more hints are givenyou should have no problem in buiding, either manually - but WHY? :w00t: - or using the batch, a working XPCLI.

I have tested it with both SP0 and SP1 and cdob reported it as working with SP2:
http://www.boot-land.net/forums/index.php?...=3717&st=68
I cannot see any reason why it shouldn't with SP3 also, though AFAIK is untested.

jaclaz

#19 User is offline   mitsukai 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 476
  • Joined: 07-January 07

Posted 28 November 2008 - 12:18 PM

but i have to be registered :| can u attach it in this thread...

#20 User is offline   jaclaz 

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

Posted 28 November 2008 - 12:51 PM

View Postmitsukai, on Nov 28 2008, 07:18 PM, said:

but i have to be registered :| can u attach it in this thread...

Sure, life is tough.... :(
...whats the problem with registering on boot-land? :unsure:

The file is anyway bigger than the max size alllowed on MSFN.

jaclaz

Share this topic:


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

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



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