Tweaking.com Support Forums
Main Forum => Tweaking.com Support & Help => Topic started by: neroilo on March 28, 2013, 03:31:50 am
-
SYSTEM and NTUSER.DAT Registry hives were not compressed in my XP SP3 Pro, even in safe mode, using the best compression option.
I have some compressed hives named as SYSTEM.NEW and NTUSER.DAT.NEW.
-
If the system had trouble with SYSTEM.NEW then the ntuser.dat wouldn't be replaced either.
Here is how the program works.
1. It saves each registry hive to a new file and adds .NEW to those files. (it does this on Step 1)
2. When you click step 2, it tells windows to start using the .New file and to rename the current ones to .OLD
3. So at reboot only the .OLD files should be left. In order to replace the ntuser.dat I have to use the pending rename operations. Which has to be loaded in the system hive. So since the system hive didnt get restored to the new file the ntuser one didnt either.
So the question is why didnt the system.new take?
I dont have any error reporting in the program, I may need to add some.
Go ahead and delete the .new and .old files and try again and let me know how it goes. :wink:
Shane
-
Go ahead and delete the .new and .old files and try again and let me know how it goes. :wink:
I already did it, but it doesn't work either.
-
I will have to put some error reporting into the program so we can see why it isnt taking the new system hive then :-)
Does it work if you try the other compression options?
Shane
-
Does it work if you try the other compression options?
No, it doesn't, even after deleting .old and .new files.
This issue regards all compression options.
I have Panda cloud antivirus free in the background + Windows Firewall + Process lasso Pro edition (last stable version with default settings, no changes).
-
Turn off the AV program & Process lasso and try again. The AV is the most likely candidate that prevents Registry Compressor from "meddling" with the registry.
-
Turn off the AV program & Process lasso and try again. The AV is the most likely candidate that prevents Registry Compressor from "meddling" with the registry.
Of course I tried both of them, I can still confirm it.
-
I am a little behind on getting some updates done. So many things hitting me at once.
Once I get the next version of Windows repair out, remind me and I will make a new version of the compressor with a way for it to report any errors. That will help us find out why that one hive isnt getting replaced :-)
Shane
-
Once I get the next version of Windows repair out, remind me and I will make a new version of the compressor :-)
Done! :wink:
-
Give this new exe a try :-)
If there is an error it should open a msg box.
Shane
-
Give this new exe a try :-)
If there is an error it should open a msg box.
Shane
No mgs box here. The program just looks the same as before, with the same bug described in my previous posts.
-
Well crap lol
Let me double check the code and make a new exe to try and give us an error message :-)
Shane
-
Do me a fave and post a screen shot of the program for me.
I want to see what it shows for the file paths for each one. I am wondering if there might be a char it doesnt like.
Shane
-
Do me a fave and post a screen shot of the program for me.
I want to see what it shows for the file paths for each one. I am wondering if there might be a char it doesnt like.
Shane
In this XP system I'm logged with an username who has a space inside it (i.e. Robert Connor).
Maybe your program doesn't support it.
-
I am using the Windows API and I just pass a string to it, I dont think spaces should hurt. Plus the system hive isn't getting replaced while the others are.
So I want to see a screen shot to see if there was something different in the path to the system hive.
Shane
-
I am using the Windows API and I just pass a string to it, I dont think spaces should hurt. Plus the system hive isn't getting replaced while the others are.
So I want to see a screen shot to see if there was something different in the path to the system hive.
Shane
Here you are:
-deleted-
-
Looks normal.
I will make another user account and add a space to it and see if it works for me. Perhaps there is something with it.
Shane
-
OK having a space in the path does keep it from working for the current user. But the system hive still worked fine on my system.
I will make an update to fix the space and then we will go from there on the system hive.
Shane
-
I take that back. It works fine. I thought the system rebooted when it didnt.
So on a xp machine it works fine with spaces.
And when I ran it again before the reboot the errors did pop up saying access denied. SO I know the error handling is working.
It is odd how the 2 hives are not loading, yet the others are and there is no error.
Shane
-
So, is there something I can do to help? :smiley:
-
I can fix any bug that I can reproduce. But I cant reproduce this one and it isnt giving any errors.
Do you have trouble on any other systems? Or is it just this one?
Shane
-
When I ran it a second time before rebooting, I was able to reproduce these access denied errors on the same XP machine:
C:\Windows\System32\config\default.new
5: Denied access.
C:\Windows\System32\config\sam.new
5: Denied access.
C:\Windows\System32\config\security.new
5: Denied access.
C:\Windows\System32\config\software.new
5: Denied access.
C:\Windows\System32\config\system.new
5: Denied access.
So, the error handling works for me too.
Is it possible that your program is not compatible with User Profile Hive Cleanup Service?
http://www.microsoft.com/en-us/download/details.aspx?id=6676
-
Shouldnt be a problem.
The program is able to write the hive files to new files. The user profile is a simple move process at the system startup using the pending rename operations key in the system hive.
The program writes it to both the current system hive and the new one yet both are still not being replaced yet the other hives are as well. And the program gets no error, it thinks everything went fine.
Thats the hard part, nothing so far to give us a direction to look at.
Shane
-
I reproduced this bug on another XP, then I arrived to a conclusion.
In both OSes, I have a software called AnyDVD, which installs a driver component named SPTD.
Disabling SPTD driver through regedit as suggested here (http://www.duplexsecure.com/faq), RC seems ok now. No .new temporary extension in SYSTEM hive.
Odd thing is, I have AnyDVD with SPTD in another machine with Win7, no problem there (probably because my Windows 7 version is at 64 bit).
-
Great fine bud :-)
I am at a loss to why the SPTD driver would keep the system from loading the hive though. At least it isnt my program lol. But I do want to find out what is going on with the sptd.
And sptd on the windows 7 would be a different version of the driver.
Shane
-
Did you try to reproduce the conflict installing AnyDVD + SPTD on a Windows XP system?
-
No I have not. Been obsessed with this game I am making lol
I am trying hard to have it out by next month :-)
Shane