3 Replies Latest reply on Sep 19, 2014 1:11 AM by Artur Kominek

    Running a Job to change local Policy an Windows 2012 R2

      Hallo,

       

      I have an issue where I have to set som values in the security settings/local policies/user right assigments on windows 2012 R2 servers.

      The customer wants some user to be disabled for RDP sessions.

      I can handle this task using secpol/secedit but it would be nice to just to browse a server and export this setting to a BLPakage.

      My Problem starts with executing the accosiated job. see error below

      In Windows 2008R2 there is no such a Problem.

      Also tied with UAC disab,led with the same result.

       

      Has some one a clue?

      Is there a reference for the error codes somewhere?

       

      Thanks for help.

      Kind regards

      Artur

      -----------------------

      EM:

       

      Info    15.09.2014 13:36:37    Bldeploy done - nRet = 7 (Apply failed; auto-rollback failed) exitCode = -4001 (Deployment failed)

      Warning    15.09.2014 13:36:37    Deploy failed. Cleaning up staging area.

      Warning    15.09.2014 13:36:37    Deploy failed. Cleaning up staging area.

      Error    15.09.2014 13:36:37    Apply failed, auto rollback failed.

      Error    15.09.2014 13:36:37    Apply undo failed       

      Error    15.09.2014 13:36:37    Apply undo failed    1    Security Settings\Local Policies\User Rights Assignment

      Info    15.09.2014 13:36:32    Sending request to refresh security settings. The refresh will take a few minutes.    1    Security Settings\Local Policies\User Rights Assignment

      Warning    15.09.2014 13:36:32    Update security database returned error code: 3    1    Security Settings\Local Policies\User Rights Assignment

      Info    15.09.2014 13:36:31    Processing asset SECURITYCATEGORY    1    Security Settings\Local Policies\User Rights Assignment

      Info    15.09.2014 13:36:31    Processing asset BLPACKAGE       

      Info    15.09.2014 13:36:31    Starting undo

      Error    15.09.2014 13:36:31    Apply failed: id = 1    1    Security Settings\Local Policies\User Rights Assignment

      Info    15.09.2014 13:36:26    Sending request to refresh security settings. The refresh will take a few minutes.    1    Security Settings\Local Policies\User Rights Assignment

      Warning    15.09.2014 13:36:26    Update security database returned error code: 3    1    Security Settings\Local Policies\User Rights Assignment

      Info    15.09.2014 13:36:25    Processing asset SECURITYCATEGORY    1    Security Settings\Local Policies\User Rights Assignment

      Info    15.09.2014 13:36:25    Processing asset BLPACKAGE       

      Info    15.09.2014 13:36:25    Starting apply

      Info    15.09.2014 13:36:25    Bldeploy "deny_rdp_login_2012_deu" UUID(17c7b08f93b134b8bf96463626c57083) started using file C:\tmp\stage\90adc675a96e387d9316b284ff1216d9\bldeploy.xml with rollback directory C:\Program Files\BMC Software\BladeLogic\RSCD\\Transactions\17c7b08f93b134b8bf96463626c57083

      Info    15.09.2014 13:36:22    Deployment job not in single-job mode. Reboot is not allowed. Any reboot requests by certain file operations will be ignored.

      Info    15.09.2014 13:36:14    The job 'deny_rdp_login_2012_deu->deny_rdp_login_2012_deu' has failed on server VM10000

      Error    15.09.2014 13:36:14    APPLY failed for server VM10000. Exit code = -4001       

      Info    15.09.2014 13:36:12    Package "deny_rdp_login_2012_deu" UUID(17c7b08f93b134b8bf96463626c57083) completed. exitCode = -4001 (Apply failed; auto-rollback failed)       

      Info    15.09.2014 13:36:06    Package "deny_rdp_login_2012_deu" UUID(17c7b08f93b134b8bf96463626c57083) auto-rollback on failure started       

      Info    15.09.2014 13:36:00    Package "deny_rdp_login_2012_deu" UUID(17c7b08f93b134b8bf96463626c57083) processing instructions       

      Info    15.09.2014 13:36:00    Package "deny_rdp_login_2012_deu" UUID(17c7b08f93b134b8bf96463626c57083) initialized, entering wait queue for processing       

      Info    15.09.2014 13:35:57    Package "deny_rdp_login_2012_deu" UUID(17c7b08f93b134b8bf96463626c57083) started       

      Info    15.09.2014 13:35:56    Started running the deploy step job 'deny_rdp_login_2012_deu->deny_rdp_login_2012_deu' on application server 'VM10000'(2,000,000) against target server 'VM10000'       

      Info    15.09.2014 13:35:56    Deploy Apply Job (Pre-Execute):deny_rdp_login_2012_deu; Server:VM10000;  PkgID:"01c534e6-c0f4-45a4-822b-c08545fb4488-2003015.1"; UUID:17c7b08f93b134b8bf96463626c57083       

      -----------------------