still cant solve the registry problem but found out how to access the access denied files. if anyone needs to do this here we go:
start windows XP in safe mode. it must be in safe mode to be able to gain security settings access.
log on as an adminastrator.
all you have to do is go onto the properties of the folder you want to gain access to. by right clicking it and selecting properties. and uncheck the read only box.
click the security tab at which point it should tell you that you cannot gain acces to the folder no matter what you do HOW WRONG IT IS
clcik advanced and go onto the owner settings, again you have to click the advanced button. select find users in the search box and click on youurself.
after clicking OK click the checkbox on the bottom of the owner tab on the advanced security option box. at this point you will gain access to everything and it will all belong to you!
btw i did all this moved all my files then reformatted my hard disk. so remember ALLWAYS BACK UP THE REGISTRY.