Powershell Edit GPO deploy Printer

Hi Guys,
I tried to make Powershell script with GUI to add printers to print server. I would like that my super user just write new printer name and IP adresse in textbox and script suppose to add printer to printer server, create new ADGroupe to each
printer (name of groupe = printer name), create GPO to each AD Groupe (GPO name = <Printer name>64bit)with premissions level assign to the AD group.
Everything is working fine, script is adding printer, adding port for the printer, creating AD Group, creating (empty) GPO, i don´t know how to edit gpo via powershell and deploy printer to the AD Group.
Have you got any suggetions?
to make a GUI i followed this guide:
blogs.technet.com/b/heyscriptingguy/archive/2014/08/01/i-39-ve-got-a-powershell-secret-adding-a-gui-to-scripts.(a)(s)(p)(x)
my PS script code :
Import-Module Activedirectory
Import-Module Grouppolicy
.\loadDialog.ps1 -XamlPath ".\MainWindow.xaml"
Get-PrinterDriver | ForEach-Object {$x=$cbPrinterDriver.Items.Add($_.Name)}
$tbPrinterName.add_TextChanged({
    $tbADGroupeName.Text = "PRN-"+$tbPrinterName.Text
    $tbGPOName.Text = $tbPrinterName.Text+"-64bit"
    $tbSkoleName.Text = $tbPrinterName.Text.Substring(0,[system.math]::min(3,$tbPrinterName.Text.Length))
$btnCreate.add_Click({
$btnCreate.IsEnabled = $FALSE
$PrinterName = $tbPrinterName.Text
$PrinterIP = $tbPrinterIP.Text
$ADGroupeName = $tbADGroupeName.Text
$GPOName = $tbGPOName.Text
$Driver = $cbPrinterDriver.SelectedItem.ToString()
$SkoleName = $tbSkoleName.Text
$NL = "`r`n"
Add-PrinterPort -PrinterHostAddress "$PrinterIP" -Name "$PrinterIP"
$tbInfo.AppendText("Printer port created: $PrinterIP$NL")
Add-Printer -Name "$PrinterName" -PortName $PrinterIP -DriverName "$Driver" -shared -ShareName "$PrinterName" -Published
$tbInfo.AppendText("Printer created: $PrinterName$NL")
New-ADGroup -name "$ADGroupeName" -GroupScope Global -GroupCategory Security -DisplayName "$PrinterName" -path "ou=XXXXXXXXXX,ou=$SkoleName,ou=XXXX,ou=XXXXX,dc=XXXXXXX,dc=XXXX" -Description "Members of this group get $PrinterName
added"
$tbInfo.AppendText("Active Directory group created: $ADGroupeName$NL")
New-GPO -Name "$GPOName" | new-gplink -target "ou=XXXXXXX,ou=$SkoleName,ou=XXXXXX,ou=XXXXX,dc=XXXXXX,dc=XXXX"
$tbInfo.AppendText("GPO created: $GPOName$NL")
Set-GPPermission -name "$GPOName" -permissionlevel gporead -replace -targetname "Authenticated Users" -targettype Group
Set-GPPermission -name "$GPOName" -permissionlevel gpoapply -replace -targetname "$ADGroupeName" -targettype Group
$tbInfo.AppendText("GPO permissions set.$NL")
$tbInfo.AppendText("Done!.$NL")
#$btnCreate.IsEnabled = $TRUE
$xamGUI.ShowDialog() | out-null
My loadDialog.ps1
[CmdletBinding()]
Param(
 [Parameter(Mandatory=$True,Position=1)]
 [string]$XamlPath
[xml]$Global:xmlWPF = Get-Content -Path $XamlPath
#Add WPF and Windows Forms assemblies
try{
 Add-Type -AssemblyName PresentationCore,PresentationFramework,WindowsBase,system.windows.forms
} catch {
 Throw "Failed to load Windows Presentation Framework assemblies."
#Create the XAML reader using a new XML node reader
$Global:xamGUI = [Windows.Markup.XamlReader]::Load((new-object System.Xml.XmlNodeReader $xmlWPF))
#Create hooks to each named object in the XAML
$xmlWPF.SelectNodes("//*[@Name]") | %{
 Set-Variable -Name ($_.Name) -Value $xamGUI.FindName($_.Name) -Scope Global
My MainWindow.xaml
<Window 
      Title="Pirinter tool" Height="413.298" Width="525">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="23*"/>
            <ColumnDefinition Width="10*"/>
            <ColumnDefinition Width="28*"/>
            <ColumnDefinition Width="21*"/>
            <ColumnDefinition Width="126*"/>
            <ColumnDefinition Width="24*"/>
            <ColumnDefinition Width="285*"/>
        </Grid.ColumnDefinitions>
        <TextBox Name="tbADGroupeName" HorizontalAlignment="Left" Height="23" Margin="68,148,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top"
Width="120" Grid.Column="4" Grid.ColumnSpan="3"/>
        <TextBox Name="tbPrinterIP" HorizontalAlignment="Left" Height="23" Margin="68,76,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120"
Grid.Column="4" Grid.ColumnSpan="3"/>
        <TextBox Name="tbPrinterName" HorizontalAlignment="Left" Height="23" Margin="68,45,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120"
RenderTransformOrigin="0.049,3.073" Grid.Column="4" Grid.ColumnSpan="3"/>
        <Label Content="AD Groupe" HorizontalAlignment="Left" Margin="11,148,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.599,-0.868" Grid.ColumnSpan="3"
Grid.Column="2"/>
        <Label Content="IP" HorizontalAlignment="Left" Margin="11,72,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.435,0.329" Grid.ColumnSpan="2" Grid.Column="2"/>
        <Label Content="Printer Name" HorizontalAlignment="Left" Margin="11,41,0,0" VerticalAlignment="Top" Grid.ColumnSpan="3" Grid.Column="2"/>
        <TextBox Name="tbGPOName" HorizontalAlignment="Left" Height="23" Margin="68,185,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top"
Width="120" Grid.Column="4" Grid.ColumnSpan="3"/>
        <ComboBox Name="cbPrinterDriver" HorizontalAlignment="Left" Margin="67,114,0,0" VerticalAlignment="Top" Width="169" Grid.Column="4" Grid.ColumnSpan="3"/>
        <Label Content="Driver" HorizontalAlignment="Left" Margin="10,114,0,0" VerticalAlignment="Top" Grid.ColumnSpan="3" Grid.Column="2"/>
        <Label Content="GPO Name" HorizontalAlignment="Left" Margin="11,182,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.599,-0.868" Grid.ColumnSpan="3"
Grid.Column="2"/>
        <Button Name="btnCancel" Content="Cancel" HorizontalAlignment="Left" Margin="68,339,0,0" VerticalAlignment="Top" Width="75" Grid.Column="4"
IsCancel="True" Grid.ColumnSpan="2" Height="33"/>
        <Button Name="btnCreate" Content="Create" HorizontalAlignment="Left" Margin="45,339,0,0" VerticalAlignment="Top" Width="75" Grid.Column="6"
IsDefault="True" Height="33"/>
        <TextBox Name="tbSkoleName" Grid.ColumnSpan="3" HorizontalAlignment="Left" Height="23" TextWrapping="Wrap" VerticalAlignment="Top" Width="120"
Grid.Column="4" Margin="68,227,0,0"/>
        <Label Content="Skole" HorizontalAlignment="Left" VerticalAlignment="Top" Grid.Column="2" Margin="15,224,0,0" Grid.ColumnSpan="3" Width="76"/>
        <TextBox Name="tbInfo" Grid.Column="2" HorizontalAlignment="Left" Height="79" Margin="0,255,0,0" TextWrapping="Wrap" VerticalAlignment="Top"
Width="447" IsReadOnly="True" Grid.ColumnSpan="5" ScrollViewer.CanContentScroll="True" SelectionBrush="{x:Null}" VerticalScrollBarVisibility="Auto"/>
    </Grid>
</Window>
I will be gratefull for any help.

Print Manager does all of that and is already installed in Windows.  Why do you want to recreate it?  It sets up the printers and the GPO for assigning the printers.
Start here:
https://technet.microsoft.com/en-us/library/cc753109(v=ws.10).aspx
Post questions about printer management in the server forum for you OS.
¯\_(ツ)_/¯

Similar Messages

  • GPO deploy printer issue always "Pending addition"

    Hi,
    I use the GPO to deploy printer to all client, but the status of these printer always show "pending addition" as below:
    Can you point me if anything I miss?
    Thanks.

    Hi,
    Printer Group Policy Preference is exist in both Computer Configuration and user Configuration, and have three kinds of printers to deploy: TCP/IP Printer, Local Printer, and Shared Printer.
    Which kind of GPP do you select and which GPP Action do you select? “Set the printer as default printer” option is not available in Computer Configuration Printer Extension.
    You may try User Configuration\Preference\Control Panel Settings\Printers\new shared printer item.
    For more information please refer to following MS articles:
    Configure a Shared Printer Item
    http://technet.microsoft.com/en-us/library/cc732092.aspx
    Printers Extension
    http://technet.microsoft.com/en-us/library/cc731562
    Lawrence
    TechNet Community Support

  • Server 2012 gpo deploy printer connection failed.

    Run gpresult.exe /f /h gpresult.html from a command prompt on effected machines and look at what the problem is when applying that GPO.
    Post results if you need help understanding it.

    Hi, 
    I want to deploy 5 printers on a domain using gpo.I created a GP to deploy a printer connection to computers in an OU that contained only one computer. The GP also created a mapped drive for the user on the computer. The test was successful but when I added multiple printers and copied the GP to another OU the drive was successfully mapped on all machines but the printers did not appear in the list of printers available on the machines. I decided to remove the printers and place them in a separate OU but when I try to add the printers to the new OU I get an error stating "the specified domain either does not exist or cannot be contacted."
    Any help on this would be appreciated. Thanks in advance. 
    This topic first appeared in the Spiceworks Community

  • Users can delete GPO deployed printers

    Hello,
    I have a problem with a GPO deployed printer per-user using the print services "deploy via GPO".
    Printers available for users, that's all right. But users can remove printers in some cases
    (I'm still can't exactly reproduce this) and this affects other users logged on the same machine. One user removes printer and another can't print. Is it normal behavior or I have missed something?
    P.S. In Security tab users can only Print.
    P.S.S Client and server on Windows Server 2012 R2

    Hi
    There is a GPO to configure that:
    User Configuration -> Policies -> Administrative Templates -> Printers -> Prevent deletion of printers. You need to enable it.
    Hope this helps. Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Deploying Printer Server via GPO (Windows Server 2008 R2)

    Hi guys,
    I having encountered problem while  deploying printer server via GPO. My operating system is Windows Server 2008 R2. See the details below:
    "one or multiple errors have occurred during the execution of a deply or remove printer connection problem"
    Anybody know's how to fixs this problem ASAP.
    Any suggestion or clarification would be great!
    Please advice me, thanks
    Regards,
    Bishelp

    Hi Bishelp,
    Firstly, please check the security tab of that printer, make sure your user account has access permission for it.
    To perform these procedures of deploy printer connections, you must be a member of the local Administrators group and have write access to Group Policy objects (GPOs) in the AD DS domain or the organizational unit (OU) to which you want to deploy printer
    connections. For more information please refer to following MS articles:
    Deploy Printer Connections
    http://technet.microsoft.com/en-us/library/cc731292.aspx
    In addition, it would be helpful if you could help to collect the following information:
    What is the detailed information about this error?
    What are the steps of deploying printer server?
    Regards,
    Lany Zhang

  • Win32_Printer Doesn't List GPO-Deployed Printers

    So we have some legacy printer GPOs (not GPP) and we occasionally have issues with the printer deployments. I am attempting to troubleshoot this on remote computers and I found that Win32_Printer does not list any of these printers.
    However, if I deploy a printer via GPP (user-based), it is listed in the output of Win32_Printer. What's the difference between the way these printers are deployed? Is there anything that will allow me to list and remove the GPO deployed printers programmatically
    (printui, etc)?
    Thanks!

    Hi Matt,
    Would you please let us know current situation of this issue? Please refer to Alan’s suggestion and check if
    can help you.
    à
    we have some legacy printer GPOs (not GPP) and we occasionally have issues with the printer deployments.
    I understand that
    Win32_Printer does not list GPO deployed printers when there have issues with the printer deployments. If deployed printer successfully via GPO, will
    Win_32 Printer still no list those GPO deployed printers? Just a confirmation, Thanks for your understanding.
    For Win32_Printer class, please also refer to following article and check if can help you.
    Win32_Printer class
    If any update, please feel free to let us know.
    Hope this helps.
    Best regards,
    Justin Gu

  • Why can I not print from pages but can if I copy to text edit, I get "printer off line message " from pages ?

    Why can I not print from pages but can if I copy to text edit, I get "printer off line message " from pages ?  I use HP wireless printer .

    Are you sure you have the right printer?
    In UNIX/OSX printers are virtual links to devices and even with the same name can be trying to reach a printer via another network address, so it thinks it is another printer.
    Peter

  • Elements 10, windows 8, 64 bit, epson artisan 835 printer: prints are really dark even after using enhancements like adjusting lighting. Prints are darker than photoshop edit screen. Prints are acceptable using paint, windows photo viewer, or gallery.

    Elements 10, Windows 8, 64 bit, Epson Artisan 835 printer: Prints are really dark even after applying enhancements, like adjusting lighting. Prints are darker than Photoshop Edit Screen. Prints are acceptable using Paint, Windows Photoviewer, or Photo Gallery.

    In general theory, one now has the Edit button for their posts, until someone/anyone Replies to it. I've had Edit available for weeks, as opposed to the old forum's ~ 30 mins.
    That, however, is in theory. I've posted, and immediately seen something that needed editing, only to find NO Replies, yet the Edit button is no longer available, only seconds later. Still, in that same thread, I'd have the Edit button from older posts, to which there had also been no Replies even after several days/weeks. Found one that had to be over a month old, and Edit was still there.
    Do not know the why/how of this behavior. At first, I thought that maybe there WAS a Reply, that "ate" my Edit button, but had not Refreshed on my screen. Refresh still showed no Replies, just no Edit either. In those cases, I just Reply and mention the [Edit].
    Also, it seems that the buttons get very scrambled at times, and Refresh does not always clear that up. I end up clicking where I "think" the right button should be and hope for the best. Seems that when the buttons do bunch up they can appear at random around the page, often three atop one another, and maybe one way the heck out in left-field.
    While I'm on a role, it would be nice to be able to switch between Flattened and Threaded Views on the fly. Each has a use, and having to go to Options and then come back down to the thread is a very slow process. Jive is probably incapable of this, but I can dream.
    Hunt

  • HT1338 I can see my photos in iphoto but can't email them, edit them or print them....help please!

    I can see my photos in iphoto but can't email them, edit them or print them....help please!

    First, what is the formatting of the external hard drive?  It should be OS X Extended (journaled). You can determine it by selecting the EHD and typing Command + i. 
    Click to view full size
    If it isn't formatted to that you should move the library off of it and reformat.
    The "!" is an indication that the file path to the original file has been broken  So make a temporary, duplicate copy of the library and apply the two fixes below in order as needed:
    Fix #1
    Launch iPhoto with the Command+Option keys held down and rebuild the library.
    Select the options identified in the screenshot. 
    Fix #2
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    Download iPhoto Library Manager and launch.
    Click on the Add Library button, navigate to your Home/Pictures folder and select your iPhoto Library folder.
    Now that the library is listed in the left hand pane of iPLM, click on your library and go to the File ➙ Rebuild Library menu option
    In the next  window name the new library and select the location you want it to be placed.
    Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments but not books, calendars or slideshows. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.
    OT

  • Deploying printer through VBScript used by GPO

    Hi there everyone
    I need to deploy printers on a windows 7 machine through Group Policy. In the past a GPO has run a .vbs script that installs the printer including it's name, port, drivers (with location on server of those drivers).
    Recently it seems this script has gone missing, and I need to create a new one. So in group policy, when adding a logon or starup script, how do I format the parameters and how do I pass them into the script?

    Hi,
    >>Recently it seems this script has gone missing, and I need to create a new one. So in group policy, when adding a logon or starup script, how do I format the parameters
    and how do I pass them into the script?
    Regarding this point, in order to get better help, we can ask for assistance in the following scripting forum.
    The Official Scripting Guys Forum
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
    However, instead of scripts, we can use Group Policy Preferences Printers extension to deploy printers.
    Regarding this point, the following blog can be referred to as reference.
    Deploying Printers with Group Policy Preferences (Complete Guide)
    http://deployhappiness.com/deploying-printers-with-group-policy-preferences/
    Best regards,
    Frank Shen

  • Deploying printer with GPO doesn't work

    Hi,
    We are using the Print management console in Windows 2012 to deploy printers using GPO.
    I deployed 2 printers few months ago by adding the Port, Driver then installing the printer, after that I went to deploy using GPO. And it worked perfectly.
    I just added a 3rd printer using same procedure and I deployed it to the same GPO. But the printer doesn't show up on any user computer. (GPO is applied by user and by computer as well). I am pretty sure this is not related to the GPO itself as the GPO is
    still working for the other 2 printers.
    Any idea or help?
    Thank you.
    -Mehdi

    Hi,
    Have the driver of the printer been installed? Maybe the following article could help.
    Control Printer Driver Installation Security
    http://technet.microsoft.com/en-us/library/cc753269.aspx
    Best Regards,
    Andy Qi
    TechNet Subscriber Support
    If you are
    TechNet Subscription user and have any feedback on our support quality, please send your feedback
    here.
    Andy Qi
    TechNet Community Support

  • Deploying Printer to XP and Win 7 environment before it is connected to network

    I have a client that is getting 4 new office printers that will be replacing their leased printers.
    The third party company will come in, take away the old printers and set up the new printers. By set up, I mean they will connect the network cable, power it on, program the IP address I give them and take off. I need to pr-stage these printers so that users
    will be able to print as soon as the new printers are powered on. There are a lot of users depending on these printers to work with little downtime as possible. This is a 24/7 operation unfortunately. So, it is a server 2008 R2 / Windows XP / Windows 7 domain
    environment. 
    I am really getting close to the deadline of new printers arriving so I will walk through exact
    steps I have taken to get this set up. 
    Ok. I have a server running 2008 R2. I added the Print services role. 
    Right click 'Printers' -> Add printer
    select 'Add a TCP/IP Printer by IP address or hostname'
    'Type of device' = 'Autodetect'
    'hostname or IP address' = 'x.x.x.x' (IP address that printer will be set to)
    'Port name' = 'x.x.x.x_2'
    do NOT select 'auto detect printer driver'
     select 'Generic Network Card'
    select 'Install new driver'
    select 'Have Disk' and browse to driver
    'Printer name' = Printer Name
    select 'share this printer'
    'Share name' = Printer Name
    next, next, driver installs and printer installs, and finish. 
    Now you have the printer installed and showing up under printers. 
    Now, I right click printer and -> deploy with group policy
    Browse to the OU where users are located in ADUC, select the GPO that I have linked to that OU, select 'apply to users' click 'add' and click 'OK'.
    The GPO adds a setting:
    User Config -> Policies -> Windows Settings -> Printer Connections -> Path -> \\Server\Printer
    Now, I log in to a win 7 computer, gpupdate, printer shows up in devices and printers. I can't print to it obviously since it's not connected to the network yet. But, when I log in to an XP computer, run gpupdate, it does NOT populate in devices and printers. 
    When I run gpresult the policy is applied, but the printer is not showing up in devices and printers. Also,
    I can search for the printer and install it that way since I chose 'list in directory' from the printer server so I know the driver is correct. 
    What am I doing wrong? 
    Thank you in advance. 

    From the previous description, are you using Deployed Printers? If yes, you need to run pushprinterconnections.exe on XP. You can find a 32bit binary in \windows\system32 on a 32bit version of Windows 7 With SP1.
    Alan Morris Windows Printing Team
    One more question Alan, how can I set these printers I have deployed as the default for the users? 

  • GPO for Print Server Security settings?

    Hi forum,
    I am setting up a specific OU for print servers and have a GPO assigned to this.
    As we need to apply certain roles to some AD groups we have a need to reflect this to the Print Server Security settings so it gets reflected to the print queues.
    Has anyone found a way to have a GPO to alter the Security settings under the Print Server porperties?
    Thanks,
    David

    Hi David,
    Based on your description, did you mean that want to configure permission of a Print Server via group policy?
    It seems that the target can’t be achieved via group policy. However, you may be able to add some security groups to print servers by using Windows PowerShell. For more details, please refer to following article and check if can help you.
    Weekend
    Scripter: Add Security Groups to Print Servers by Using PowerShell
    If anything I misunderstand or any update, please don’t hesitate to let me know.
    Hope this helps.
    Best regards,
    Justin Gu

  • Having trouble with audio edit to tape, print to video ok

    Hi all, please go easy on me, this is my first post.
    I am having difficulty getting audio on to tape via 'edit to tape'.
    The hardware is blackmagic decklink extreme, feeding component video and analoge audio to a UVW-1800P.
    I can do a print to video on a crash record and the audio works that way, but edit to tape does not.
    I have tried both deck link and built in audio in the audio settings and the FCP a/v settings, seperate and ganged output settings, I have set the insert settings to 2 channel Sony, reloaded the decklink drivers.
    The irritating thing is the audio is there whilst cutting, but as soon as I try edit to tape there is complete silence. The important thing is that it worked a few weeks back but does not now, it must be a setting?
    Thanks in advance for your help.
    This machine I am working with this week is an Intel MacPro running FCP 5.1.2 and Mac OS 10.4.8
    G5 Dual 2GHz-Blackmagic Decklink Pro, G3 with Sonnet G4 upgrade   Mac OS X (10.4.8)  
    G5 Dual 2GHz-Blackmagic Decklink Pro, G3 with Sonnet G4 upgrade   Mac OS X (10.4.8)  

    I had this same problem and this resolved it for me:
    -Go to your "Settings" icon and click on the "General" tab.
    -About 2/3 way down the page you will see "Use side switch to:" - make sure "mute" is checked rather than "lock rotation."
    -Then make sure the side switch, located next to the volume toggle switch on the side of your ipad, is moved to the right (no red dot showing).
    My audio worked fine in embedded videos after I did those two things.  Hope it works for you.

  • Cannot edit GPO server 2008

    Dear All
    I use windows server 2008 in branch have active directory join to Primary domain in data-center domain.co.cc
     i need to edit group on the this server but show error
    Please help to advise
    Run command dcdiag /fix
    [QUOTE]Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.
    C:\Windows\system32>dcdiag /fix
    Directory Server Diagnosis
    Performing initial setup:
    Trying to find home server...
    Home Server = aaa-CM-DC
    * Identified AD Forest.
    Done gathering initial info.
    Doing initial required tests
    Testing server: CHIANGMAI\aaa-CM-DC
    Starting test: Connectivity
    ......................... aaa-CM-DC passed test Connectivity
    Doing primary tests
    Testing server: CHIANGMAI\aaa-CM-DC
    Starting test: Advertising
    ......................... aaa-CM-DC passed test Advertising
    Starting test: FrsEvent
    There are warning or error events within the last 24 hours after the
    SYSVOL has been shared. Failing SYSVOL replication problems may cause
    Group Policy problems.
    ......................... aaa-CM-DC failed test FrsEvent
    Starting test: DFSREvent
    ......................... aaa-CM-DC passed test DFSREvent
    Starting test: SysVolCheck
    ......................... aaa-CM-DC passed test SysVolCheck
    Starting test: KccEvent
    ......................... aaa-CM-DC passed test KccEvent
    Starting test: KnowsOfRoleHolders
    ......................... aaa-CM-DC passed test KnowsOfRoleHolders
    Starting test: MachineAccount
    ......................... aaa-CM-DC passed test MachineAccount
    Starting test: NCSecDesc
    ......................... aaa-CM-DC passed test NCSecDesc
    Starting test: NetLogons
    ......................... aaa-CM-DC passed test NetLogons
    Starting test: ObjectsReplicated
    ......................... aaa-CM-DC passed test ObjectsReplicated
    Starting test: Replications
    ......................... aaa-CM-DC passed test Replications
    Starting test: RidManager
    ......................... aaa-CM-DC passed test RidManager
    Starting test: Services
    ......................... aaa-CM-DC passed test Services
    Starting test: SystemLog
    An error event occurred. EventID: 0x00000422
    Time Generated: 11/19/2014 11:05:09
    Event String:
    The processing of Group Policy failed. Windows attempted to read the
    file \\domain.co.cc\SysVol\domain.co.cc\Policies\{B6AEC142-9EBB-417C-8080-A6E4713790D
    9}\gpt.ini from a domain controller and was not successful. Group Policy setting
    s may not be applied until this event is resolved. This issue may be transient a
    nd could be caused by one or more of the following:
    An error event occurred. EventID: 0x00000422
    Time Generated: 11/19/2014 11:10:10
    Event String:
    The processing of Group Policy failed. Windows attempted to read the
    file \\domain.co.cc\SysVol\domain.co.cc\Policies\{B6AEC142-9EBB-417C-8080-A6E4713790D
    9}\gpt.ini from a domain controller and was not successful. Group Policy setting
    s may not be applied until this event is resolved. This issue may be transient a
    nd could be caused by one or more of the following:
    A warning event occurred. EventID: 0x00000427
    Time Generated: 11/19/2014 11:14:30
    Event String:
    There are no IP addresses available for lease in the scope or supers
    cope "DHCP-CM".
    A warning event occurred. EventID: 0x000003FC
    Time Generated: 11/19/2014 11:14:48
    Event String:
    Scope, 192.168.10.0, is 100 percent full with only 0 IP addresses re
    maining.
    An error event occurred. EventID: 0x00000422
    Time Generated: 11/19/2014 11:15:10
    Event String:
    The processing of Group Policy failed. Windows attempted to read the
    file \\domain.co.cc\SysVol\domain.co.cc\Policies\{B6AEC142-9EBB-417C-8080-A6E4713790D
    9}\gpt.ini from a domain controller and was not successful. Group Policy setting
    s may not be applied until this event is resolved. This issue may be transient a
    nd could be caused by one or more of the following:
    An error event occurred. EventID: 0x00000422
    Time Generated: 11/19/2014 11:20:11
    Event String:
    The processing of Group Policy failed. Windows attempted to read the
    file \\domain.co.cc\SysVol\domain.co.cc\Policies\{B6AEC142-9EBB-417C-8080-A6E4713790D
    9}\gpt.ini from a domain controller and was not successful. Group Policy setting
    s may not be applied until this event is resolved. This issue may be transient a
    nd could be caused by one or more of the following:
    An error event occurred. EventID: 0x00000422
    Time Generated: 11/19/2014 11:25:11
    Event String:
    The processing of Group Policy failed. Windows attempted to read the
    file \\domain.co.cc\SysVol\domain.co.cc\Policies\{B6AEC 142-9EBB-417C-8080-A6E4713790D
    9}\gpt.ini from a domain controller and was not successful. Group Policy setting
    s may not be applied until this event is resolved. This issue may be transient a
    nd could be caused by one or more of the following:
    An error event occurred. EventID: 0x00000422
    Time Generated: 11/19/2014 11:30:12
    Event String:
    The processing of Group Policy failed. Windows attempted to read the
    file \\domain.co.cc\SysVol\domain.co.cc\Policies\{B6AEC 142-9EBB-417C-8080-A6E4713790D
    9}\gpt.ini from a domain controller and was not successful. Group Policy setting
    s may not be applied until this event is resolved. This issue may be transient a
    nd could be caused by one or more of the following:
    An error event occurred. EventID: 0xC00A0038
    Time Generated: 11/19/2014 11:32:53
    Event String:
    The Terminal Server security layer detected an error in the protocol
    stream and has disconnected the client. Client IP: 192.168.0.212.
    A warning event occurred. EventID: 0x000003FC
    Time Generated: 11/19/2014 11:34:49
    Event String:
    Scope, 192.168.10.0, is 100 percent full with only 0 IP addresses re
    maining.
    A warning event occurred. EventID: 0x000003FC
    Time Generated: 11/19/2014 11:34:49
    Event String:
    Scope, 192.168.10.0, is 100 percent full with only 0 IP addresses re
    maining.
    An error event occurred. EventID: 0x00000422
    Time Generated: 11/19/2014 11:35:13
    Event String:
    The processing of Group Policy failed. Windows attempted to read the
    file \\domain.co.cc\SysVol\domain.co.cc\Policies\{B6AEC 142-9EBB-417C-8080-A6E4713790D
    9}\gpt.ini from a domain controller and was not successful. Group Policy setting
    s may not be applied until this event is resolved. This issue may be transient a
    nd could be caused by one or more of the following:
    An error event occurred. EventID: 0x00000422
    Time Generated: 11/19/2014 11:40:13
    Event String:
    The processing of Group Policy failed. Windows attempted to read the
    file \\domain.co.cc\SysVol\domain.co.cc\Policies\{B6AEC 142-9EBB-417C-8080-A6E4713790D
    9}\gpt.ini from a domain controller and was not successful. Group Policy setting
    s may not be applied until this event is resolved. This issue may be transient a
    nd could be caused by one or more of the following:
    An error event occurred. EventID: 0x00000422
    Time Generated: 11/19/2014 11:45:14
    Event String:
    The processing of Group Policy failed. Windows attempted to read the
    file \\domain.co.cc\SysVol\domain.co.cc\Policies\{B6AEC 142-9EBB-417C-8080-A6E4713790D
    9}\gpt.ini from a domain controller and was not successful. Group Policy setting
    s may not be applied until this event is resolved. This issue may be transient a
    nd could be caused by one or more of the following:
    An error event occurred. EventID: 0x00000457
    Time Generated: 11/19/2014 11:45:19
    Event String:
    Driver RICOH Aficio MP C4502 PCL 5c required for printer RICOH Afici
    o MP C4502 PCL 5c is unknown. Contact the administrator to install the driver be
    fore you log in again.
    An error event occurred. EventID: 0x00000457
    Time Generated: 11/19/2014 11:45:22
    Event String:
    Driver Send To Microsoft OneNote 2010 Driver required for printer Se
    nd To OneNote 2010 is unknown. Contact the administrator to install the driver b
    efore you log in again.
    An error event occurred. EventID: 0x00000457
    Time Generated: 11/19/2014 11:45:23
    Event String:
    Driver Microsoft XPS Document Writer v4 required for printer Microso
    ft XPS Document Writer is unknown. Contact the administrator to install the driv
    er before you log in again.
    An error event occurred. EventID: 0x00000457
    Time Generated: 11/19/2014 11:45:23
    Event String:
    Driver SnagIt 8 Printer required for printer SnagIt 8 is unknown. Co
    ntact the administrator to install the driver before you log in again.
    An error event occurred. EventID: 0x00000457
    Time Generated: 11/19/2014 11:45:24
    Event String:
    Driver WebEx Document Loader required for printer WebEx Document Loa
    der is unknown. Contact the administrator to install the driver before you log i
    n again.
    An error event occurred. EventID: 0x00000422
    Time Generated: 11/19/2014 11:50:17
    Event String:
    The processing of Group Policy failed. Windows attempted to read the
    file \\domain.co.cc\SysVol\domain.co.cc\Policies\{B6AEC 142-9EBB-417C-8080-A6E4713790D
    9}\gpt.ini from a domain controller and was not successful. Group Policy setting
    s may not be applied until this event is resolved. This issue may be transient a
    nd could be caused by one or more of the following:
    An error event occurred. EventID: 0x00000422
    Time Generated: 11/19/2014 11:55:17
    Event String:
    The processing of Group Policy failed. Windows attempted to read the
    file \\domain.co.cc\SysVol\domain.co.cc\Policies\{B6AEC 142-9EBB-417C-8080-A6E4713790D
    9}\gpt.ini from a domain controller and was not successful. Group Policy setting
    s may not be applied until this event is resolved. This issue may be transient a
    nd could be caused by one or more of the following:
    An error event occurred. EventID: 0x00000457
    Time Generated: 11/19/2014 11:58:36
    Event String:
    Driver RICOH Aficio MP C4502 PCL 5c required for printer RICOH Afici
    o MP C4502 PCL 5c is unknown. Contact the administrator to install the driver before you log in again.
    An error event occurred. EventID: 0x00000457
    Time Generated: 11/19/2014 11:58:39
    Event String:
    Driver Microsoft XPS Document Writer v4 required for printer Microso
    ft XPS Document Writer is unknown. Contact the administrator to install the driv
    er before you log in again.
    An error event occurred. EventID: 0x00000457
    Time Generated: 11/19/2014 11:58:40
    Event String:
    Driver WebEx Document Loader required for printer WebEx Document Loa
    der is unknown. Contact the administrator to install the driver before you log i
    n again.
    An error event occurred. EventID: 0x00000457
    Time Generated: 11/19/2014 11:58:41
    Event String:
    Driver Send To Microsoft OneNote 2010 Driver required for printer Se
    nd To OneNote 2010 is unknown. Contact the administrator to install the driver b
    efore you log in again.
    An error event occurred. EventID: 0x00000457
    Time Generated: 11/19/2014 11:58:42
    Event String:
    Driver SnagIt 8 Printer required for printer SnagIt 8 is unknown. Co
    ntact the administrator to install the driver before you log in again.
    An error event occurred. EventID: 0x00000422
    Time Generated: 11/19/2014 12:00:18
    Event String:
    The processing of Group Policy failed. Windows attempted to read the
    file \\domain.co.cc\SysVol\domain.co.cc\Policies\{B6AEC 142-9EBB-417C-8080-A6E4713790D
    9}\gpt.ini from a domain controller and was not successful. Group Policy setting
    s may not be applied until this event is resolved. This issue may be transient a
    nd could be caused by one or more of the following:
    ......................... aaa-CM-DC failed test SystemLog
    Starting test: VerifyReferences
    ......................... aaa-CM-DC passed test VerifyReferences
    Running partition tests on : DomainDnsZones
    Starting test: CheckSDRefDom
    ......................... DomainDnsZones passed test CheckSDRefDom
    Starting test: CrossRefValidation
    ......................... DomainDnsZones passed test
    CrossRefValidation
    Running partition tests on : ForestDnsZones
    Starting test: CheckSDRefDom
    ......................... ForestDnsZones passed test CheckSDRefDom
    Starting test: CrossRefValidation
    ......................... ForestDnsZones passed test
    CrossRefValidation
    Running partition tests on : Schema
    Starting test: CheckSDRefDom
    ......................... Schema passed test CheckSDRefDom
    Starting test: CrossRefValidation
    ......................... Schema passed test CrossRefValidation
    Running partition tests on : Configuration
    Starting test: CheckSDRefDom
    ......................... Configuration passed test CheckSDRefDom
    Starting test: CrossRefValidation
    ......................... Configuration passed test CrossRefValidation
    Running partition tests on : aaa
    Starting test: CheckSDRefDom
    ......................... aaa passed test CheckSDRefDom
    Starting test: CrossRefValidation
    ......................... aaa passed test CrossRefValidation
    Running enterprise tests on : domain.co.cc
    Starting test: LocatorCheck
    ......................... domain.co.cc passed test LocatorCheck
    Starting test: Intersite
    ......................... domain.co.cc passed test Intersite

    I do follow with step below as link http://support.microsoft.com/kb/290762, It's work fine
    Note You can configure the FRS logs to record detailed debugging entries. For more information about how to configure FRS logging, click the following article number to view the article in the Microsoft Knowledge Base:
    221111 Description of FRS entries in the registry
    To perform a nonauthoritative restore, stop the FRS service, configure the
    BurFlags
    registry key, and then restart the FRS service. To do so:
    Click Start, and then click Run.
    In the Open box, type cmd and then press ENTER.
    In the Command box, type net stop ntfrs.
    Click Start, and then click Run.
    In the Open box, type regedit and then press ENTER.
    Locate the following subkey in the registry:
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\NtFrs\Parameters\Backup/Restore\Process at Startup
    In the right pane, double-click BurFlags.
    In the Edit DWORD Value dialog box, type D2 and then click
    OK.
    Quit Registry Editor, and then switch to the Command box.
    In the Command box, type net start ntfrs.
    Quit the Command box.
    When the FRS service restarts, the following actions occur:
    The value for BurFlags registry key returns to 0.
    Files in the reinitialized FRS folders are moved to a <var>Pre-existing</var> folder.
    An event 13565 is logged to signal that a nonauthoritative restore is started.
    The FRS database is rebuilt.
    The member performs an initial join of the replica set from an upstream partner or from the computer that is specified in the Replica Set Parent registry key if a parent has been specified for SYSVOL replica sets.
    The reinitialized computer runs a full replication of the affected replica sets when the relevant replication schedule begins.
    When the process is complete, an event 13516 is logged to signal that FRS is operational. If the event is not logged, there is a problem with the FRS configuration.

Maybe you are looking for

  • Problem using Jdbc-Odbc Bridge

    Hi, I am using Java 2 SDK and I am trying to access MS Access database on my machine using Jdbc-Odbc bridge. I have set up the DSN in ODBC. But I get the following error when I run my program - 'No Suitable Driver' Here's my code snippet- Class.forNa

  • How Do You Get BO/Web-I To Not Show Duplicate Serial Numbers...

    (Running Business Objects Release 2 (Web-I), No other reporting modules) I have a "test" report for our product that we produce.  Currently the report pulls in all tests in a given period.  I want it to only pull in the "first test of the product", s

  • Ink cartridge not installed properly

    HP 4200 printer keeps giving message to remove print cartridge, then install print cartridge again. I have tried this numerous times, with no success.

  • DisplayPort HPD IRQ and Power Down mode

    Hi, I've been working with the DisplayPort IP V6.0 for a while now and have come across some potentiall undesireable/unspecified behaviour. All transactions on the AUX channel have been monitored using a Unigraf DPA-400 1.2 for reference We have the

  • 3D Plot Properties Axis Format Property update bug

    Tested in LV 2011, Windows XP. If you try to change an axis format property (say Digits of Precision) and switch to another axis using the pull-down list box, the property is not updated, even though it is also not applied to the new axis. In other w