Forum     

Go Back   Digit Technology Discussion Forum > Community > Tutorials
Register FAQ Calendar Mark Forums Read

Tutorials This section offers tutorials and How to's on just about anything related to computers and IT. Note: All tutorials are courtesy the posters and not verified by Digit


Closed Thread
 
LinkBack (5) Thread Tools Display Modes
Old 20-03-2008, 07:29 PM   5 links from elsewhere to this Post. Click to view. #1 (permalink)
Fast 'N' Furious
 
topgear's Avatar
 
Join Date: Jul 2006
Location: Geek's Heaven
Posts: 11,169
Default How To Disable Data Execution Prevention aka DEP


From Windows Help File :
Dep is feature that can be found on Windows XP Service Pack 2 (SP2) or later or Windows Server 2003 Service Pack 1 or later. Data Execution Prevention (DEP) helps prevent damage from viruses and other security
threats that attack by running (executing) malicious code from memory locations that only Windows and other programs should use. This type of threat causes damage by taking over one or more memory locations in use by a program. Then it spreads and harms other programs, files, and even your e-mail contacts. Unlike a firewall or antivirus program, DEP does not help prevent harmful programs from being installed on your computer. Instead, it monitors your programs to determine if they use system memory safely. To do this, DEP software works alone or with compatible microprocessors to mark some memory locations as "non-executable". If a program tries to
run code—malicious or not—from a protected location, DEP closes the program and notifies you.


Those are from Windows Help and Support. To know more about DEP consult any reliable M$ Article or Windows Help help file like I did. But this is not the point of this tutorial .

If you think Dep is making your life a pain in ass & you want to get rid of dep permanently then this tutorial is for you. Of course, you can disable dep from bios by disabling "Disable Execute Bit" or something like that.

But the purpose of my tute is to disable DEP using windows. It's all started when I bought my new machine & my lovely poser 5 refused to run on that. Every time I start poser my comp got restarted Immediately. Later I realized that if I disable dep from bios then this problem will not occur. But I was wanting something different from that.





So here goes my tutorial on how to disable dep :

Make backup of your boot.ini file fro just in case...........you messed up something........

Note : You need to have admin rights on that comp ( or should I say os ). Also make sure
you have enabled Show hidden files & folders & disabled Hide protected operating system files
from Folder Options > View tab.

Also make sure your [i]boot.ini file is not in the "Read Only" attribute. Make it's attribute to archive.

1. Open your boot.ini file

2. Chose on which os installation you want to disable DEP if you have multiple windows installation.

3. Look at the /noexecute=xxxx ( This value should be /noexecute=optin ) part.
This is the key part for enable or disable dep.

4. Now change the value of /noexecute=optin to /noexecute=alwaysoff
Don't change other settings.

5. Save the boot.ini file & Restart your computer. You're done.





## To clarify the whole procedure for newbies I am mentioning my own boot.ini file.
In this example I've disabled DEP for the first installation of winxp.

Code:
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=alwaysoff /fastdetect
multi(0)disk(0)rdisk(0)partition(3)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
Now I can run poser flawlessly


A quality tutorial by topgear - topspeed

For the leechers only - Don't just Copy & Paste my Hard Work Without my Permission & Claim it as Yours. In Simple Word - STAY AWAY

If any one Really Interested to show up this tutorial at any other place just use the URL aka the address of this tutorial & mention this in bold fonts :

A quality tutorial by topgear.......topspeed
__________________
ToPsPeEeD = FaSt BuT StEaDy

AMD Radeon HD 6850 OverClocked to 1 Ghz !!!

Blog : http://topgeartopspeed.wordpress.com/
----------------------------------------------------
Never buy viewsonic products : http://tinyurl.com/ykwx4oa

Last edited by topgear; 22-03-2008 at 07:00 PM.
topgear is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 02-04-2008, 07:22 PM   #2 (permalink)
Fast 'N' Furious
 
topgear's Avatar
 
Join Date: Jul 2006
Location: Geek's Heaven
Posts: 11,169
Default Re: How To Disable Data Execution Prevention aka DEP

Not a single reply till today...
__________________
ToPsPeEeD = FaSt BuT StEaDy

AMD Radeon HD 6850 OverClocked to 1 Ghz !!!

Blog : http://topgeartopspeed.wordpress.com/
----------------------------------------------------
Never buy viewsonic products : http://tinyurl.com/ykwx4oa
topgear is offline  
Old 08-04-2008, 04:03 PM   #3 (permalink)
mortal kombat
 
quan chi's Avatar
 
Join Date: Jul 2006
Posts: 1,674
Default Re: How To Disable Data Execution Prevention aka DEP

nice tutorial there.
quan chi is offline  
Old 08-04-2008, 05:36 PM   #4 (permalink)
BlackBerry Guru ! :)
 
BBThumbHealer's Avatar
 
Join Date: Dec 2006
Location: New Delhi , NCR
Posts: 1,270
Default Re: How To Disable Data Execution Prevention aka DEP

Nice Tutorial TopGear !
__________________
Username Changed - BlackBerry7100g To BBThumbHealer ! :D
BBThumbHealer is offline  
Old 09-04-2008, 04:02 PM   #5 (permalink)
You gave been GXified
 
gxsaurav's Avatar
 
Join Date: Jan 2007
Location: New Delhi
Posts: 5,633
Default Re: How To Disable Data Execution Prevention aka DEP

If you have a Core 2 Duo or Athlon 64 CPU then DEP runs in hardware in which case disabling DEP isn't recomended.
__________________
about.me/gxsaurav
gxsaurav is offline  
Old 09-04-2008, 07:09 PM   #6 (permalink)
Fast 'N' Furious
 
topgear's Avatar
 
Join Date: Jul 2006
Location: Geek's Heaven
Posts: 11,169
Default Re: How To Disable Data Execution Prevention aka DEP

Ya, I know that disabling dep in not recomended but it sometime makes problem
__________________
ToPsPeEeD = FaSt BuT StEaDy

AMD Radeon HD 6850 OverClocked to 1 Ghz !!!

Blog : http://topgeartopspeed.wordpress.com/
----------------------------------------------------
Never buy viewsonic products : http://tinyurl.com/ykwx4oa
topgear is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://www.thinkdigit.com/forum/tutorials/83132-how-disable-data-execution-prevention-aka-dep.html
Posted By For Type Date
In/Uitschakelen DEP - Windows XP Community - XPHeads This thread Refback 15-01-2011 07:31 AM
Hitman Blood Money - Tech Support Forum This thread Refback 10-01-2011 06:46 PM
In/Uitschakelen DEP This thread Refback 12-12-2010 11:10 PM
Microsoft: Windows XP Pro - Data execution prevention, This thread Refback 29-06-2010 08:31 PM
Hitman Blood Money - Tech Support Forum This thread Refback 24-06-2010 12:49 PM

Similar Threads
Thread Thread Starter Forum Replies Last Post
Data Execution Prevention ashu_dps Software Q&A 8 21-08-2006 09:10 PM
Java execution error!! nitish_mythology QnA (read only) 3 12-04-2006 01:29 PM
mysql attack, prevention sunnydiv Tutorials 4 12-03-2005 11:47 AM

 
Latest Threads
- by chris
- by icebags
- by Tenida

Advertisement




All times are GMT +5.5. The time now is 01:35 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2