Thoughts from Dan Miser RSS 2.0
 Monday, April 30, 2007
On my new Vista system, I was trying to install some software from a vendor that I trust. The problem is, the vendor doesn't really write software for the general public, so it's very tightly packaged to try and make it idiot-proof. Unfortunately, I would receive a DEP exception every time I would try to run the installer. I went to the DEP protection configuration screen (Start + Pause | Advanced | Performance Settings | Data Execution Prevention), and that is either an "all programs are protected" or "don't check these applications" choice. To make matters worse, I tried to add msiexec.exe to the exception list, and it wouldn't let me do it. So I had to disable DEP altogether.

In order to totally disable DEP, I used this command from tech-recipes:

bcdedit.exe /set {current} nx AlwaysOff

My application installed perfectly. As a side-note, You can re-enable DEP with this command:

bcdedit.exe /set {current} nx AlwaysOn 
Monday, April 30, 2007 8:00:08 AM (Central Standard Time, UTC-06:00)  #    Comments [1] -
Vista
Navigation
Archive
<May 2008>
SunMonTueWedThuFriSat
27282930123
45678910
11121314151617
18192021222324
25262728293031
1234567
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2008
Dan Miser
Sign In
Statistics
Total Posts: 305
This Year: 20
This Month: 1
This Week: 0
Comments: 601
All Content © 2008, Dan Miser
DasBlog theme 'Business' created by Christoph De Baene (delarou)