I was pleased to see a Post-setup template to turn off hibernation.
Now, may I suggest a template to Always Enable DEP?
I know that Win10/11 are supposed to have better memory management. Yet, DEP is still an option under System > Advanced system settings > Advanced > Performance >Data Execution Prevention.
Maybe DEP doesn't make a difference anymore in Win10/11. But I feel better enabling it. And it makes a difference in Win7.
bcdedit with parameters /set {current} nx AlwaysOn
(Or perhaps /set nx AlwaysOn ? 'Cause I just installed a Lite'd 21H2 into VBox and the Post-setup command didn't take. (I didn't see a DOS box flash after Windows' first start.)
Hmm ... I just installed Guest Additions and rebooted. And now DEP is AlwaysOn.
I don't know whether it was adding Guest Additions or rebooting - or both - that fixed it. (I still didn't see a command window flash open and closed, though.)
Now, may I suggest a template to Always Enable DEP?
I know that Win10/11 are supposed to have better memory management. Yet, DEP is still an option under System > Advanced system settings > Advanced > Performance >Data Execution Prevention.
Maybe DEP doesn't make a difference anymore in Win10/11. But I feel better enabling it. And it makes a difference in Win7.
bcdedit with parameters /set {current} nx AlwaysOn
Hmm ... I just installed Guest Additions and rebooted. And now DEP is AlwaysOn.
I don't know whether it was adding Guest Additions or rebooting - or both - that fixed it. (I still didn't see a command window flash open and closed, though.)
Last edited: