scankurban Posted November 1, 2005 Posted November 1, 2005 I'm trying to find a solution disable system restore for all drives except root drive.Of course it must be disable when new disk installedAnybody know how?
colornokia Posted November 2, 2005 Posted November 2, 2005 start->settings->contorl panel->system->system restoreselect the drive for which you want to disable system restore from the list and select settings. Chose disable system restore for this device. Repeat this step for every drive you want to disable system restore for.
cluberti Posted November 2, 2005 Posted November 2, 2005 Google is your friend:http://msdn.microsoft.com/library/default....stemrestore.asp
Shark007 Posted November 2, 2005 Posted November 2, 2005 Since this was placed in an 'unattended' forum, i'd have to assumethe original poster wants an unattended solution.I dont have the solution, but am also interested.[bump]
idbirch2 Posted November 2, 2005 Posted November 2, 2005 Since this was placed in an 'unattended' forum, i'd have to assumethe original poster wants an unattended solution.I dont have the solution, but am also interested.[bump]Yes, thank you Shark007, someone with some common sense. It is of course a request for an unattended solution.@cluberti - combining the thread topic with the forum it is posted in is your friend....
gunsmokingman Posted November 3, 2005 Posted November 3, 2005 I guess the people are just to lazy to open the link that cluberti has provided. It has all the information needed to do what was requested. What do you expect someone to take there time and write it for you. Maybe if you took the time to read this and then took the time to learn how to script then it would work the way you would like it to, VBS scripts can be run in a UA install.
cluberti Posted November 3, 2005 Posted November 3, 2005 Thanks .I didn't want to rewrite something that was already written so clearly. It was my hopes that people would click the link
Shark007 Posted November 3, 2005 Posted November 3, 2005 I guess the people are just to lazy to open the link that cluberti has provided.No, your assumption i am lazy is incorrect.It has all the information needed to do what was requested.Sorry, i read the page, but didnt understand what i read because i know nothing of vbscript.What do you expect someone to take there time and write it for you.Yes, if its that easy to do. And by your remarks, i'd have to assume this is easy.I have attempted several times to create a vbscript to turn off restore on D, E, and F drives.I havent been successful.Maybe if you took the time to read this and then took the time to learn how to script then it would work the way you would like it toThank you for your help.shark
cluberti Posted November 3, 2005 Posted November 3, 2005 There are no ways to enable or disable system restore in the registry, only modify running settings (cache size, age of restore points, etc). Therefore, you must either learn VBScript to make these scripts, or, use something like AutoIT to script mouse clicks and keyboard presses and run it as a batch. There really isn't any other way to do what you're asking.
gunsmokingman Posted November 3, 2005 Posted November 3, 2005 You can also do it threw the winnt.sif but this is for all drives and or partitionsThis is what I use it in my UA Cd and I can confirm it works on my computer.This is set at 4 percent of disk or partition space.[systemRestore]CheckpointCalendarFrequency = 2 CheckpointSessionFrequency = 12 MaximumDataStorePercentOfDisk=4Basic Meaning of the settingsCheckpointCalendarFrequency Specifies the calendar frequency with which Setup creates automatic system checkpoints or restore points. CheckpointSessionFrequency Specifies the session length frequency after which Setup creates an automatic system checkpoint or restore point. MaximumDataStorePercentOfDisk Specifies the maximum percentage of the hard disk to use for the System Restore datastore. RestorePointLife Specifies the maximum age of a restore point before Setup automatically purges it from the datastore.Here is a basic script that may work I have not had time to test it as I am busy testing Vista.It ran on Vista with no errors, but you may want to try it on XP firstThis set it at 10 percent of the Disk or Partition spaceSave As SystemRestore.VBSConst GLOBAL_INTERVAL_IN_SECONDS = 100000Const LIFE_INTERVAL_IN_SECONDS = 8000000Const SESSION_INTERVAL_IN_SECONDS = 500000strComputer = "."Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\default")Set objItem = objWMIService.Get("SystemRestoreConfig='SR'")objItem.DiskPercent = 10objItem.RPGlobalInterval = GLOBAL_INTERVAL_IN_SECONDSobjItem.RPLifeInterval = LIFE_INTERVAL_IN_SECONDSobjItem.RPSessionInterval = SESSION_INTERVAL_IN_SECONDSobjItem.Put_Hope this helps.
Shark007 Posted November 3, 2005 Posted November 3, 2005 (edited) Now thats a reply!gunsmokingman, very appreciated. thanks.cluberti...... There really isn't any other way to do what you're asking.Thanks for the info alsoshark Edited November 3, 2005 by Shark007
scankurban Posted November 3, 2005 Author Posted November 3, 2005 Thank for helps guys... First; Yes its a unattended windows question.I know how can i disable manually. Second; I don't want set disk space for system restore the third one; I'm not programmer and i'm not interesting vbscript,its not about my job. The new problem is:When disable system restore for drive D: or E:.System restore remember this settings,how?
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now