File not found. (solved)

Antworten
Benutzeravatar
Antarion
Beiträge: 25
Registriert: 10 Jan 2017, 09:52

File not found. (solved)

Beitrag von Antarion »

Hi,

On windows 10, I try to run the command bdeHdCfg.exe in a winbatch section but i get a file not found.

Code: Alles auswählen

[Winbatch_1]
"c:\Windows\System32\bdehdcfg.exe" -target default
[4] [f?vr. 09 15:34:43:863] Warning: file not found :c:\Windows\System32\bdehdcfg.exe -retrying
[4] [f?vr. 09 15:34:44:277] Warning: file not found :c:\Windows\System32\bdehdcfg.exe -retrying
[4] [f?vr. 09 15:34:44:682] Warning: file not found :c:\Windows\System32\bdehdcfg.exe -retrying
[4] [f?vr. 09 15:34:45:087] Warning: file not found :c:\Windows\System32\bdehdcfg.exe -retrying
[4] [f?vr. 09 15:34:45:494] Warning: file not found :c:\Windows\System32\bdehdcfg.exe -retrying
[4] [f?vr. 09 15:34:45:900] Warning: file not found :c:\Windows\System32\bdehdcfg.exe -retrying
[4] [f?vr. 09 15:34:46:306] Warning: file not found :c:\Windows\System32\bdehdcfg.exe -retrying
[4] [f?vr. 09 15:34:46:713] Warning: file not found :c:\Windows\System32\bdehdcfg.exe -retrying
[4] [f?vr. 09 15:34:47:118] Warning: file not found :c:\Windows\System32\bdehdcfg.exe -retrying
[4] [f?vr. 09 15:34:47:525] Warning: file not found :c:\Windows\System32\bdehdcfg.exe -retrying
And if i try a fileExist :

Code: Alles auswählen

if FileExists ("c:\Windows\System32\bdehdcfg.exe")
 set $app$ = "c:\Windows\System32\bdehdcfg.exe"
endif
[5] [f?vr. 09 15:36:22:010] "c:\Windows\System32\bdehdcfg.exe":
[5] [f?vr. 09 15:36:22:017] FileExists ("c:\Windows\System32\bdehdcfg.exe") <<< result false
[6] [f?vr. 09 15:36:22:025] Then

But the file do exist :
C:\Users\antarion>c:\Windows\System32\bdehdcfg.exe
BitLocker Drive Preparation Tool version 10.0.14393
Copyright (C) 2013 Microsoft Corporation. All rights reserved.
Any idea??

Thanks for your help.
Zuletzt geändert von Antarion am 09 Feb 2017, 16:14, insgesamt 1-mal geändert.
Benutzeravatar
wolfbardo
uib-Team
Beiträge: 1412
Registriert: 01 Jul 2008, 12:10

Re: File not found.

Beitrag von wolfbardo »

Have a alook at

http://download.uib.de/opsi_stable/doc/ ... inst-64bit

and for instance

the opsi-winst-test Package

regards,
Bardo Wolf


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


Benutzeravatar
Antarion
Beiträge: 25
Registriert: 10 Jan 2017, 09:52

Re: File not found.

Beitrag von Antarion »

/64Bit fixed my issue!

Thanks Mr Wolf! :D
Antworten