MSFN Forum: BOOT.INI switches location, in SETUP files - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

BOOT.INI switches location, in SETUP files Rate Topic: -----

#1 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 12 August 2004 - 07:48 PM

Now, before ANYONE says they're located in BOOT.INI in %systemdrive%, I already know that :)

This question is geared more towards those who have delved into the inner workings of the XP setup, and you know who you are....

Any idea where SETUP stores/generates the switches for BOOT.INI?

I'm looking to either change/remove the /NoExecute switch and replace it with /Execute (disabling DEP in essence). Bootcfg.exe can't do it, and I could pipe the text out via ECHO in a batch, but then Windows would have to be installed on the same partition on EVERY computer (not gonna happen)


#2 User is offline   killerbee 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 500
  • Joined: 22-April 03

Posted 12 August 2004 - 08:08 PM

hi alanoll,

you have just asked the question i would have asked after another 3h-googling-session for that. i hope someone can help on this...

cya

Killer Bee

#3 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 12 August 2004 - 08:12 PM

killerbee, on Aug 12 2004, 09:08 PM, said:

hi alanoll,

you have just asked the question i would have asked after another 3h-googling-session for that. i hope someone can help on this...

cya

Killer Bee

what do you think I did first? spend a day scouring the net :)

#4 User is offline   BeenThereB4 

  • Microsoft has made me Certifiable
  • PipPip
  • Group: Members
  • Posts: 225
  • Joined: 30-April 04

Posted 12 August 2004 - 08:15 PM

Don't you just want a command line ini editor? I beleive that GreenMachine uses one with XPcreate.

#5 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 12 August 2004 - 08:33 PM

that would work if
multi(0)disk(0)rdisk(0)partition(3)

were constant on all my systems (same disc, 4 systems, EACH different in almost everyway)

However, for those with just one system and want to remove something.

#6 User is offline   MCT 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,288
  • Joined: 19-May 04

Posted 12 August 2004 - 09:13 PM

just out of curiosity.. i just noticed /NoExecute in sp2 after upgrading.. been meaning 2 find out wat it is.. so what is it :)

#7 User is offline   bmill99 

  • MSFN Agent Smith
  • Pip
  • Group: Members
  • Posts: 76
  • Joined: 14-January 04

Posted 12 August 2004 - 10:26 PM

The /noexecute parameter enables no-execute protection, which prevents the contents of memory pages that store data from being executed as code.

This parameter is valid only on boot entries for 32-bit versions of Windows running on AMD64 processors, and only when physical address extension (PAE) is also enabled. (See /pae.)

No-execute protection is enabled by default on computers with AMD64 processors when they are running in long mode (64-bit addressing). There are no boot parameters to enable or disable this feature in long mode.

More Info

#8 User is offline   MCT 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,288
  • Joined: 19-May 04

Posted 12 August 2004 - 10:29 PM

hmm, thats gimpy :rolleyes: thats an extra switch (i dont have a 64bit edition but it still gets added)

thanks 4 the info :)

#9 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 12 August 2004 - 10:51 PM

The thing is, it's not really and truly active unless you have a DEP enabled processor, AMD64, Opterons, or the brand spanking new Intels. None of which I have, but I"ve just been curious about this for awhile..... :)

It also changes the way the kernel views the way to run programs. Even if you don't have a DEP enabled processor, the memory is still allocated, which may or may not cause problems.

@BeenThereB4
I think I may have a way to use your suggestion. I'll post back when I get some sleep and if I remember the idea. Basically use BOTH INI programs included with XPCREATE. One to get the key name, and use the second to set it. SHould work, but in my setup, that could be ALOT of conditional statements (YEAH BOOLEAN LOGIC)

#10 User is offline   baliktad 

  • Stellar Underachiever
  • PipPip
  • Group: Members
  • Posts: 155
  • Joined: 24-October 03

Posted 12 August 2004 - 11:31 PM

What you want is a basic text file search and replace utility. You may find rep.exe somewhere on the net. A better bet would be a Win32 port of gsar (general search and replace), which is part of the gnu utility set. You can get a set of Win32 unix utils here. Quite useful really, and free. You'll have to work out the syntax to do what you want.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy