Quantcast
Channel: Group Policy forum
Viewing all articles
Browse latest Browse all 19997

Rename Local Administrator account using %computername_CC using GPP

$
0
0

Hi,

I have been tasked to rename the local administrator accounts on all servers but during a test I came across the following error on the Windows server 2008 Sp2 servers. Does anyone have any idea whats going on? It works fine in a lab but not on the local machines. I have also included the XML.

Log Name:      Application

Source:        Group Policy Local Users and Groups

Date:          2012/12/21 10:44:24 AM

Event ID:      4098

Task Category: (2)

Level:         Warning

Keywords:      Classic

User:          SYSTEM

Computer:      Servername

Description:

The computer 'Administrator (built-in)' preference item in the 'Local Admin ' Group Policy object did not apply because it failed with error code '0x80070057 The parameter is incorrect.' This error was suppressed.

The XML for the rename is below:

<?xml version="1.0"?>
-<User removePolicy="0" userContext="0" uid="{DAAD102C-2226-4170-9275-243B3A7402E1}" changed="2013-01-14 12:42:08" image="2" name="Administrator (built-in)" clsid="{DF5F1855-51E5-4d24-8B1A-D9BDE98BA1D1}"><Properties userName="Administrator (built-in)" subAuthority="RID_ADMIN" acctDisabled="0" neverExpires="0" noChange="0" changeLogon="0" cpassword="" description="" fullName="" newName="%ComputerName%_CC" action="U"/></User>


Kind Regards Don


Viewing all articles
Browse latest Browse all 19997

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>