標籤:
在錄製過程中遇到如下問題:
查了下如何Enable, Disable Data Execution Prevention (DEP) in Windows 10/8/7 (http://www.thewindowsclub.com/disable-data-execution-prevention )
Disable Data Execution Prevention
In Windows 7, type cmd in Start Search. Right click on search results ‘cmd’ and click on Run as Administrator. Windows 10/8 users can also open an elevated command prompt window via the WinX menu.
Then, copy paste the following and hit Enter:
bcdedit.exe /set {current} nx AlwaysOff
Reboot.
You will find that Data Execution Prevention has been disable on your Windows computer. You may then, if you wish, verify the status of Data Execution Prevention feature on your system.
Enable Data Execution Prevention
To enable back DEP, type the following in an elevated command prompt and hit Enter:
bcdedit.exe /set {current} nx AlwaysOn
This will enable back Data Execution Prevention.
See this if you receive The boot configuration data could not be opened message.
Enable or Disable Data Execution Prevention DEP for Internet Explorer only
RECOMMENDED: Click here to fix Windows errors and optimize system performance
If a code loading from the default heap or stack is detected by DEP or Data Execution Prevention, an exception is raised. It happens since the behavior is indicative of malicious code (legitimate code does not generally load in this manner). This way DEP protects the browser against attacks rendered, for example, via buffer overflow and similar type vulnerabilities.
Although a valuable feature, DEP can sometimes be the cause of certain system issues and error messages. So, if you would like to disable Data Execution Prevention for the Internet Explorer browser only, here is how you can do it :
Disable Data Execution Prevention DEP for Internet Explorer
Open Internet Explorer and go to ‘Tools’. The icon appears as a small gear-shaped icon at the extreme top-right corner of Internet Explorer screen. Click open ‘Tools’ and from the displayed options, select ‘Internet Options’.
Next, click on ‘Advanced’ tab and scroll down until you find the ‘Security’ option. Un-check on Enable memory protection to help mitigate online attacks.
Click Apply / OK. This will disable Data Execution Prevention for Internet Explorer.
To enable Data Execution Prevention, check the check-box instead, click Apply and Exit.
或者嘗試如下方法:
- 首先進入控制台,選擇“系統”
- 彈出系統對話方塊,然後點“進階”
- 再點效能欄裡面的“設定”按鈕,彈出“效能選項”設定視窗
- 接下來點擊“資料執行防止”
- 把選項改“只為關鍵Windows程式和服務啟用資料執行防止”,系統提示重啟生效,點確定後完成。
接著只要重啟Loadrunner進行錄製即可。
Loadrunner 11在win7錄製中失敗“the recording of the application was terminated by windows due to window data execution prevention feature"