Seite 1 von 1

File not found. (solved)

Verfasst: 09 Feb 2017, 15:38
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.

Re: File not found.

Verfasst: 09 Feb 2017, 16:07
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

Re: File not found.

Verfasst: 09 Feb 2017, 16:13
von Antarion
/64Bit fixed my issue!

Thanks Mr Wolf! :D