System Restore Settings

Hi experts

First question on here...

Can I manage system restore settings of the computers I manage using group policy?

If yes, let me know which setting and if not, is there any alternative to centrally manage this?

Thanks

Cloud IT
clouditukAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

vmwarun - ArunCommented:
You can disable System Restore using the Computer Configuration Template under
Computer Configuration -> Administrative Templates -> System -> System Restore.
0
clouditukAuthor Commented:
hi arun

I don't want to disable it, I want to control the amount of space it uses. For example I want to say, all comptuers should use only 2% of disc space for System Restore.

I already know about disabling.
0
vmwarun - ArunCommented:
If you are trying to enable System Restore in an Active Directory Domain Environment, then I would suggest not to use it.
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Jim P.Commented:
Sorry to be a google monkey, but does this answer the question?

http://www.theeldergeek.com/re-enable_system_restore.htm
0
dan_blagutCommented:
Hello

In the registry you have a key named HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore\DiskPercent. Setting this key at a value will change the anount of disk used by system restore. You can do that using a reg file insered in the logon script.

Dan
0
johnb6767Commented:
If you dont have local admins, then use a Machine Startup Script.....

Or create a custom ADM template....

Reg2ADM
http://yizhar.mvps.org/
0
clouditukAuthor Commented:
Hi Dan

I like your idea.

Now if I understand the group policies correctly, aren't all GP settings effectively registry settings which are applied when the GP is applied?

If that's correct, there should be a way to convert the reg settings into a GP template or something.

Cloud IT
0
dan_blagutCommented:
If you try to look into the adm files you will see that 90% are registry keys. I will try to modify one adm for you.

Dan
0
clouditukAuthor Commented:
That's great dan

Look forward to the adm file.
0
johnb6767Commented:
"If that's correct, there should be a way to convert the reg settings into a GP template or something."

The link I posted for Reg2Adm does just that.
0
dan_blagutCommented:
Can you tell me what version of adm do you use?
0
dan_blagutCommented:
Hello

I tried to modify the adm, to generate a custom adm, nothing works.
But, you can inject the key into the registry using a script that you link in a gpo as computer startup script. That way the script will be executed as SYSTEM, so no worry about permission for user.

Dan
0
clouditukAuthor Commented:
Hi Dan

That's fine. Can you give me a reg file?

Cloudit
0
dan_blagutCommented:
Hello

The file must contain this:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore]

"DiskPercent"=dword:00000009

You can edit the value en hex. Here the percent is 9%, by default is 0000000c =12%

dan
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
clouditukAuthor Commented:
Hi Dan

This is excellent.

I will try this out and let you know.

Do you know if this will work for all platforms i.e. XP, Vista and 7 or will we have to try differnt things for different platforms?

Cloudit
0
dan_blagutCommented:
XP OK
7 NOK
Vista I can't test, but I presume NOK (similar with 7)

I will try to search a solution for Vista/7
0
clouditukAuthor Commented:
Hi Dan

That's fine, if you do find a solution let me know.

I do play around with GPOs a lot so I will also see if there is a way to add a registry value using GPO in Win7/Vista.

cloudit
0
dan_blagutCommented:
In the same optic, you have that for Vista:

http://www.vista4beginners.com/System-Restore-Space-Used

Dan
0
clouditukAuthor Commented:
Hi Dan

I can't believe I forgot abt this.

Only yesterday I used this command to change it on a Vista PC I have.
Add this as computer startup script and we are done.
I am sure it works for Windows 7 as wel....

So once I have tested the XP regfile, its all done...excellent.

Cloud IT
0
Jim P.Commented:
Just as a tool tip, if you have any NT/98/95 machines use "REGEDIT4" and will work with "Windows Registry Editor Version 5.00" files/editor.

If you want to blow out a key do a minus before: [-HKEY_HIVE\KEY\KEY].

To blow out a subvalue do a
[HKEY_HIVE\KEY\KEY]
"TestValue"=-

A lot of times, it I am doing a whole registry I will blow out the reg key and re-add it in the same file as in:
------------------------------------------------------------------------------------
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore]
"DiskPercent"=dword:00000009
"RPSessionInterval"=dword:00000001
------------------------------------------------------------------------------------

Another thing to do is create your own registry key to check for login scripts have run:
------------------------------------------------------------------------------------
[HKEY_LOCAL_MACHINE\SOFTWARE\MyCompany]
"MyAppConfig" = "20104222"
------------------------------------------------------------------------------------

Then as part of the script you do a regread to see if MyAppConfig exists with the right value. That way you only run it once.

http://support.microsoft.com/kb/310516
0
clouditukAuthor Commented:
Good stuff
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Project Management

From novice to tech pro — start learning today.