Incroyable HULK Posted April 13, 2005 Share Posted April 13, 2005 Hello again,I am trying to install some unattended application over the network but I get this annoying warning message:Is there a way to bypass this? Regtweak, workaround, anything else... Link to comment Share on other sites More sharing options...
DiGGiTY Posted April 13, 2005 Share Posted April 13, 2005 This is Microsoft's software-based data execution prevention (DEP) feature. To disable, go to your BOOT.INI file and change the following potion:Change /NoExecute=OptOut to /NoExecute=AlwaysOff Link to comment Share on other sites More sharing options...
Incroyable HULK Posted April 13, 2005 Author Share Posted April 13, 2005 Is there a way to do this automatically?*EDIT* and I suppose I have to reboot to make it work? Link to comment Share on other sites More sharing options...
durex Posted April 13, 2005 Share Posted April 13, 2005 Is there a way to do this automatically?*EDIT* and I suppose I have to reboot to make it work?<{POST_SNAPBACK}>Well you could always create 2 boot.ini files.. 1 that has this line in it and one that doesnt, so you can simply copy the modified boot.ini in place prior to install and copy the orig back after your done... and to answer youre 2nd question, if youre going to use this method of getting around this problem.. yes, you need to reboot before the modified boot.ini takes effect. Link to comment Share on other sites More sharing options...
dhdan Posted April 14, 2005 Share Posted April 14, 2005 Direct from Microsoft: "For unattended installations of Windows XP SP2, you can use the Unattend.txt file to pre-populate a specific DEP configuration. You can use the OSLoadOptionsVar entry in the [Data] section of the Unattend.txt file to specify a system-wide DEP configuration." Here[Data]OSLoadOptionsVar="/noexecute=policy_level" where policy_level is what you want it to be...in your case AlwaysOff.I haven't tested this, but will when I reinstall my os next time. Hope this is of use to you. Link to comment Share on other sites More sharing options...
Incroyable HULK Posted April 14, 2005 Author Share Posted April 14, 2005 hmmm... This is a good thing for a new Windows Installation but most of the time, I am Installing Unattended Applications for older computer from a file server and this warning is blocking the process... Link to comment Share on other sites More sharing options...
dhdan Posted April 14, 2005 Share Posted April 14, 2005 The only other thing I can think of is to set it as a low risk file type. Maybe this is what you are looking for. Or copy the files locally and run them...but if I remember right I still got those annoying prompts asking if I was sure I wanted to run them. Just edit the following to your liking. I just opened an exe across my network and I don't get the prompt, and my dep is on.Windows Registry Editor Version 5.00;Gets rid of popup when running files you download[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Download]"CheckExeSignatures"="no""RunInvalidSignatures"=dword:00000001[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments]"SaveZoneInformation"=dword:00000001[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Associations]"LowRiskFileTypes"=".zip;.rar;.nfo;.txt;.exe;.bat;.com;.cmd;.reg;.msi;.htm;.html;.gif;.bmp;.jpg;.avi;.mpg;.mpeg;.mov;.mp3;.m3u;.wav;" Link to comment Share on other sites More sharing options...
Incroyable HULK Posted April 14, 2005 Author Share Posted April 14, 2005 Thank's, I'll try this one for sure! Link to comment Share on other sites More sharing options...
Incroyable HULK Posted April 14, 2005 Author Share Posted April 14, 2005 Yes! it works! but I need a reboot to make it effective... Link to comment Share on other sites More sharing options...
dhdan Posted April 14, 2005 Share Posted April 14, 2005 You could try importing the registry setting, killing explorer.exe with taskkill or task manager if you are testing from the gui, and then restart it. Then run the files you want to install. With some hkcu reg settings when you restart explorer the new settings take effect. Link to comment Share on other sites More sharing options...
scankurban Posted April 15, 2005 Share Posted April 15, 2005 Just map network drive and run again Link to comment Share on other sites More sharing options...
Dahi Posted April 15, 2005 Share Posted April 15, 2005 When you right-click Nero.exe and select Properties, do you see an "Unblock" button? That should turn off the message. Link to comment Share on other sites More sharing options...
TheJerk Posted May 1, 2005 Share Posted May 1, 2005 Direct from Microsoft: "For unattended installations of Windows XP SP2, you can use the Unattend.txt file to pre-populate a specific DEP configuration. You can use the OSLoadOptionsVar entry in the [Data] section of the Unattend.txt file to specify a system-wide DEP configuration." Here[Data]OSLoadOptionsVar="/noexecute=policy_level" where policy_level is what you want it to be...in your case AlwaysOff.I haven't tested this, but will when I reinstall my os next time. Hope this is of use to you.<{POST_SNAPBACK}>I'm curious to know if anyone has tried this. I have an issue with DEP coming up for Adobe Audition 1.5 during a full unattended installation (XP and all) and I'm wondering if anyone has figured out how to turn it back on following the whole unattended process without having to do it manually. Like a command added to "cleanup.cmd", for instance?Since this is basically a setting in the boot.ini file, is it possible to be changed while explorer is running? Is that possible to change from a batch file? Link to comment Share on other sites More sharing options...
Bilou_Gateux Posted July 5, 2006 Share Posted July 5, 2006 (edited) Disabling DEP (integrated)The correct section to use is explained here:[setupData] (Remote installation Services) Edited July 12, 2006 by Bilou_Gateux 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