Does anyone know a quick way or tool that can reset XP to it default NTFS permissions? And does this also reset the registry permissions.

I am not looking to change the security rights for users. I have an image that someone has applied permissions to folders and the registry, which overall is causing problems.

Thanks..