Quantcast
Channel: All Printer Setup, Software & Drivers posts
Viewing all articles
Browse latest Browse all 208439

Re: SIUtility.exe not working in Windows

$
0
0

In case anyone is interrested: I have spent some time on the debugging of SIUtility64 as apparently I was unable to run it via script (/disable switch always brought GUI).

Tracked by ProcessExplorer.

 

When you click the Disable/Enable button in GUI, the app does the following (shortened version):

 

* copies HPSIsvc.exe do system32 folder (be careful for x64 OSD and SCCM x86 native client - use Command Line and Disable folder redirection or you get redirected to SysWOW64)

* registers the HPSIsvc as a service (command line "hpisisvc.exe -install")

* creates several REG keys (see bellow)

 

So, my solution for disabling the SmartSetup is actually to run the following CMD file as a step in SCCM TS (should not matter if build or deploy).

 

mkdir c:\temp\hpsisvc
xcopy "%~dp0*.*" "c:\temp\hpsisvc" /E /Y
xcopy "C:\temp\hpsisvc\hpsisvc.exe" c:\windows\System32 /Y
C:\Windows\System32\HPSIsvc.exe -install
REG IMPORT C:\temp\hpsisvc\HPSIsvc.reg
RD C:\temp\hpsisvc /S /Q

 

 

REG keys and values created (source for the REG file mentioned above):

 

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\HewlettPackard]

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\HewlettPackard\SISetup]
"ProdInstalled"=hex(7):76,00,69,00,64,00,5f,00,30,00,33,00,66,00,30,00,26,00,\
  70,00,69,00,64,00,5f,00,30,00,30,00,32,00,61,00,00,00,76,00,69,00,64,00,5f,\
  00,30,00,33,00,66,00,30,00,26,00,70,00,69,00,64,00,5f,00,30,00,33,00,32,00,\
  61,00,00,00,76,00,69,00,64,00,5f,00,30,00,33,00,66,00,30,00,26,00,70,00,69,\
  00,64,00,5f,00,30,00,39,00,32,00,61,00,00,00,76,00,69,00,64,00,5f,00,30,00,\
  33,00,66,00,30,00,26,00,70,00,69,00,64,00,5f,00,30,00,61,00,32,00,61,00,00,\
  00,76,00,69,00,64,00,5f,00,30,00,33,00,66,00,30,00,26,00,70,00,69,00,64,00,\
  5f,00,31,00,30,00,32,00,61,00,00,00,76,00,69,00,64,00,5f,00,30,00,33,00,66,\
  00,30,00,26,00,70,00,69,00,64,00,5f,00,30,00,34,00,32,00,61,00,00,00,76,00,\
  69,00,64,00,5f,00,30,00,33,00,66,00,30,00,26,00,70,00,69,00,64,00,5f,00,30,\
  00,35,00,32,00,61,00,00,00,76,00,69,00,64,00,5f,00,30,00,33,00,66,00,30,00,\
  26,00,70,00,69,00,64,00,5f,00,30,00,65,00,32,00,61,00,00,00,00,00
"SavedProdInstalled"=hex(7):00,00
"BlockSISvc"=dword:00000001

 

 

I am installing the drivers in the next TS step (OSD TS). Once finished, I plug in the printer and it gets installed automatically (as a PRINTER, NO storage/fakeCD drive visible under Devices).

 

Windows 7 64bit SP1

SCCM 2007 R2

 

Regards,

MG


Viewing all articles
Browse latest Browse all 208439

Trending Articles