Welcome to MSFN

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.


Sign in to follow this  
Followers 0
ain.raza

Possible Bug

2 posts in this topic

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

0

Share this post


Link to post
Share on other sites

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

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  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.