Untitled


SUBMITTED BY: dbzdivik

DATE: Dec. 1, 2015, 2:45 p.m.

FORMAT: Text only

SIZE: 262 Bytes

HITS: 4405

  1. @echo off
  2. FOR %%G IN (*.exe) DO (
  3. echo File that has to be excluded for DEP: %%G
  4. %windir%\system32\reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "%CD%\%%G" /t REG_SZ /d "DisableNXShowUI" /f
  5. echo.
  6. )
  7. pause

comments powered by Disqus