Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 



Sign in to follow this  
ain.raza

Possible Bug

Recommended Posts

Hi

I have been trying to disable automatic restart on system failure but it doesn't turn out right. I have created the tweaked and unattended versions of XP SP2 and SP3 but in both the cases the system does not have this option enabled.

Has anyone else looked into this before. Is this a bug in nLite or in the Windows Setup

Thanks

Share this post


Link to post
Share on other sites

Guest

The following command sets it.

REG ADD HKLM\SYSTEM\CurrentControlSet\Control\CrashControl /v AutoReboot /t REG_DWORD /d 0 /f

The trick is to run it at around T-13 or later in the setup since this value is persistent. Setting it earlier will fail.

I use an addon to accomplish the task. Here's an example of the INF I use:

[Version]
Signature="$Windows NT$"

[Optional Components]
5erXPref

[5erXPref]
OptionDesc ="5eraph's XP Personal Preferences"
Tip ="5eraph's XP Personal Preferences Addon"
Modes =0,1,2,3
AddReg =XPrefs.AddReg

[XPrefs.AddReg]
HKLM,"%RunOnce%","AR-1",,"REG ADD ""HKLM\%RunOnce%"" /v ""AR"" /t REG_SZ /d ""REG ADD HKLM\SYSTEM\CurrentControlSet\Control\CrashControl /v AutoReboot /t REG_DWORD /d 0 /f"" /f"

[Strings]
RunOnce ="Software\Microsoft\Windows\CurrentVersion\RunOnce"

And here is the corresponding entries_prefs.ini

[general]
builddate = 2008/07/04
description = XP Personal Preferences Addon by 5eraph
title = XP Personal Preferences Addon
version = 2.1

[sysoc]
5erXPref=ocgen.dll,OcEntry,5erXPref.inf,HIDE,7

[dosnet_files]
d1,5erXPref.inf

[txtsetup_files]
5erXPref.inf = 100,,,,,,,20,0,0

[i386_compress]
rvmtemp\extracted\5erXPref.inf

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×