Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

disable System Restore during install?

Featured Replies

@rockstarjeremy :

Thanks for that code ! I really like to solve stuff via vbs, i don't have to use any

3rd party application to automate stuff for me (yes i know about AutoIt and others,

i'm just trying to use all the native support i can get).

BTW: Do you know a good tutorial/faq about use of WMI under VBS ? There's

a lot of useful things that can be done (mainly reading system performance

counters) for various pieces of hardware. I've managed to rip vbs script that uses

WMI to access a wireless NIC (read-only) and have re-wrote it to work as

standalone script.

I use this in my cmdlines.txt

; Disable System Restore Service
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\srservice]
"Start"=dword:00000004

Of course that is in a .reg file that is called from cmdlines.txt,

Be sure to add the following command to your CMDLINES.TXT (either before or after the .reg file import...doesn't matter)

NET STOP "System Restore Service"

That will stop the service. Just disabling the service will leave it running until the next reboot or until it's been manually stopped either in the Services MMC or with the command above.

Edited by nmX.Memnoch

winnt.sif method works fine and really easy to do:

[systemRestore]    DisableSR=1

    CreateFirstRunRp=0

And in my regfile (cmdlines.txt) I also add the regkey for stopping the SR service.

That's it at least for me.....

  • 3 weeks later...

Hmmm I added both the WINNT.INF entry and did the cmdlines.txt thing... but still sstem rstore is not disabled upon first boot....hmmmm

Ok here's my method....

CDXP

--$OEM$

----cmdlines.txt

----cmdlines.reg

---$OEM$

-----------$1

--------------install

--------------RunOnceEx.cmd

--I386

----winnt.sif

1. In cmdlines.reg i put ALL my tweak, including off course the "Stop System Restore Service":

; Desactivation of System Restore Service

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\srservice]"Start"=dword:00000004

2. In cmdlines.txt i put this line:

[COMMANDS]

"REGEDIT /S cmdlines.reg"

3. In my RunOnceEx.cmd I import a second time my reg tweak:

REG ADD %KEY%\055 /VE /D "Configuration de Windows XP" /f

REG ADD %KEY%\055 /V 1 /D "regedit /s %cdrom%\SETUP\SOFT\Regtweak.reg" /f

Obviously this regtweak.reg contains also the strop SR tweak:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\srservice]

"Start"=dword:00000004

4. Into winnt.sif put these line:

[systemRestore]

DisableSR=1

CreateFirstRunRp=0

Here' a little part of my winnt.sif for example:

[GuiUnattended]AdminPassword=

EncryptedAdminPassword=No

OEMSkipRegional=1

OEMSkipWelcome=1

TimeZone=105

[userData]

ComputerName="PC-BUREAU"

FullName="Proprietaire"

OrgName="/"

ProductKey=your serial num here.

[Display]

BitsPerPel=16

Xresolution=1024

YResolution=768

Vrefresh=75

[systemRestore]

DisableSR=1

CreateFirstRunRp=0

[TapiLocation]

CountryCode=33

Dialing=Tone

[RegionalSettings]

InputLocale=040c:0000040c

LanguageGroup=1

Language=0000040c

UserLocale=0000040c

[identification]

JoinWorkgroup=WORKGROUP

[Networking]

InstallDefaultComponents=Yes

that's it, and its works fine ^^

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.