User Tools

Site Tools


userspace:winst32_preproc.exe

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
userspace:winst32_preproc.exe [2019/10/28 14:08]
pandel
userspace:winst32_preproc.exe [2021/08/23 08:37] (current)
Line 27: Line 27:
 v1.0, Tested with Windows 10 x64 1809 Enterprise v1.0, Tested with Windows 10 x64 1809 Enterprise
  --- //[[holger.pandel@googlemail.com|pandel]] 2019/10/25 13:52//  --- //[[holger.pandel@googlemail.com|pandel]] 2019/10/25 13:52//
 +
 v1.1, Tested with Windows 10 x64 1809 Enterprise v1.1, Tested with Windows 10 x64 1809 Enterprise
  --- //[[holger.pandel@googlemail.com|pandel]] 2019/10/28 15:00//  --- //[[holger.pandel@googlemail.com|pandel]] 2019/10/28 15:00//
Line 133: Line 134:
  
 __Registry checks__ __Registry checks__
 +
 A configuration entry like  A configuration entry like 
 <code text>reg1=HKLM|64|SOFTWARE\RZ\FSV|FSVActive|0</code> <code text>reg1=HKLM|64|SOFTWARE\RZ\FSV|FSVActive|0</code>
Line 172: Line 174:
  
 __Process checks__ __Process checks__
 +
 Process checks are much simpler: Process checks are much simpler:
  
Line 213: Line 216:
  
 <code text> <code text>
-if ("FSVActive" under "HKEY_LOCAL_MACHINE\SOFTWARE\RZ\FSV" is "0") AND ("svchost.exe" is NOT int the list of active processes) then+if ("FSVActive" under "HKEY_LOCAL_MACHINE\SOFTWARE\RZ\FSV" is "0") AND ("svchost.exe" is NOT in the list of active processes) then
  log currently installed products on client  log currently installed products on client
  log current action requests  log current action requests
Line 314: Line 317:
 Local $msg = '------------------------------------------------------------------------------------------------------------------' & @CRLF ; start line Local $msg = '------------------------------------------------------------------------------------------------------------------' & @CRLF ; start line
 $msg &= $header & ' v' & $version & ' Command Line' & @CRLF & @CRLF ; Message. $msg &= $header & ' v' & $version & ' Command Line' & @CRLF & @CRLF ; Message.
-ConsoleWrite($msg) 
  
 ; Load ini data ; Load ini data
Line 322: Line 324:
 ; let's have a look at the CmdLine ; let's have a look at the CmdLine
 If $CmdLine[0] = 0 Then If $CmdLine[0] = 0 Then
- $msg = "No arguments passed. See -h for help or use -d for a test run. Exiting."  & @CRLF & @CRLF+ $msg &= "No arguments passed. See -h for help or use -d for a test run. Exiting."  & @CRLF & @CRLF
  ConsoleWrite($msg)  ConsoleWrite($msg)
  Exit 0  Exit 0
 +Else 
 + _debug($msg)
 EndIf EndIf
  
userspace/winst32_preproc.exe.1572271692.txt.gz ยท Last modified: 2021/08/23 08:37 (external edit)