Solved

Turn of  System  restore

Posted on 2007-03-20
16
256 Views
Last Modified: 2010-03-05
Hi,

How can we disable/Turn off System Restore.Is there a tool or script by which i can do this.Is it possible to do it on a particularmachines or all machines on the network.

THX
Sharath
0
Comment
Question by:bsharath
  • 8
  • 7
16 Comments
 
LVL 6

Expert Comment

by:mattyfonz
ID: 18756008
Turning off System Restore with Group Policy
http://support.microsoft.com/kb/q283073/

0
 
LVL 27

Expert Comment

by:Jonvee
ID: 18756077
Perhaps this will also help >

"How to Disable System Restore in Win XP":
http://www.pchell.com/virus/systemrestore.shtml
0
 
LVL 11

Author Comment

by:bsharath
ID: 18761392
Hi,

Microsoft has given a method to disable system resore

Method 3: Use Registry Editor to Disable System Restore
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.
1. Click Start, click Run, type regedit, and then click OK.
2. In Registry Editor, locate the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT
3. Under Windows NT, create a new key:a.  On the Edit menu, click New, and then click Key.
b.  For the name of the new key, type SystemRestore.
 
4. Create a new DWORD value:a.  On the Edit menu, click New, and then click DWORD Value.
b.  Double-click the new key to open the Edit DWORD Value dialog box.
c.  Under Value name, type DisableConfig, under Value data, type 1, and then click OK.
 


Can you please do this on a bat file so that i can disable this where ever required.

Regards
Sharath
0
 
LVL 6

Expert Comment

by:mattyfonz
ID: 18761512
why dont you just use the group policy alternative i mentioned? it would be much easier and simpler to implement.
here is the code u requested

open a new notepad txt file
paste this

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\SystemRestore]
"DisableConfig"=dword:00000001


save it as systemrestore.reg


open another notepad txt file
paste this
regedit /s systemrestore.reg

save it as disablesystemrestore.bat

make sure these two files are in the same folder as each other

thats it, just run the bat file and it will insert that registry key into the registry as long as you have the adequate permissions to do so

0
 
LVL 11

Author Comment

by:bsharath
ID: 18761560
Thanks

Can we run this on a windows 2003

Does windows 2003 have a system resote option
0
 
LVL 6

Expert Comment

by:mattyfonz
ID: 18761589
it is not neccessary to run in server 2003

windows 2003 does not have system restore by default as far as i know. however there are steps that can be taken to add it if you wish. but since you are  trying to disable it, dont worry about running it on the server.

0
 
LVL 11

Author Comment

by:bsharath
ID: 18761904
Thanks
mattyfonz:

But his is disabling the option but can we just check or uncheck the option
0
 
LVL 6

Expert Comment

by:mattyfonz
ID: 18762038
ahh i see. sorry try this then
same steps as above
but copy this

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore]
"DisableSR"=dword:00000001

and save it as systemrestore.reg  instead of the other one. as you mentioned the other one disables access, this one turns it off
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 11

Author Comment

by:bsharath
ID: 18769288
mattyfonz:

This worked is there a way when in i can do this without a warning message like on a silent update.
0
 
LVL 6

Expert Comment

by:mattyfonz
ID: 18769305
what warning message is appearing?
that script should be totally silent. a cmd prompt will pop up for less than a second then dissapear
0
 
LVL 11

Author Comment

by:bsharath
ID: 18769329
---------------------------
Registry Editor
---------------------------
Are you sure you want to add the information in D:\Tools\System restore disable bat file\systemrestore.reg to the registry?
---------------------------
Yes   No  
---------------------------

This one
0
 
LVL 6

Expert Comment

by:mattyfonz
ID: 18769350
hmmm the /s in the batch file should be suppressing that are u sure you put that in?
0
 
LVL 11

Author Comment

by:bsharath
ID: 18769381
/S i dont see that in the reg file.Please post the whole content again.
0
 
LVL 6

Expert Comment

by:mattyfonz
ID: 18769442
the /s should be in the .bat file not the .reg file

are you running it with admin privliges?
0
 
LVL 11

Author Comment

by:bsharath
ID: 18769546
That this worked.Can we do this remotely on all machines or specific machines remotely.not the single machine psexec command
0
 
LVL 6

Accepted Solution

by:
mattyfonz earned 500 total points
ID: 18770366
as i mentioned in my first post if you are in a domain you can use group policy to simple turn off system restore.
Turning off System Restore with Group Policy
http://support.microsoft.com/kb/q283073/

since we have now created a script you can also assign this to run on login on any client machines you want. all you have to do is edit the group policy that is linked to the ou that the computers reside in.

it really would be so much easier if you used the group policy setting..
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now