DEP ausschalten?

Antworten
nielsk
Beiträge: 9
Registriert: 19 Apr 2013, 13:03

DEP ausschalten?

Beitrag 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
holgerv
Beiträge: 288
Registriert: 20 Aug 2012, 09:35

Re: DEP ausschalten?

Beitrag 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?
nielsk
Beiträge: 9
Registriert: 19 Apr 2013, 13:03

Re: DEP ausschalten?

Beitrag von nielsk »

ohne.
Btw. bcdedit gibt es nicht in SysWOW64, sondern nur in System32.
oops
Beiträge: 5
Registriert: 01 Mär 2013, 12:41

Re: DEP ausschalten?

Beitrag 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?
holgerv
Beiträge: 288
Registriert: 20 Aug 2012, 09:35

Re: DEP ausschalten?

Beitrag von holgerv »

Wenn Du auch die "file not found"-Fehlermeldung kriegst, solltest Du es mit "/64Bit"- bzw. "/SysNative"-Parameter versuchen.
Benutzeravatar
ueluekmen
uib-Team
Beiträge: 1940
Registriert: 28 Mai 2008, 10:53

Re: DEP ausschalten?

Beitrag 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.


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


oops
Beiträge: 5
Registriert: 01 Mär 2013, 12:41

Re: DEP ausschalten?

Beitrag von oops »

Mit DosBatch und /64Bit läufts. Danke!
Antworten