2 Replies Latest reply on Oct 20, 2017 1:33 AM by SitzRieSe

    Execution outside Maintenance Window forbidden by Policy

    SitzRieSe Expert

      Hi Zusammen,

       

      ich habe hier ein Problem auf Windows 2016 Server. Dort werden keine Pakete im Wartungsfenster ausgeführt. Ich glaube im Log die richtige Stelle gefunden zu haben:

       

       

       

      13:25:53.659 2  niMW: //------------| Starting Searching for job that needs maintenance mode. |------------\\

      13:25:53.659 0  SWMSRT: Execution outside Maintenance Window forbidden by Policy 168650.

      13:25:53.659 2  niMW: Job found that requires the execution of EnterMW and LeaveMW sequence.

      13:25:53.659 0  niMW: Entering maintenance window...

      13:25:53.659 1  Failed to use RegLSH to access SOFTWARE\NetSupport\NetInstall

      13:25:53.659 1  niMW: EnterMW sequence has been executed successfully.

      13:25:53.659 2  niMW: \\------------| Finished Searching for job that needs maintenance mode. |------------//

      13:25:53.659 1  niMW: At least one job found that required the execution of EnterMW and LeaveMW sequence - mainteance mode was entered.

      13:25:53.659 2  //------------| Starting AUTOINSTALL RUN #1 |------------\\

      13:25:53.659 2  //------------| Starting Printing Joblist |------------\\

      13:25:53.659 1     UninstallJob:PolicyInstance.311899 PatchLink Client Package - Windows (Version 7.3.2.3660) ( ExecFlags: [ExecFlags: 0x000000 ()] )

      13:25:53.659 1     InstallJob:PolicyInstance.311899 PatchLink Client Package - Windows (Version 7.3.2.3660) ( ExecFlags: [ExecFlags: 0x000000 ()] )

      13:25:53.659 1     InstallJob:PolicyInstance.311898 Cfg - Check for New Client ( ExecFlags: [ExecFlags: 0x000000 ()] )

      13:25:53.659 1  *  InstallJob:PolicyInstance.311904 Cfg - Reboot Management ( ExecFlags: [ExecFlags: 0x002010 (install, ws)] )

      13:25:53.659 1  *  InstallJob:PolicyInstance.376640 PatchLink Execution Package - Scan (Version 7.3.2.3660) ( ExecFlags: [ExecFlags: 0x002010 (install, ws)] )

      13:25:53.659 0    Total number of Jobs: 5

      13:25:53.659 2  \\------------| Finished Printing Joblist |------------//

      13:25:53.659 2   //------------| Starting Executing UninstallJob:PolicyInstance.311899 |------------\\

      13:25:53.659 2   Checking Prerequisites of Job UninstallJob:PolicyInstance.311899...

      13:25:53.659 0    SWMSClntLib: Got 1 PIs for {2D994597-286D-414C-B3BC-1CB9ECBBC5A9}; effective desired configuration (Now) is: 12843 (from Policy 162962 with priority 1000)

      13:25:53.659 0    SWMSClntLib: PI 311899: Compliance: Compliant / ExecMode: None() / Desired: 12843

      13:25:53.659 1    SWMSRT: Executionsettings for PolicyInstance.311899: execution mode: None, machine part: no, user part: no

      13:25:53.659 0    SWMSRT: No results must be written to PolicyInstance UninstallJob:PolicyInstance.311899 outside of a machine part execution

      13:25:53.659 2    Run of Job UninstallJob:PolicyInstance.311899 is not necessary...

      13:25:53.659 2   \\------------| Finished Executing UninstallJob:PolicyInstance.311899 |------------//

      13:25:53.659 2   //------------| Starting Executing InstallJob:PolicyInstance.311899 |------------\\

      13:25:53.659 2   Checking Prerequisites of Job InstallJob:PolicyInstance.311899...

      13:25:53.659 0    SWMSClntLib: Got 1 PIs for {2D994597-286D-414C-B3BC-1CB9ECBBC5A9}; effective desired configuration (Now) is: 12843 (from Policy 162962 with priority 1000)

      13:25:53.659 0    SWMSClntLib: PI 311899: Compliance: Compliant / ExecMode: None() / Desired: 12843

      13:25:53.659 1    SWMSRT: Executionsettings for PolicyInstance.311899: execution mode: None, machine part: no, user part: no

      13:25:53.659 0    SWMSRT: No results must be written to PolicyInstance InstallJob:PolicyInstance.311899 outside of a machine part execution

      13:25:53.659 2    Run of Job InstallJob:PolicyInstance.311899 is not necessary...

      13:25:53.659 2   \\------------| Finished Executing InstallJob:PolicyInstance.311899 |------------//

      13:25:53.659 2   //------------| Starting Executing InstallJob:PolicyInstance.311898 |------------\\

      13:25:53.659 2   Checking Prerequisites of Job InstallJob:PolicyInstance.311898...

      13:25:53.659 0    SWMSClntLib: Got 1 PIs for {75EDA90F-2D6A-44D6-91CD-2D5B153456EA}; effective desired configuration (Now) is: 14119 (from Policy 211110 with priority 1000)

      13:25:53.659 0    SWMSClntLib: PI 311898: Compliance: Compliant / ExecMode: None() / Desired: 14119

      13:25:53.659 1    SWMSRT: Executionsettings for PolicyInstance.311898: execution mode: None, machine part: no, user part: no

      13:25:53.675 0    SWMSRT: No results must be written to PolicyInstance InstallJob:PolicyInstance.311898 outside of a machine part execution

      13:25:53.675 2    Run of Job InstallJob:PolicyInstance.311898 is not necessary...

      13:25:53.675 2   \\------------| Finished Executing InstallJob:PolicyInstance.311898 |------------//

      13:25:53.675 2   //------------| Starting Executing InstallJob:PolicyInstance.311904 |------------\\

      13:25:53.675 2   Checking Prerequisites of Job InstallJob:PolicyInstance.311904...

      13:25:53.675 0    SWMSClntLib: PI 311904: Compliance: CompliancePending / ExecMode: Install(7810) / Desired: 7810

      13:25:53.675 0    SWMSRT: Execution outside Maintenance Window forbidden by Policy 168650.

      13:25:53.675 0    SWMSRT: Machinepart execution is not allowed because client is not in maintenance mode

      13:25:53.675 1    SWMSRT: Executionsettings for PolicyInstance.311904: execution mode: None, machine part: no, user part: no

      13:25:53.675 0    SWMSRT: No results must be written to PolicyInstance InstallJob:PolicyInstance.311904 outside of a machine part execution

      13:25:53.675 2    Run of Job InstallJob:PolicyInstance.311904 is not necessary...

      13:25:53.675 2   \\------------| Finished Executing InstallJob:PolicyInstance.311904 |------------//

      13:25:53.675 2   //------------| Starting Executing InstallJob:PolicyInstance.376640 |------------\\

      13:25:53.675 2   Checking Prerequisites of Job InstallJob:PolicyInstance.376640...

      13:25:53.675 2     SWMSRT: //------------| Starting Checking ClntSysPrerequisites of PatchMgmtExecutionPackage.52680 ( PatchLink Execution Package - Scan (Version 7.3.2.3660) ). |------------\\

      13:25:53.675 1     Evaluating condition "IsInstalled('{2D994597-286D-414C-B3BC-1CB9ECBBC5A9}')"

      13:25:53.675 1      SWMSClntLib: Package {2D994597-286D-414C-B3BC-1CB9ECBBC5A9} is installed by Policyinstance 311899.

      13:25:53.675 0     No exclusions found.

      13:25:53.675 1     SWMSRT: ClntSysPrerequisites (@IsInstalled('{2D994597-286D-414C-B3BC-1CB9ECBBC5A9}')) are matching for Package PatchMgmtExecutionPackage.52680

      13:25:53.675 2     SWMSRT: \\------------| Finished Checking ClntSysPrerequisites of PatchMgmtExecutionPackage.52680 ( PatchLink Execution Package - Scan (Version 7.3.2.3660) ). |------------//

      13:25:53.675 0    SWMSClntLib: PI 376640: Compliance: CompliancePending / ExecMode: Install(12846) / Desired: 12846

      13:25:53.675 0    SWMSRT: Execution outside Maintenance Window forbidden by Policy 176442.

      13:25:53.675 0    SWMSRT: Machinepart execution is not allowed because client is not in maintenance mode

      13:25:53.675 1    SWMSRT: Executionsettings for PolicyInstance.376640: execution mode: None, machine part: no, user part: no

      13:25:53.675 0    SWMSRT: No results must be written to PolicyInstance InstallJob:PolicyInstance.376640 outside of a machine part execution

      13:25:53.675 2    Run of Job InstallJob:PolicyInstance.376640 is not necessary...

      13:25:53.675 2   \\------------| Finished Executing InstallJob:PolicyInstance.376640 |------------//

       

      Betroffen sind ausschließlich Windows Server 2016, davon leider aber alle.

       

      Führe ich den Installer mit niinst32.exe /ai /ignoremw aus, funktioniert die Installation !!! Benutze ich niinst32.exe /server /ignoremw bekomme ich das gleiche Fehlerbild wie oben.

       

      Ist das ein bekanntes Problem? Wir setzen DSM 2016.2.1 ein.

       

      Danke!

       

      Gruß

       

      Alex

        • 1. Re: Execution outside Maintenance Window forbidden by Policy
          _Mel_ Master

          13:25:53.659 1  Failed to use RegLSH to access SOFTWARE\NetSupport\NetInstall

          läuft da der runtime service nicht, oder läuft gerade ein anderer autoinstaller ?

          steht was im NPI logfile ?

          funktionirt es mit computerobjekt -> execute changes -> ignore maintenance ?

          • 2. Re: Execution outside Maintenance Window forbidden by Policy
            SitzRieSe Expert

            Hi Mel,

             

            danke für deine Antwort! Der Core und Runtime Service ist gestartet. Der Autoinstaller läuft zu dem Zeitpunkt nicht, der niinst32.exe ist nicht gestartet.

             

            Über Änderung ausführen läuft es... Hintergrund ist warum ich das mit niinst32 /service /ignoremw getestet habe ist, weil alle Windows 2016 Server nicht innerhalb des Wartungsfenster irgendetwas ausführen. Nun war das letzte Wartungsfenster schon eine Weile her und ich war mir nicht sicher ob der Agent die Logfiles schon weggeräumt hat. Ich hatte aber gestern Abend das Wartungsfenster auf heute nacht verschoben. Der Installer hätte um 0uhr loslaufen müssen, das ist aber nicht passiert!

             

            Wir haben die Option an:

             

             

            Ich stelle jetzt nochmal ein erneutes Wartungsfenster auf Sonntag ein.

             

            Mel, was bedeutet denn das Failed to use RegLSH?

             

            Danke!

             

            Gruß

             

            Alex