Seite 1 von 1

DEP ausschalten?

Verfasst: 04 Sep 2014, 11:05
von nielsk
Hallo,

hat jemand eine Idee, wie man per OPSI DEP ausschalten kann?
Wenn ich:

Code: Alles auswählen

%SystemRoot%\System32\bcdedit.exe /set {current} nx AlwaysOff
oder Abwandlungen davon (ohne Pfad - also nur "bcdedit.exe /set…", ohne .exe, mit und ohne " an diversen Stellen) ausführe bekomme ich nur folgende Meldung:

Code: Alles auswählen

[5] [Sep 04 10:41:44:121] [depoff]     Execution of Winbatch_install_64
[4] [Sep 04 10:41:44:121] [depoff]       Warning: file not found :C:\Windows\System32\bcdedit.exe -retrying
[4] [Sep 04 10:41:44:523] [depoff]       Warning: file not found :C:\Windows\System32\bcdedit.exe -retrying
[4] [Sep 04 10:41:44:923] [depoff]       Warning: file not found :C:\Windows\System32\bcdedit.exe -retrying
[4] [Sep 04 10:41:45:327] [depoff]       Warning: file not found :C:\Windows\System32\bcdedit.exe -retrying
[4] [Sep 04 10:41:45:730] [depoff]       Warning: file not found :C:\Windows\System32\bcdedit.exe -retrying
[4] [Sep 04 10:41:46:134] [depoff]       Warning: file not found :C:\Windows\System32\bcdedit.exe -retrying
[4] [Sep 04 10:41:46:534] [depoff]       Warning: file not found :C:\Windows\System32\bcdedit.exe -retrying
[4] [Sep 04 10:41:46:935] [depoff]       Warning: file not found :C:\Windows\System32\bcdedit.exe -retrying
[4] [Sep 04 10:41:47:335] [depoff]       Warning: file not found :C:\Windows\System32\bcdedit.exe -retrying
[4] [Sep 04 10:41:47:735] [depoff]       Warning: file not found :C:\Windows\System32\bcdedit.exe -retrying
[4] [Sep 04 10:41:48:135] [depoff]       Warning: file not found :C:\Windows\System32\bcdedit.exe - giving up
[6] [Sep 04 10:41:48:135] [depoff]       Call ""C:\Windows\System32\bcdedit.exe" /set "{current} nx AlwaysOff""
[6] [Sep 04 10:41:48:135] [depoff]          Waiting until the called process is finished
[6] [Sep 04 10:41:48:135] [depoff]       Start process as invoker: SYSTEM
[3] [Sep 04 10:41:48:135] [depoff]       Exception in StartProcess_cp: Failed to execute "C:\Windows\System32\bcdedit.exe" /set "{current} nx AlwaysOff" : 2
In den Anleitungen finde ich nur Methoden um an der Registry zu bauen, aber nichts zu bcdedit

Re: DEP ausschalten?

Verfasst: 04 Sep 2014, 11:32
von holgerv
nielsk hat geschrieben:

Code: Alles auswählen

%SystemRoot%\System32\bcdedit.exe /set {current} nx AlwaysOff

Code: Alles auswählen

[5] [Sep 04 10:41:44:121] [depoff]     Execution of Winbatch_install_64
[4] [Sep 04 10:41:44:121] [depoff]       Warning: file not found :C:\Windows\System32\bcdedit.exe -retrying
[...]
Wie rufst Du "Winbatch_install_64" auf? Mit "/64Bit"- bzw. "/SysNative"-Parameter, oder ohne?

Re: DEP ausschalten?

Verfasst: 04 Sep 2014, 11:44
von nielsk
ohne.
Btw. bcdedit gibt es nicht in SysWOW64, sondern nur in System32.

Re: DEP ausschalten?

Verfasst: 11 Nov 2014, 12:04
von oops
Ich stehe gerade vor dem gleichen Problem. Ich möchte ein simples Script mit bcdedit aufrufen, scheitere aber offensichtlich an den Rechten. Gibts dafür keine Lösung?

Re: DEP ausschalten?

Verfasst: 11 Nov 2014, 14:07
von holgerv
Wenn Du auch die "file not found"-Fehlermeldung kriegst, solltest Du es mit "/64Bit"- bzw. "/SysNative"-Parameter versuchen.

Re: DEP ausschalten?

Verfasst: 11 Nov 2014, 14:45
von ueluekmen
Hallo,

schonmal versucht das ganze in DosBatch zu machen? Ich würde zur Sicherheit /Sysnative mitgeben. Wenn es nur 64Bit Clients sind muss man aber /64bit mitgeben. Keyword winst nicht vergessen.

Re: DEP ausschalten?

Verfasst: 13 Nov 2014, 11:50
von oops
Mit DosBatch und /64Bit läufts. Danke!