Doug Sherman
MCSE, MCSA, MCP+I, MVP
"Smurfman" <smur...@news.postalias> wrote in message
news:281E6487-806D-42E0...@microsoft.com...
> Is there a script that can be run to reset all of the registry settings on
a
> particular machine? Making the registry as if it was just puchased from
the
> store or freshly installed.
>
> I noticed that during an upgrade from Windows 2000 to Windows XP Pro,
there
> are some registry security settings that do look proper, and some had to
be
> changed to make certain programs work, such as for a smart card.
>
> Basically I want to reset everything as if it were new, a default install,
> and since this is an upgrade I am supposedly not allowed to install the XP
> Upgrade without Windows 2000 installed first? Not sure on that one
though.
>
> Thanks
> J
Thank you for using newsgroup!
For your requirement, I agree with our MVP Doug's suggestions. In fact,
there is no way to reset all default registry settings in Windows XP. If
you would like to reset the permission of the whole registry, the following
command tool maybe helpful:
SubInAcl
1. Download and install subinacl from:
<http://www.microsoft.com/downloads/details.aspx?FamilyID=e8ba3e56-d8fe-4a91
-93cf-ed6985e3927b&displaylang=en>
2. Create a file named reset.cmd in C:\Program Files\Windows Resource
Kits\Tools folder.
3. Edit the reset.cmd file with the following content.
subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f
subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f
subinacl /subdirectories %SystemDrive% /grant=administrators=f
subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=system=f
subinacl /subkeyreg HKEY_CURRENT_USER /grant=system=f
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=system=f
subinacl /subdirectories %SystemDrive% /grant=system=f
4. Enter into CMD prompt.
5. Enter the following commands one at a time and click Enter.
cd\
cd "C:\Program Files\Windows Resource Kits\Tools"
reset.cmd
6. After a few minutes by processing subinacl, the permission will be reset.
Hope that helps!
Thanks & Regards,
Ken Zhao
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
=====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| Thread-Topic: Reset Default Windows XP Registry Settings
| thread-index: AcXu6ApvgGhmxzH7Rh6Jn/QKabJD1A==
| X-WBNR-Posting-Host: 209.217.222.70
| From: "=?Utf-8?B?U211cmZtYW4=?=" <smur...@news.postalias>
| Subject: Reset Default Windows XP Registry Settings
| Date: Mon, 21 Nov 2005 14:08:02 -0800
| Lines: 14
| Message-ID: <281E6487-806D-42E0...@microsoft.com>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.windowsxp.general
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.windowsxp.general:1395994
| X-Tomcat-NG: microsoft.public.windowsxp.general
NO such puppy exists.