ruffsense Posted January 11, 2016 Report post Posted January 11, 2016 (edited) I have made a task to update drivers for a lenovo E550 Laptop. First task: command line (Run ThinINstaller TrustZone) cmd /c C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe –pp off –m –ag 1.2 –url file://\\x.x.x.x\Sources\os_drivers\Laptops\E550\ FullTrust Disable 64-bit file systems redirection Second task: command line (CMD Copy ThinInstaller) cmd /c xcopy.exe "\\x.x.x.x\Sources\ThinInst\*.*" C:\Thinstaller\ /E /D Time-outs: 15 minutes Third Task: command line (CMD Run ThinInstaller) cmd /c C:\Thinstaller\thininstaller.exe /CM -search A -action INSTALL -noicon -includerebootpackages 1,2,3,4 -repository "\\x.x.x.x\Sources\os_drivers\Laptops\E550" -log "C:\Thinstaller\tvsulog.txt" Start in: C:\Thinstaller Time-outs: 120 minutes Error: Failed to run the action: Run ThinINstaller TrustZone.Incorrect function. (Error: 00000001; Source: Windows) Expand a string: smsswd.exe /run: cmd /c %windir%\Microsoft.NET\Framework\v4.0.30319\CasPol.exe –pp off –m –ag 1.2 –url file://\\x.x.x.x\Sources\os_drivers\Laptops\E550\ FullTrust TSManager 1/11/2016 7:16:25 PM 268 (0x010C) Expand a string: TSManager 1/11/2016 7:16:25 PM 268 (0x010C) Command line for extension .exe is "%1" %* TSManager 1/11/2016 7:16:25 PM 268 (0x010C) Set command line: smsswd.exe /run: cmd /c %windir%\Microsoft.NET\Framework\v4.0.30319\CasPol.exe –pp off –m –ag 1.2 –url file://\\x.x.x.x\Sources\os_drivers\Laptops\E550\ FullTrust TSManager 1/11/2016 7:16:25 PM 268 (0x010C) Start executing the command line: smsswd.exe /run: cmd /c %windir%\Microsoft.NET\Framework\v4.0.30319\CasPol.exe –pp off –m –ag 1.2 –url file://\\10.160.14.25\Sources\os_drivers\Laptops\E550\ FullTrust TSManager 1/11/2016 7:16:25 PM 268 (0x010C) !--------------------------------------------------------------------------------------------! TSManager 1/11/2016 7:16:25 PM 268 (0x010C) Expand a string: WinPEandFullOS TSManager 1/11/2016 7:16:25 PM 268 (0x010C) Executing command line: smsswd.exe /run: cmd /c %windir%\Microsoft.NET\Framework\v4.0.30319\CasPol.exe –pp off –m –ag 1.2 –url file://\\x.x.x.x\Sources\os_drivers\Laptops\E550\ FullTrust TSManager 1/11/2016 7:16:25 PM 268 (0x010C) [ smsswd.exe ] InstallSoftware 1/11/2016 7:16:25 PM 1168 (0x0490) PackageID = '' InstallSoftware 1/11/2016 7:16:25 PM 1168 (0x0490) BaseVar = '', ContinueOnError='' InstallSoftware 1/11/2016 7:16:25 PM 1168 (0x0490) ProgramName = 'cmd /c X:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\CasPol.exe –pp off –m –ag 1.2 –url file://\\x.x.x.x\Sources\os_drivers\Laptops\E550\ FullTrust' InstallSoftware 1/11/2016 7:16:25 PM 1168 (0x0490) SwdAction = '0001' InstallSoftware 1/11/2016 7:16:25 PM 1168 (0x0490) Set command line: Run command line InstallSoftware 1/11/2016 7:16:25 PM 1168 (0x0490) Working dir 'not set' InstallSoftware 1/11/2016 7:16:25 PM 1168 (0x0490) Executing command line: Run command line InstallSoftware 1/11/2016 7:16:25 PM 1168 (0x0490) Process completed with exit code 1 InstallSoftware 1/11/2016 7:16:25 PM 1168 (0x0490) Command line returned 1 InstallSoftware 1/11/2016 7:16:25 PM 1168 (0x0490) Process completed with exit code 1 TSManager 1/11/2016 7:16:25 PM 268 (0x010C) !--------------------------------------------------------------------------------------------! TSManager 1/11/2016 7:16:25 PM 268 (0x010C) Failed to run the action: Run ThinINstaller TrustZone. Incorrect function. (Error: 00000001; Source: Windows) TSManager 1/11/2016 7:16:25 PM 268 (0x010C) Can anyone help me out? Edited January 11, 2016 by ruffsense Quote Share this post Link to post Share on other sites More sharing options...
anyweb Posted January 11, 2016 Report post Posted January 11, 2016 can you manually run cmd /c X:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\CasPol.exe –pp off –m –ag 1.2 –url file://\\10.160.14.25\Sources\os_drivers\Laptops\E550\ FullTrust is it intended to be running in WinPE or windows ? Quote Share this post Link to post Share on other sites More sharing options...
ruffsense Posted January 11, 2016 Report post Posted January 11, 2016 (edited) It is needed to run in windows. So what am i doing wrong? Edited January 11, 2016 by ruffsense Quote Share this post Link to post Share on other sites More sharing options...
ruffsense Posted January 12, 2016 Report post Posted January 12, 2016 I changed the task. But still i get the error. Expand a string: smsswd.exe /run: cmd /c C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe –pp off –m –ag 1.2 –url file://\\x.x.x.x\Sources\os_drivers\Laptops\E550\ FullTrust TSManager 1/11/2016 7:59:58 PM 404 (0x0194) Expand a string: TSManager 1/11/2016 7:59:58 PM 404 (0x0194) Command line for extension .exe is "%1" %* TSManager 1/11/2016 7:59:58 PM 404 (0x0194) Set command line: smsswd.exe /run: cmd /c C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe –pp off –m –ag 1.2 –url file://\\x.x.x.x\Sources\os_drivers\Laptops\E550\ FullTrust TSManager 1/11/2016 7:59:58 PM 404 (0x0194) Start executing the command line: smsswd.exe /run: cmd /c C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe –pp off –m –ag 1.2 –url file://\\x.x.x.x\Sources\os_drivers\Laptops\E550\ FullTrust TSManager 1/11/2016 7:59:58 PM 404 (0x0194) !--------------------------------------------------------------------------------------------! TSManager 1/11/2016 7:59:58 PM 404 (0x0194) Expand a string: WinPEandFullOS TSManager 1/11/2016 7:59:58 PM 404 (0x0194) Executing command line: smsswd.exe /run: cmd /c C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe –pp off –m –ag 1.2 –url file://\\x.x.x.x\Sources\os_drivers\Laptops\E550\ FullTrust TSManager 1/11/2016 7:59:58 PM 404 (0x0194) [ smsswd.exe ] InstallSoftware 1/11/2016 7:59:58 PM 1576 (0x0628) PackageID = '' InstallSoftware 1/11/2016 7:59:58 PM 1576 (0x0628) BaseVar = '', ContinueOnError='' InstallSoftware 1/11/2016 7:59:58 PM 1576 (0x0628) ProgramName = 'cmd /c C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe –pp off –m –ag 1.2 –url file://\\x.x.x.x\Sources\os_drivers\Laptops\E550\ FullTrust' InstallSoftware 1/11/2016 7:59:58 PM 1576 (0x0628) SwdAction = '0001' InstallSoftware 1/11/2016 7:59:58 PM 1576 (0x0628) Set command line: Run command line InstallSoftware 1/11/2016 7:59:58 PM 1576 (0x0628) Working dir 'not set' InstallSoftware 1/11/2016 7:59:58 PM 1576 (0x0628) Executing command line: Run command line InstallSoftware 1/11/2016 7:59:58 PM 1576 (0x0628) Process completed with exit code 1 InstallSoftware 1/11/2016 7:59:58 PM 1576 (0x0628) Command line returned 1 InstallSoftware 1/11/2016 7:59:58 PM 1576 (0x0628) Process completed with exit code 1 TSManager 1/11/2016 7:59:58 PM 404 (0x0194) !--------------------------------------------------------------------------------------------! TSManager 1/11/2016 7:59:58 PM 404 (0x0194) Failed to run the action: Run ThinINstaller TrustZone. Incorrect function. (Error: 00000001; Source: Windows) TSManager 1/11/2016 7:59:58 PM 404 (0x0194) Quote Share this post Link to post Share on other sites More sharing options...
ruffsense Posted January 12, 2016 Report post Posted January 12, 2016 I disabled the task and it fails on the second task. Error: Failed to run the action: CMD Copy ThinInstaller.The system cannot open the file. (Error: 00000004; Source: Windows) Expand a string: smsswd.exe /run: cmd /c xcopy.exe "\\x.x.x.x\Sources\ThinInst\*.*" C:\Thinstaller\ /E /D TSManager 1/12/2016 8:27:40 AM 920 (0x0398) Expand a string: TSManager 1/12/2016 8:27:40 AM 920 (0x0398) Command line for extension .exe is "%1" %* TSManager 1/12/2016 8:27:40 AM 920 (0x0398) Set command line: smsswd.exe /run: cmd /c xcopy.exe "\\x.x.x.x\Sources\ThinInst\*.*" C:\Thinstaller\ /E /D TSManager 1/12/2016 8:27:40 AM 920 (0x0398) Start executing the command line: smsswd.exe /run: cmd /c xcopy.exe "\\x.x.x.x\Sources\ThinInst\*.*" C:\Thinstaller\ /E /D TSManager 1/12/2016 8:27:40 AM 920 (0x0398) !--------------------------------------------------------------------------------------------! TSManager 1/12/2016 8:27:40 AM 920 (0x0398) Expand a string: WinPEandFullOS TSManager 1/12/2016 8:27:40 AM 920 (0x0398) Executing command line: smsswd.exe /run: cmd /c xcopy.exe "\\x.x.x.x\Sources\ThinInst\*.*" C:\Thinstaller\ /E /D TSManager 1/12/2016 8:27:40 AM 920 (0x0398) [ smsswd.exe ] InstallSoftware 1/12/2016 8:27:40 AM 1048 (0x0418) PackageID = '' InstallSoftware 1/12/2016 8:27:40 AM 1048 (0x0418) BaseVar = '', ContinueOnError='' InstallSoftware 1/12/2016 8:27:40 AM 1048 (0x0418) ProgramName = 'cmd /c xcopy.exe "\\x.x.x.x\Sources\ThinInst\*.*" C:\Thinstaller\ /E /D' InstallSoftware 1/12/2016 8:27:40 AM 1048 (0x0418) SwdAction = '0001' InstallSoftware 1/12/2016 8:27:40 AM 1048 (0x0418) Set command line: Run command line InstallSoftware 1/12/2016 8:27:40 AM 1048 (0x0418) Working dir 'not set' InstallSoftware 1/12/2016 8:27:40 AM 1048 (0x0418) Executing command line: Run command line InstallSoftware 1/12/2016 8:27:40 AM 1048 (0x0418) Process completed with exit code 4 InstallSoftware 1/12/2016 8:27:40 AM 1048 (0x0418) 0 File(s) copied InstallSoftware 1/12/2016 8:27:40 AM 1048 (0x0418) Invalid drive specification InstallSoftware 1/12/2016 8:27:40 AM 1048 (0x0418) Command line returned 4 InstallSoftware 1/12/2016 8:27:40 AM 1048 (0x0418) Process completed with exit code 4 TSManager 1/12/2016 8:27:40 AM 920 (0x0398) !--------------------------------------------------------------------------------------------! TSManager 1/12/2016 8:27:40 AM 920 (0x0398) Failed to run the action: CMD Copy ThinInstaller. The system cannot open the file. (Error: 00000004; Source: Windows) TSManager 1/12/2016 8:27:40 AM 920 (0x0398) Quote Share this post Link to post Share on other sites More sharing options...
ruffsense Posted January 12, 2016 Report post Posted January 12, 2016 I found the problem. Quote Share this post Link to post Share on other sites More sharing options...
ca2del Posted January 31, 2016 Report post Posted January 31, 2016 I found the problem. .... and it was?! Quote Share this post Link to post Share on other sites More sharing options...