Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Possible Bug

- - - - -

  • Please log in to reply
1 reply to this topic

#1
ain.raza

ain.raza
  • Member
  • 1 posts
  • Joined 22-June 08
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


How to remove advertisement from MSFN

#2
5eraph

5eraph

    Update Packrat

  • MSFN Sponsor
  • 1,165 posts
  • Joined 04-July 05
  • OS:XP Pro x64
  • Country: Country Flag

Donator

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





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users