Alanoll Posted August 13, 2004 Share Posted August 13, 2004 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) Link to comment Share on other sites More sharing options...
killerbee Posted August 13, 2004 Share Posted August 13, 2004 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...cyaKiller Bee Link to comment Share on other sites More sharing options...
Alanoll Posted August 13, 2004 Author Share Posted August 13, 2004 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...cyaKiller Beewhat do you think I did first? spend a day scouring the net Link to comment Share on other sites More sharing options...
BeenThereB4 Posted August 13, 2004 Share Posted August 13, 2004 Don't you just want a command line ini editor? I beleive that GreenMachine uses one with XPcreate. Link to comment Share on other sites More sharing options...
Alanoll Posted August 13, 2004 Author Share Posted August 13, 2004 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. Link to comment Share on other sites More sharing options...
MCT Posted August 13, 2004 Share Posted August 13, 2004 just out of curiosity.. i just noticed /NoExecute in sp2 after upgrading.. been meaning 2 find out wat it is.. so what is it Link to comment Share on other sites More sharing options...
bmill99 Posted August 13, 2004 Share Posted August 13, 2004 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 Link to comment Share on other sites More sharing options...
MCT Posted August 13, 2004 Share Posted August 13, 2004 hmm, thats gimpy thats an extra switch (i dont have a 64bit edition but it still gets added)thanks 4 the info Link to comment Share on other sites More sharing options...
Alanoll Posted August 13, 2004 Author Share Posted August 13, 2004 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.@BeenThereB4I 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) Link to comment Share on other sites More sharing options...
baliktad Posted August 13, 2004 Share Posted August 13, 2004 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now