Hallo zusammen,
ich versuche mit folgendem Powershellskript, welches manuell ausgeführt auch funktioniert, unsere Geräte zu verschlüsseln:
Hier das eScript dazu
und hier die Fehlermeldungen, die ich nicht verstehe
ich versuche mit folgendem Powershellskript, welches manuell ausgeführt auch funktioniert, unsere Geräte zu verschlüsseln:
Code:
Add-BitLockerKeyProtector 'C:' -RecoveryPasswordProtector
Enable-BitLocker -MountPoint 'C:' -TpmProtector -Verbose -UsedSpaceOnly:$true
Code:
CallScript('.\Extern$\ActivateBitlocker.ps1','')/TS
!InitiateSystemShutDown('20',issRebootAfterShutdown)
Verschlüsselung aktiviert. Gerät wird neu gestartet
EndProc/TW
EndInstallerSession
Quote:
11:41:46.551 2 ---->Starting installation of "Windows 10 Bitlocker Verschlüsselung aktivieren" 11:41:46.553 2 -> CallScript('C:\Program Files (x86)\Common Files\enteo\RepositoryCache\15973\rev\1\Extern$\Ac tivateBitlocker.ps1','')/TS 11:41:46.554 2 nilsPipe: NPI: Initializing Runtime - Manager .. 11:41:46.576 1 nilsPipe: Setting active Server project to 'db:master\Windows 10 Bitlocker Verschlüsselung aktivieren' 11:41:46.576 0 nilsPipe: Initializing project 'db:master\Windows 10 Bitlocker Verschlüsselung aktivieren'... 11:41:46.576 2 nilsPipe: Executing through IPC : CallScript 11:41:46.576 1 nilsPipe: Script needs addon xniTools.dll for execution - notifying NPI 11:41:46.576 2 nilsPipe: NPI: Loading AddOn xniTools.dll 11:41:46.642 E Warning (Module:nilsPipe, Severity:0x03): NPI: Error in EnumProtocols Das angegebene Modul wurde nicht gefunden. (0x0000007e) 11:41:46.642 1 nilsPipe: Service var bridge: Setting var _LAST_ERROR_TEXT to NPI: Error in EnumProtocols Das angegebene Modul wurde nicht gefunden. (0x0000007e) 11:41:46.643 1 nilsPipe: Service var bridge: Setting var _ERROR_SEVERITY to 3 11:41:46.643 2 SWMSRT: //------------| Starting Checking if policies should run for the trigger 'On error'. |------------\\ 11:41:46.643 0 SWMSRT: No triggered jobs found 11:41:46.643 2 SWMSRT: \\------------| Finished Checking if policies should run for the trigger 'On error'. |------------// 11:41:46.643 1 nilsPipe: Service var bridge: Setting var _LAST_ERROR_TEXT to Error in EnumProtocols Das angegebene Modul wurde nicht gefunden. (0x0000007e) 11:41:46.643 1 nilsPipe: Service var bridge: Setting var _ERROR_SEVERITY to 3 11:41:46.694 1 nilsPipe: Updating NPI varmap 11:41:46.695 2 Warning: Couldn't determine CD-ROM drive letter 11:41:46.695 1 RegValue 'ProgramFilesDir' resolved as 'C:\Program Files (x86)' 11:41:46.695 1 RegValue 'ProgramFilesDir' resolved as 'C:\Program Files' 11:41:46.695 1 RegValue 'CommonFilesDir' resolved as 'C:\Program Files (x86)\Common Files' 11:41:46.695 1 RegValue 'ProductType' resolved as 'WinNT' 11:41:46.695 1 RegValue 'CurrentVersion' resolved as '6.3' 11:41:46.696 1 RegValue 'ProductType' resolved as 'WinNT' 11:41:46.696 1 RegValue 'CurrentVersion' resolved as '6.3' 11:41:46.704 1 RegValue 'ProgramFilesDir' resolved as 'C:\Program Files (x86)' 11:41:46.705 1 RegValue 'ProgramFilesDir' resolved as 'C:\Program Files (x86)' 11:41:46.705 0 SI: 'enteo Business Logic Server' is an installed MgntComponent on 'Management Point (DSM01).ORG' [66046] 11:41:46.705 1 RegValue 'ProgramFilesDir' resolved as 'C:\Program Files (x86)' 11:41:46.705 1 RegValue 'ProgramFilesDir' resolved as 'C:\Program Files (x86)' 11:41:46.705 1 RegValue 'ProgramFilesDir' resolved as 'C:\Program Files (x86)' 11:41:46.705 1 RegValue 'ProgramFilesDir' resolved as 'C:\Program Files (x86)' 11:41:46.705 0 SI: 'enteo Business Logic Server' is an installed MgntComponent on 'Management Point (DSM01).ORG' [66046] 11:41:46.705 1 xniPrxAD: Setting AD based variables 11:41:46.776 2 nilsPipe: --> Transact called with 16387 bytes data 11:41:46.776 2 nilsPipe: NPI: -> CallScript('C:\Program Files (x86)\Common Files\enteo\RepositoryCache\15973\rev\1\Extern$\Ac tivateBitlocker.ps1','') 11:41:46.776 1 nilsPipe: Service var bridge: Setting var WSS.ERROR to FALSE 11:41:46.776 1 nilsPipe: Service var bridge: Setting var WSS.ERRORTEXT to 11:41:46.776 2 nilsPipe: NPI: ExecHostClient32.dll: starting Execution Host Server Process "C:\Program Files (x86)\netinst\ExecHostServer32.exe". 11:41:46.782 2 nilsPipe: NPI: ExecHostClient32.dll: RPC Server (pipe name 'ExecHost_3356') was started. 11:41:46.902 2 nilsPipe: NPI: ExecHostClient32.dll: RPC client (pipe name 'ExecHost_3356') was started and the server is listening. 11:41:46.902 2 nilsPipe: NPI: ExecHostClient32.dll: Calling script C:\Program Files (x86)\Common Files\enteo\RepositoryCache\15973\rev\1\Extern$\Ac tivateBitlocker.ps1. 11:41:47.406 2 nilsPipe: NPI: xniTools: RuntimeError: src:C:\Program Files (x86)\Common Files\enteo\RepositoryCache\15973\rev\1\Extern$\Ac tivateBitlocker.ps1 / line: 1 / position: 1 11:41:47.406 2 nilsPipe: NPI: xniTools: RuntimeError: Caught Exception of type System.Management.Automation.CommandNotFoundExcept ion Die Benennung "Add-BitLockerKeyProtector" wurde nicht als Name eines Cmdlet, einer Funktion, einer Skriptdatei oder eines ausführbaren Programms erkannt. Überprüfen Sie die Schreibweise des Namens, oder ob der Pfad korrekt ist (sofern enthalten), und wiederholen Sie den Vorgang. 11:41:47.406 2 nilsPipe: NPI: xniTools: RuntimeError: Code: Add-BitLockerKeyProtector 'C:' -RecoveryPasswordProtector 11:41:47.406 1 nilsPipe: Service var bridge: Setting var WSS.ERROR to TRUE 11:41:47.407 1 nilsPipe: Service var bridge: Setting var WSS.ERRORTEXT to Caught Exception of type System.Management.Automation.CommandNotFoundExcept ion Die Benennung "Add-BitLockerKeyProtector" wurde nicht als Name eines Cmdlet, einer Funktion, einer Skriptdatei oder eines ausführbaren Programms erkannt. Überprüfen Sie die Schreibweise des Namens, oder ob der Pfad korrekt ist (sofern enthalten), und wiederholen Sie den Vorgang. 11:41:47.413 2 nilsPipe: NPI: ExecHostClient32.dll: Script C:\Program Files (x86)\Common Files\enteo\RepositoryCache\15973\rev\1\Extern$\Ac tivateBitlocker.ps1 has been called. 11:41:47.413 1 nilsPipe: Service var bridge: Setting var WSS.ERROR to TRUE 11:41:47.414 1 nilsPipe: Service var bridge: Setting var WSS.ERRORTEXT to An error occured 11:41:47.414 E Error (Module:nilsPipe, Severity:0x0b): NPI: Execution of NIL_CallScript with script C:\Program Files (x86)\Common Files\enteo\RepositoryCache\15973\rev\1\Extern$\Ac tivateBitlocker.ps1 failed Beim Ausführen der Funktion ist ein Fehler aufgetreten. (0x0000065b) 11:41:47.414 2 Messagebox suppressed (No output allowed), output is written to the log files 11:41:47.414 2 MsgBox: [NPI: Execution of NIL_CallScript with script C:\Program Files (x86)\Common Files\enteo\RepositoryCache\15973\rev\1\Extern$\Ac tivateBitlocker.ps1 failed Beim Ausführen der Funktion ist ein Fehler aufgetreten. (0x0000065b) Installation wird beendet.] 11:41:47.414 1 nilsPipe: Service var bridge: Setting var _LAST_ERROR_TEXT to NPI: Execution of NIL_CallScript with script C:\Program Files (x86)\Common Files\enteo\RepositoryCache\15973\rev\1\Extern$\Ac tivateBitlocker.ps1 failed Beim Ausführen der Funktion ist ein Fehler aufgetreten. (0x0000065b) Installation wird beendet. 11:41:47.415 1 nilsPipe: Service var bridge: Setting var _ERROR_SEVERITY to 31 11:41:47.415 2 SWMSRT: //------------| Starting Checking if policies should run for the trigger 'On error'. |------------\\ 11:41:47.415 0 SWMSRT: No triggered jobs found 11:41:47.415 2 SWMSRT: \\------------| Finished Checking if policies should run for the trigger 'On error'. |------------// 11:41:47.415 2 nilsPipe: NPI: Messagebox suppressed (No output allowed), output is written to the log files 11:41:47.416 2 nilsPipe: NPI: MsgBox: [Execution of NIL_CallScript with script C:\Program Files (x86)\Common Files\enteo\RepositoryCache\15973\rev\1\Extern$\Ac tivateBitlocker.ps1 failed Beim Ausführen der Funktion ist ein Fehler aufgetreten. (0x0000065b) ] 11:41:47.416 1 nilsPipe: Service var bridge: Setting var _LAST_ERROR_TEXT to Execution of NIL_CallScript with script C:\Program Files (x86)\Common Files\enteo\RepositoryCache\15973\rev\1\Extern$\Ac tivateBitlocker.ps1 failed Beim Ausführen der Funktion ist ein Fehler aufgetreten. (0x0000065b) 11:41:47.416 1 nilsPipe: Service var bridge: Setting var _ERROR_SEVERITY to 31 11:41:47.420 2 nilsPipe: NPI: ExecHostClient32.dll: RPC Server will be terminated. 11:41:47.421 2 New last error from script command is 2147614729 (0x80020009) 11:41:47.421 2 Resolved new last error from script command is: Ausnahmefehler aufgetreten. 11:41:47.421 2 Execution terminated on error |