none
Server 2012 GPP Taskplaner RRS feed

  • Frage

  • Hallo,
    ich habe über die GPP eine geplante Aufgabe erstellt.
    Auf meinem 2008er Systemen sehe ich diese auch......auf meinem 2012er Systemen nicht.
    Ich habe sowohl eine "Geplante Aufgabe" wie auch eine "Geplante Aufgabe (Vista oder höher)" erstellt.
    Leider ist diese nicht auf den 2012er Systemen.
    GPO Verarbeitung alles OK.

    Jemand ne Idee warum?

    Gruß
    Dennis

    Dienstag, 12. Januar 2016 10:14

Antworten

Alle Antworten

  • Hi,
     
    Am 12.01.2016 um 11:14 schrieb HaschkeD:
    > ich habe über die GPP eine geplante Aufgabe erstellt.
     
    Auf welchem System, mit welcher GPMC hast du den Task erstellt?
    GPMC auf 2012R2? oder GPMC auf ..?
     
    Versuchs mal mit dem jeweils passenden OS und erstelle damit den GPP Task.
     
    Tschö
    Mark
    --
    Mark Heitbrink - MVP Windows Server - Group Policy
     
    GPO Tool: http://www.reg2xml.com - Registry Export File Converter
     
    Dienstag, 12. Januar 2016 10:19
  • Beides...... erst mit der GPMC unter 2008 R2, dann unter 2012 R2.
    Immer noch das gleiche verhalten.....

    Habe das gefunden:
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/60d638eb-818b-490a-a9aa-a07f4677dbed/create-scheduled-task-on-server-2012r2-with-gpo

    Aber ne wirkliche Lösung entnehme ich da nicht.

    Dienstag, 12. Januar 2016 10:41
  • > Leider ist diese nicht auf den 2012er Systemen.
     
    Debug Logging für GPP Tasks aktivieren, gucken was drin steht :-)
     
     
    Dienstag, 12. Januar 2016 10:58
    Beantworter
  • Anbei das Trace, aber so ganz schlau werde ich nicht daraus......

    2016-01-12 13:51:31.514 [pid=0x2cc,tid=0x4bc] Entering ProcessGroupPolicyExSchedTasks()
    2016-01-12 13:51:31.529 [pid=0x2cc,tid=0x4bc] SOFTWARE\Policies\Microsoft\Windows\Group Policy\{AADCED64-746C-4633-A97C-D61349046527}
    2016-01-12 13:51:31.529 [pid=0x2cc,tid=0x4bc] BackgroundPriorityLevel ( 7 )
    2016-01-12 13:51:31.529 [pid=0x2cc,tid=0x4bc] DisableRSoP ( 0 )
    2016-01-12 13:51:31.529 [pid=0x2cc,tid=0x4bc] LogLevel ( 2 )
    2016-01-12 13:51:31.529 [pid=0x2cc,tid=0x4bc] Command subsystem initialized. [SUCCEEDED(S_FALSE)]
    2016-01-12 13:51:31.858 [pid=0x2cc,tid=0x4bc] ----- Parameters
    2016-01-12 13:51:31.858 [pid=0x2cc,tid=0x4bc] CSE GUID : {AADCED64-746C-4633-A97C-D61349046527}
    2016-01-12 13:51:31.858 [pid=0x2cc,tid=0x4bc] Flags : ( X ) GPO_INFO_FLAG_MACHINE - Apply machine policy rather than user policy
    2016-01-12 13:51:31.858 [pid=0x2cc,tid=0x4bc]         (   ) GPO_INFO_FLAG_BACKGROUND - Background refresh of policy (ok to do slow stuff)
    2016-01-12 13:51:31.858 [pid=0x2cc,tid=0x4bc]         (   ) GPO_INFO_FLAG_SLOWLINK - Policy is being applied across a slow link
    2016-01-12 13:51:31.858 [pid=0x2cc,tid=0x4bc]         (   ) GPO_INFO_FLAG_VERBOSE - Verbose output to the eventlog
    2016-01-12 13:51:31.858 [pid=0x2cc,tid=0x4bc]         (   ) GPO_INFO_FLAG_NOCHANGES - No changes were detected to the Group Policy Objects
    2016-01-12 13:51:31.858 [pid=0x2cc,tid=0x4bc]         (   ) GPO_INFO_FLAG_LINKTRANSITION - A change in link speed was detected between previous policy application and current policy application
    2016-01-12 13:51:31.858 [pid=0x2cc,tid=0x4bc]         (   ) GPO_INFO_FLAG_LOGRSOP_TRANSITION - A change in RSoP logging was detected between the application of the previous policy and the application of the current policy.
    2016-01-12 13:51:31.858 [pid=0x2cc,tid=0x4bc]         (   ) GPO_INFO_FLAG_FORCED_REFRESH - Forced Refresh is being applied. redo policies.
    2016-01-12 13:51:31.858 [pid=0x2cc,tid=0x4bc]         (   ) GPO_INFO_FLAG_SAFEMODE_BOOT - windows safe mode boot flag
    2016-01-12 13:51:31.858 [pid=0x2cc,tid=0x4bc]         (   ) GPO_INFO_FLAG_ASYNC_FOREGROUND - Asynchronous foreground refresh of policy
    2016-01-12 13:51:31.858 [pid=0x2cc,tid=0x4bc] Token (computer or user SID): S-1-5-18
    2016-01-12 13:51:31.858 [pid=0x2cc,tid=0x4bc] Abort Flag : Yes (0xcfd3abe0)
    2016-01-12 13:51:31.873 [pid=0x2cc,tid=0x4bc] HKey Root : Yes (0x80000002)
    2016-01-12 13:51:31.873 [pid=0x2cc,tid=0x4bc] Deleted GPO List : No
    2016-01-12 13:51:31.873 [pid=0x2cc,tid=0x4bc] Changed GPO List : Yes
    2016-01-12 13:51:31.873 [pid=0x2cc,tid=0x4bc] Asynchronous Processing : Yes
    2016-01-12 13:51:31.873 [pid=0x2cc,tid=0x4bc] Status Callback : Yes (0x134fb100)
    2016-01-12 13:51:31.873 [pid=0x2cc,tid=0x4bc] WMI namespace : Yes (0xdb7ed3c0)
    2016-01-12 13:51:31.873 [pid=0x2cc,tid=0x4bc] RSoP Status : Yes (0xcfe6eb14)
    2016-01-12 13:51:31.873 [pid=0x2cc,tid=0x4bc] Planning Mode Site : (none)
    2016-01-12 13:51:31.873 [pid=0x2cc,tid=0x4bc] Computer Target : No (0x00000000)
    2016-01-12 13:51:31.873 [pid=0x2cc,tid=0x4bc] User Target : No (0x00000000)
    2016-01-12 13:51:31.873 [pid=0x2cc,tid=0x4bc] Calculated list relevance. [SUCCEEDED(S_FALSE)]
    2016-01-12 13:51:31.873 [pid=0x2cc,tid=0x4bc] ----- Changed - 0
    2016-01-12 13:51:31.873 [pid=0x2cc,tid=0x4bc] Options : (   ) GPO_FLAG_DISABLE - This GPO is disabled.
    2016-01-12 13:51:31.873 [pid=0x2cc,tid=0x4bc]           (   ) GPO_FLAG_FORCE - Do not override the settings in this GPO with settings in a subsequent GPO.
    2016-01-12 13:51:31.873 [pid=0x2cc,tid=0x4bc] Options (raw) : 0x00000000
    2016-01-12 13:51:31.873 [pid=0x2cc,tid=0x4bc] Version : 1703962 (0x001a001a)
    2016-01-12 13:51:31.873 [pid=0x2cc,tid=0x4bc] GPC : LDAP://CN=Machine,cn={B19B3F50-D788-412E-90C9-834FFDD60FEF},cn=policies,cn=system,DC=ssishop,DC=net
    2016-01-12 13:51:31.873 [pid=0x2cc,tid=0x4bc] GPT : \\ssishop.net\SysVol\ssishop.net\Policies\{B19B3F50-D788-412E-90C9-834FFDD60FEF}\Machine
    2016-01-12 13:51:31.873 [pid=0x2cc,tid=0x4bc] GPO Display Name : Test_Task
    2016-01-12 13:51:31.873 [pid=0x2cc,tid=0x4bc] GPO Name : {B19B3F50-D788-412E-90C9-834FFDD60FEF}
    2016-01-12 13:51:31.873 [pid=0x2cc,tid=0x4bc] GPO Link : (   ) GPLinkUnknown - No link information is available.
    2016-01-12 13:51:31.873 [pid=0x2cc,tid=0x4bc]            (   ) GPLinkMachine - The GPO is linked to a computer (local or remote).
    2016-01-12 13:51:31.873 [pid=0x2cc,tid=0x4bc]            (   ) GPLinkSite - The GPO is linked to a site.
    2016-01-12 13:51:31.873 [pid=0x2cc,tid=0x4bc]            ( X ) GPLinkDomain - The GPO is linked to a domain.
    2016-01-12 13:51:31.873 [pid=0x2cc,tid=0x4bc]            (   ) GPLinkOrganizationalUnit - The GPO is linked to an organizational unit.
    2016-01-12 13:51:31.873 [pid=0x2cc,tid=0x4bc]            (   ) GP Link Error
    2016-01-12 13:51:31.873 [pid=0x2cc,tid=0x4bc] lParam : 0x00000000
    2016-01-12 13:51:31.873 [pid=0x2cc,tid=0x4bc] Prev GPO : No
    2016-01-12 13:51:31.873 [pid=0x2cc,tid=0x4bc] Next GPO : Yes
    2016-01-12 13:51:31.873 [pid=0x2cc,tid=0x4bc] Extensions : [{00000000-0000-0000-0000-000000000000}{CAB54552-DEEA-4691-817E-ED4A4D1AFC72}][{35378EAC-683F-11D2-A89A-00C04FBBCFA2}{D02B1F72-3407-48AE-BA88-E8213C6761F1}][{AADCED64-746C-4633-A97C-D61349046527}{CAB54552-DEEA-4691-817E-ED4A4D1AFC72}]
    2016-01-12 13:51:31.873 [pid=0x2cc,tid=0x4bc] lParam2 : 0xcfd60118
    2016-01-12 13:51:31.873 [pid=0x2cc,tid=0x4bc] Link : LDAP://DC=ssishop,DC=net
    2016-01-12 13:51:31.904 [pid=0x2cc,tid=0x4bc] Purge GPH : C:\ProgramData\Microsoft\Group Policy\History\{B19B3F50-D788-412E-90C9-834FFDD60FEF}\Machine\Preferences\ScheduledTasks\ScheduledTasks.xml
    2016-01-12 13:51:31.904 [pid=0x2cc,tid=0x4bc] Properties handled. [ hr = 0x80070057 "Falscher Parameter." ]
    2016-01-12 13:51:31.904 [pid=0x2cc,tid=0x4bc] Completed class <Task> - Test123. [ hr = 0x80070057 "Falscher Parameter." ]
    2016-01-12 13:51:31.904 [pid=0x2cc,tid=0x4bc] Completed class <ScheduledTasks>. [ hr = 0x80070057 "Falscher Parameter." ]
    2016-01-12 13:51:31.904 [pid=0x2cc,tid=0x4bc] Completed package execution. [ hr = 0x80070057 "Falscher Parameter." ]
    2016-01-12 13:51:31.904 [pid=0x2cc,tid=0x4bc] Completed execution of removal package. [ hr = 0x80070057 "Falscher Parameter." ]
    2016-01-12 13:51:31.904 [pid=0x2cc,tid=0x4bc] Read GPE XML data file (2130 bytes total).
    2016-01-12 13:51:31.998 [pid=0x2cc,tid=0x4bc] Properties handled. [ hr = 0x80041330 "In der Aufgabendefinition wird ein veraltetes Feature verwendet." ]
    2016-01-12 13:51:31.998 [pid=0x2cc,tid=0x4bc] Error suppressed. [ hr = 0x80041330 "In der Aufgabendefinition wird ein veraltetes Feature verwendet." ]
    2016-01-12 13:51:31.998 [pid=0x2cc,tid=0x4bc] Properties handled. [ hr = 0x80070057 "Falscher Parameter." ]
    2016-01-12 13:51:31.998 [pid=0x2cc,tid=0x4bc] Error suppressed. [ hr = 0x80070057 "Falscher Parameter." ]
    2016-01-12 13:51:31.998 [pid=0x2cc,tid=0x4bc] ----- Changed - 1
    2016-01-12 13:51:31.998 [pid=0x2cc,tid=0x4bc] Options : (   ) GPO_FLAG_DISABLE - This GPO is disabled.
    2016-01-12 13:51:31.998 [pid=0x2cc,tid=0x4bc]           (   ) GPO_FLAG_FORCE - Do not override the settings in this GPO with settings in a subsequent GPO.
    2016-01-12 13:51:31.998 [pid=0x2cc,tid=0x4bc] Options (raw) : 0x00000000
    2016-01-12 13:51:31.998 [pid=0x2cc,tid=0x4bc] Version : 720907 (0x000b000b)
    2016-01-12 13:51:31.998 [pid=0x2cc,tid=0x4bc] GPC : LDAP://CN=Machine,cn={917596F8-DC65-46A6-A70F-7C58760428F3},cn=policies,cn=system,DC=ssishop,DC=net
    2016-01-12 13:51:31.998 [pid=0x2cc,tid=0x4bc] GPT : \\ssishop.net\sysvol\ssishop.net\Policies\{917596F8-DC65-46A6-A70F-7C58760428F3}\Machine
    2016-01-12 13:51:31.998 [pid=0x2cc,tid=0x4bc] GPO Display Name : WSUS-Server-Eval
    2016-01-12 13:51:32.014 [pid=0x2cc,tid=0x4bc] GPO Name : {917596F8-DC65-46A6-A70F-7C58760428F3}
    2016-01-12 13:51:32.014 [pid=0x2cc,tid=0x4bc] GPO Link : (   ) GPLinkUnknown - No link information is available.
    2016-01-12 13:51:32.014 [pid=0x2cc,tid=0x4bc]            (   ) GPLinkMachine - The GPO is linked to a computer (local or remote).
    2016-01-12 13:51:32.014 [pid=0x2cc,tid=0x4bc]            (   ) GPLinkSite - The GPO is linked to a site.
    2016-01-12 13:51:32.014 [pid=0x2cc,tid=0x4bc]            (   ) GPLinkDomain - The GPO is linked to a domain.
    2016-01-12 13:51:32.014 [pid=0x2cc,tid=0x4bc]            ( X ) GPLinkOrganizationalUnit - The GPO is linked to an organizational unit.
    2016-01-12 13:51:32.014 [pid=0x2cc,tid=0x4bc]            (   ) GP Link Error
    2016-01-12 13:51:32.014 [pid=0x2cc,tid=0x4bc] lParam : 0x00000000
    2016-01-12 13:51:32.014 [pid=0x2cc,tid=0x4bc] Prev GPO : Yes
    2016-01-12 13:51:32.014 [pid=0x2cc,tid=0x4bc] Next GPO : Yes
    2016-01-12 13:51:32.014 [pid=0x2cc,tid=0x4bc] Extensions : [{00000000-0000-0000-0000-000000000000}{CAB54552-DEEA-4691-817E-ED4A4D1AFC72}][{35378EAC-683F-11D2-A89A-00C04FBBCFA2}{0F6B957D-509E-11D1-A7CC-0000F87571E3}{D02B1F72-3407-48AE-BA88-E8213C6761F1}][{827D319E-6EAC-11D2-A4EA-00C04F79F83A}{803E14A0-B4FB-11D0-A0D0-00A0C90F574B}][{AADCED64-746C-4633-A97C-D61349046527}{CAB54552-DEEA-4691-817E-ED4A4D1AFC72}]
    2016-01-12 13:51:32.014 [pid=0x2cc,tid=0x4bc] lParam2 : 0xdb8ec7e8
    2016-01-12 13:51:32.014 [pid=0x2cc,tid=0x4bc] Link : LDAP://OU=Server,DC=ssishop,DC=net
    2016-01-12 13:51:32.014 [pid=0x2cc,tid=0x4bc] Completed get GPH path. [SUCCEEDED(S_FALSE)]
    2016-01-12 13:51:32.014 [pid=0x2cc,tid=0x4bc] Completed remove GPH. [SUCCEEDED(S_FALSE)]
    2016-01-12 13:51:32.014 [pid=0x2cc,tid=0x4bc] Read GPE XML data file (2409 bytes total).
    2016-01-12 13:51:32.014 [pid=0x2cc,tid=0x4bc] Properties handled. [ hr = 0x80070057 "Falscher Parameter." ]
    2016-01-12 13:51:32.014 [pid=0x2cc,tid=0x4bc] Error suppressed. [ hr = 0x80070057 "Falscher Parameter." ]
    2016-01-12 13:51:32.014 [pid=0x2cc,tid=0x4bc] Properties handled. [ hr = 0x80070057 "Falscher Parameter." ]
    2016-01-12 13:51:32.014 [pid=0x2cc,tid=0x4bc] Error suppressed. [ hr = 0x80070057 "Falscher Parameter." ]
    2016-01-12 13:51:32.014 [pid=0x2cc,tid=0x4bc] Properties handled. [ hr = 0x80070057 "Falscher Parameter." ]
    2016-01-12 13:51:32.014 [pid=0x2cc,tid=0x4bc] Error suppressed. [ hr = 0x80070057 "Falscher Parameter." ]
    2016-01-12 13:51:32.014 [pid=0x2cc,tid=0x4bc] ----- Changed - 2
    2016-01-12 13:51:32.014 [pid=0x2cc,tid=0x4bc] Options : (   ) GPO_FLAG_DISABLE - This GPO is disabled.
    2016-01-12 13:51:32.014 [pid=0x2cc,tid=0x4bc]           (   ) GPO_FLAG_FORCE - Do not override the settings in this GPO with settings in a subsequent GPO.
    2016-01-12 13:51:32.014 [pid=0x2cc,tid=0x4bc] Options (raw) : 0x00000000
    2016-01-12 13:51:32.014 [pid=0x2cc,tid=0x4bc] Version : 4259905 (0x00410041)
    2016-01-12 13:51:32.014 [pid=0x2cc,tid=0x4bc] GPC : LDAP://CN=Machine,cn={C0719BDE-83C5-44B4-86DF-7D4013410F78},cn=policies,cn=system,DC=ssishop,DC=net
    2016-01-12 13:51:32.014 [pid=0x2cc,tid=0x4bc] GPT : \\ssishop.net\sysvol\ssishop.net\Policies\{C0719BDE-83C5-44B4-86DF-7D4013410F78}\Machine
    2016-01-12 13:51:32.014 [pid=0x2cc,tid=0x4bc] GPO Display Name : WSUS-Server
    2016-01-12 13:51:32.014 [pid=0x2cc,tid=0x4bc] GPO Name : {C0719BDE-83C5-44B4-86DF-7D4013410F78}
    2016-01-12 13:51:32.014 [pid=0x2cc,tid=0x4bc] GPO Link : (   ) GPLinkUnknown - No link information is available.
    2016-01-12 13:51:32.029 [pid=0x2cc,tid=0x4bc]            (   ) GPLinkMachine - The GPO is linked to a computer (local or remote).
    2016-01-12 13:51:32.029 [pid=0x2cc,tid=0x4bc]            (   ) GPLinkSite - The GPO is linked to a site.
    2016-01-12 13:51:32.029 [pid=0x2cc,tid=0x4bc]            (   ) GPLinkDomain - The GPO is linked to a domain.
    2016-01-12 13:51:32.029 [pid=0x2cc,tid=0x4bc]            ( X ) GPLinkOrganizationalUnit - The GPO is linked to an organizational unit.
    2016-01-12 13:51:32.029 [pid=0x2cc,tid=0x4bc]            (   ) GP Link Error
    2016-01-12 13:51:32.029 [pid=0x2cc,tid=0x4bc] lParam : 0x00000000
    2016-01-12 13:51:32.029 [pid=0x2cc,tid=0x4bc] Prev GPO : Yes
    2016-01-12 13:51:32.029 [pid=0x2cc,tid=0x4bc] Next GPO : No
    2016-01-12 13:51:32.029 [pid=0x2cc,tid=0x4bc] Extensions : [{00000000-0000-0000-0000-000000000000}{CAB54552-DEEA-4691-817E-ED4A4D1AFC72}][{35378EAC-683F-11D2-A89A-00C04FBBCFA2}{0F6B957D-509E-11D1-A7CC-0000F87571E3}{D02B1F72-3407-48AE-BA88-E8213C6761F1}][{827D319E-6EAC-11D2-A4EA-00C04F79F83A}{803E14A0-B4FB-11D0-A0D0-00A0C90F574B}][{AADCED64-746C-4633-A97C-D61349046527}{CAB54552-DEEA-4691-817E-ED4A4D1AFC72}]
    2016-01-12 13:51:32.029 [pid=0x2cc,tid=0x4bc] lParam2 : 0xdb8f46e8
    2016-01-12 13:51:32.029 [pid=0x2cc,tid=0x4bc] Link : LDAP://OU=Server,DC=ssishop,DC=net
    2016-01-12 13:51:32.029 [pid=0x2cc,tid=0x4bc] Completed get GPH path. [SUCCEEDED(S_FALSE)]
    2016-01-12 13:51:32.029 [pid=0x2cc,tid=0x4bc] Completed remove GPH. [SUCCEEDED(S_FALSE)]
    2016-01-12 13:51:32.029 [pid=0x2cc,tid=0x4bc] Read GPE XML data file (2332 bytes total).
    2016-01-12 13:51:32.029 [pid=0x2cc,tid=0x4bc] Properties handled. [ hr = 0x80070057 "Falscher Parameter." ]
    2016-01-12 13:51:32.029 [pid=0x2cc,tid=0x4bc] Error suppressed. [ hr = 0x80070057 "Falscher Parameter." ]
    2016-01-12 13:51:32.029 [pid=0x2cc,tid=0x4bc] Properties handled. [ hr = 0x80070057 "Falscher Parameter." ]
    2016-01-12 13:51:32.029 [pid=0x2cc,tid=0x4bc] Error suppressed. [ hr = 0x80070057 "Falscher Parameter." ]
    2016-01-12 13:51:32.029 [pid=0x2cc,tid=0x4bc] Properties handled. [ hr = 0x80070057 "Falscher Parameter." ]
    2016-01-12 13:51:32.029 [pid=0x2cc,tid=0x4bc] Error suppressed. [ hr = 0x80070057 "Falscher Parameter." ]
    2016-01-12 13:51:32.029 [pid=0x2cc,tid=0x4bc] Completed get next GPO. [SUCCEEDED(S_FALSE)]
    2016-01-12 13:51:32.029 [pid=0x2cc,tid=0x4bc] WQL : SELECT * FROM RSOP_PolmkrSetting WHERE polmkrBaseCseGuid = "{AADCED64-746C-4633-A97C-D61349046527}"
    2016-01-12 13:51:32.623 [pid=0x2cc,tid=0x4bc] Purged 1 old RSoP entries.
    2016-01-12 13:51:32.623 [pid=0x2cc,tid=0x4bc] Logging 1 new RSoP entries.
    2016-01-12 13:51:32.623 [pid=0x2cc,tid=0x4bc] RSoP Entry 0
    2016-01-12 13:51:32.639 [pid=0x2cc,tid=0x4bc] Completed get GPO list. [SUCCEEDED(S_FALSE)]
    2016-01-12 13:51:32.639 [pid=0x2cc,tid=0x4bc] IsRsopPlanningMode() [SUCCEEDED(S_FALSE)]
    2016-01-12 13:51:32.654 [pid=0x2cc,tid=0x4bc] Leaving ProcessGroupPolicyExSchedTasks() returned 0x00000000

    Dienstag, 12. Januar 2016 13:06
  • Lösung gefunden:

    http://www.windowsecurity.com/articles-tutorials/Windows_Server_2012_Security/group-policy-changes-windows-server-2012-windows-8-window-rt-part3.html

    Dort:
    Two of the actions that were formerly available in Windows 7 and Windows Server 2008 R2 have been deprecated in Windows 8 and Windows Server 2012. If you attempt to apply either the Send an email or the Display a message preference item, nothing will happen. If you take a look at the log file, though, you’ll see an error message that says 0x80041330 – the task definition uses a deprecated feature.

    Ich hatte natürlich mit "Display a message" getestet........

    Dienstag, 12. Januar 2016 13:37