How to remove deployed servers at clients after rename

I've set up print management with several printers, and deployed the printers using GPO to clients (mostly XP and 7).
All works well, but for some reason, I had to change the naming convention of the deployed printers.
I simply opened Print Management, and renamed the printer. Afterwards, I removed the old printer names from GPO and deployed the new ones.
Again, all works well. BUT, the old printers are still listed on the client, and I can't seem to find an automatic and clean way to remove them.
Where did I go wrong? Or if that's not the case, how do I resolve this?

Hi,
Regarding your request, maybe we could use script to remove these old printers. For details about the script, I suggest you could refer to the following article.
Hey, Scripting Guy! How Can I Use Windows PowerShell to Remove Old Printer Connections, List Printers, and Set New Default Printers?
https://blogs.technet.com/b/heyscriptingguy/archive/2009/05/20/how-can-i-use-windows-powershell-to-remove-old-printer-connections-list-printers-and-set-new-default-printers.aspx
Remove network printer in a logon script
http://social.technet.microsoft.com/Forums/windowsserver/en-US/795b49ce-8cb3-4fbf-835b-faac62266e01/remove-network-printer-in-a-logon-script
Hope this helps.
Regards,
Andy Qi
Andy Qi
TechNet Community Support

Similar Messages

  • Monioring - How to remove deployment status from monitoring

    How to remove deployment status from monitoring in SCCM 2012
    Thanks in advance
    NTRao

    You can also install this right click tool to be able to delete the deployment direct from the monitoring node.
    http://myitforum.com/myitforumwp/2013/04/16/how-to-add-a-delete-deployment-action-to-right-click-actions-in-configmgr-2012/
    Cheers Paul | http://sccmentor.wordpress.com

  • How to mass deploy Windows InTune client software with GPO

    I have been looking for mass deploy Windows InTune client software. The only option that I had was with GPO. As we know the exe is not possible to deploy with GPO. Ok, we can play arouund with ZAP files or tranform exe to msi. In my opinion this is
    rather »walk-around« the »enginering aproach. So, how can we mass deploy InTune client with GPO. We need to extract the msi from exe. The command is »Windows_Intune_Setup.exe /Extract <destination-directory> ». The command extracts exe to x86 and x64
    client msi install. Then we can deploy throw GPO. The »WindowsIntune.accountcert« file must be in the same folder share as described in document http://technet.microsoft.com/en-us/library/jj676611.aspx.
    I have tested the deployment, and works good.

    Hi,
    Thanks for your sharing here! And this should be post on the Group Policy forum, I will move it there!
    Regards,
    Yan Li
    Regards, Yan Li

  • How To Remove Autorun of PREVIEW Application after Power On of IMac?

    Hi all,
    Need Help here.
    Everytime I power on my IMac it automatic run the application "PREVIEW".How to remove this "Autorun" ?
    Thanks!

    Hello Justrain
    If you click on....
    Blue Apple ( top left of your screen there ) > System Preferences > Accounts > Log in items.
    Is preview highlighted there?
    If it is, you can " de-select " it from the list. That should cure the problem for you. I hope it does.
    Regards
    Ian

  • How to remove AppStore application from autorun after login in to system?

    I installed Yosemite (on clean disk) and now after login in to the system, it every time ask me about my credentials to AppStore and run Appstore application when I do enter apple login. What should I do for remove it from autorun?
    P.S. I do not see AppStore application in System Setting -> Users & Groups -> Login items.

    Thank you really much, it worked!
    Do you know how i could select all tables that are in text same time? There's over 700 tables in this file, so it will take some time to click them off one at time

  • How to send echo msg to client after regular time to verify the client

    Hi
    I have socket program which used for communicating information. tow part client and server.
    I am having problem. that is I want to send a msg to client (like echo) after some time duration. so how to do that?
    help
    Kapila

    This is the run method of inner class. when the sever is ideal, the sever has to send the msg to client. I think that I want to declare the this part "byte[] b = byteConcatenate(header, responsefornac,response.length); and out.write(b);" elsewhere. first I want to check the server is ideal then if it is ok, send the msg to client.
    problem is how to recognise the client?
              * Description : This inner class is used for handling the client session
         protected class SessionPda implements Runnable
    //********************************** DECLARATION OF COMMON VARIABLES ******************************************
         protected     byte[]      request;
         protected     byte[]      response;
         protected      byte[]      header;
         protected      byte[]      requestforserver;
         protected      byte[]      responsefornac;
         protected      Socket      client               ;
    //********************************** DEFINE CONSTRACTOR********************************************************
              * Description : This method is using for getting the opening client socket
              * @param e
         public SessionPda(Socket client)
         try
         this.client      =      client;
         catch (Exception e)
              System.out.println(">>>>>>>>>>>>>> This is error is occured when getting the opened clint socket at the inner sessionpda class in serve.>>>>>>>>>>>>>>>>>");
                   SysLog.logError(java.util.logging.Level.SEVERE, this.toString(), "Sessionpda()", StackTraceUtil.getStackTrace(e));
         header                     =      new byte[HEADER_SIZE];
         request                =      new byte[PACKET_SIZE];
         response                =      new byte[PACKET_SIZE];
         requestforserver      =      new byte[PACKET_SIZE];
         responsefornac           =      new byte[PACKET_SIZE];
    //********************************** OVERRIDING THE RUN METHOD IN JAVA LANG THREAD ****************************************************
              * Description : The proccessing the cliet sessionpda
              * @param request
              * @param respons
              public void run()
              try
                   while (true)
                        in     =     new     DataInputStream(client.getInputStream())     ;
                        out     =     new DataOutputStream(client.getOutputStream())     ;
                   //PRINTING THE REQUEST INFO-----------------------------------
                        int     len     =     in.read(request,0,PACKET_SIZE)                    ;
                        String recvString = "";
         for (int i = 0; i < len; i++)
              recvString +=adjustString(Integer.toHexString( (int) (request)));
         // System.out.println("Request Information :"+recvString);
         //PEPARING TO TO PRCESS--------------------------------------
         for (int j = 0; j < PACKET_SIZE - 3 ; j++)
                   requestforserver[j] = request[j + 3];
         Process p = ProcessFactory.getProcess(request);
         boolean redo = p.doProcess();
         ISOMsg m = new ISOMsg();
    m = p.getResponse();
    m.setPackager(new ISO87BPackager());
    response = m.pack();
    //PEPARATRING TO SEND BACK THE RESPOND----------------------
    header[1] = (byte) (response.length + 5);
              header[3] = (byte) 00;
              responsefornac[0] = (byte) Integer.parseInt(NII.substring(1,3),16); //17;
              for (int k = 0; k < response.length; k++)
                   responsefornac[k + 1] = response[k];
              byte[] b = byteConcatenate(header, responsefornac,response.length);
              out.write(b);
              out.flush();
    String sendinString = "";
    for (int i = 0; i < response.length + 5; i++)
         sendinString +=
              adjustString(Integer.toHexString( (int) (b[i])));
    SysLog.logInfo(java.util.logging.Level.INFO,"Response \n"+ sendinString);

  • How to change J2EE add-in client after install?

    Our J2EE add-in to our ABAP NW04 system was accidentally specified to use client 000, so now the UME shows users from client 000.  How can we redirect this after the installation has been completed?

    Hi Dave,
    to change the client to which UME connects to you have to start the configtool found at \usr\sap\<SID>\<Instance>\j2ee\configtool\configtool.bat or .sh depending on your OS. When prompted for DB connection say yes. After that use the last button on the menu which says "switch to configuration editor mode" in it's tooltip. You will see a tree. move the tree down to cluster_data -> server -> cfg -> services -> Propertysheet com.sap.security.core.ume.service open that one in editing mode by pressing the button with the pencil first and then doubleclick the entry "Propertysheet..." in the popup navigate to ume.r3.connection.master.client and change the value from 000 to whatever client you need it to connect to. you have to restart the server after that.
    The same thing can be done from the Admin tool but then the Server needs to be up and running. From configtool you only need to have the database running.

  • How to Remove Sort State in Table after display it in Table

    Hi
    I use the method below to sort the columns before displaying to the user and it works okay
    FieldKey testKey = new FieldKey("testField");           
                FieldKeySortCriteria testCriteria = new FieldKeySortCriteria(portCodeKey, true);
                this.getRowRecord1().addSort(testCriteria);the problem is in every rows i have edit button where user can edit and update particular row.
    the problem occurs whenever user change the value for particular field that is being sorted the row will jump randomly according to the sort rules.
    My Question is , how can we remove or disabled sorting as soon user see the result so it wont be jumping around if user changed the value of particular field that is being sorted.
    i dont find any removeSort() function in Rowgroup
    is there another way??
    Thanks

    i tried to put
    rowGroup.clearSort() in my Destroy() Method but is not disabling the current state of my rowgroup
    what it does is the moment i click edit button for particular row
    that row will jump to some other page ( because i did pagination on my table ) because the sort has been cleared .
    How do i clear and use the current state of my rowgroup after it has been displayed.

  • How to remove connect and workbook link after pressing Save as,Print,Export

    I have to remove the connect link and workbook link which appear AFTER pressing Save as,Printable Page,Export in a discoverer viewer report. I had already removed the link in the report itself with changing the uix files, but after pushing the link for export, save as or print the link Connect and Workbook still appear.
    I know that I have to change something in UIX Files, but which one and what I have to change...? Have anyone an idea? Thanx for fast reply, it´s a urgent problem.
    in addition: In metalink,otn and google were no solution...

    If the tone really is a single (or at least narrow band) frequency like the picture shows, I'd try the Notch Filter on the Audition/Effects/Filter and EQ menu.  It might take some playing around to get the exact frequency and tweak the amount of cut you apply vs. the effect it will have on surrounding frequencies--but if you can get the right balance, you can then easily apply this to the whole of every file.
    Sorry, can't help on the Premiere Pro question since I only use Audition.

  • How to remove empty line in BW after data load

    Hello Experts,
    From standard SAP contents, I am loading Master Data (E-Recruiting) from R3 to BW. The thing is after loading to BW when I check the data, maximum of the MD tables shows all the data but first line is blank. Sometime it shows only date on first line and other fields empty. I don't want to keep the first line blank or only date. How to fix it or what to look / what are all the possibilities?
    Thanks in advance.
    Regards,
    Ashok
    Message was edited by:
            Ashok Saha

    Hi,
    there will always be one initial record (also the keyfields initial). You cannot avoid this. This record is used for the join from infoprovider to infoobject in case there is no value posted to the infoobject in the cube.
    kind regards
    Siggi

  • How to remove the old context files after upgrade to R12.1.1

    Hi,
    I upgraded 11.5.9 (DB 9.2.0.4) to 12.1.1 (DB 11.2.0.2).
    In the Applications Manager under AutoConfig menu, I noticed that I have 4 context files: 2 for DB Tier and 2 for Apps Tier. Apparently two of them are old from the 11i system. How can delete them so I have two listed on this page. I need to add custom parameters. When I tried to do it, it errored out saying "Customization is not allowed on different versions of configuration files.".
    Thanks,
    Sinan

    Make sure none of the old context files are available on the servers (delete them), also make sure you have proper entries in the FND_NODES table.
    For the error you get, please see these docs.
    Create a Custom Parameter Fails With - Customization Is Not Allowed On Different Versions of Configuration Files [ID 762590.1]
    CUSTOMIZATIONS NOT ALLOWED ON DIFFERENT VERSIONS OF CONFIGURATION FILES [ID 351969.1]
    Thanks,
    Hussein

  • How to delivery customizing to other client after installing SEM 6.0

    After i installed add-on component SEM 6.0 in client 000, i need to copy the delivery customizing to other existing client (for example 100).   Although i have checked note 337623, I still don't understand exactly what should i do?
    Any advise or any guide documents?
    Thank you .

    Hello,
    After you've installed SEM add-on in client 000 - it is available 'cross-client' in your system.
    E.g.:
    You have 3 standard clients (000, 001, 066) and client 100 (a copy from 000). You install add-on (any) it's standard delivery is immediately available in your system. The only thing you'd probably do (concerning BW) is maintain 'client' value in table RSADMINA:
    ta 'SE16' --> table 'RSADMINA' --> field 'BWMANDT' (Unique client in BW).
    BR
    P.S.
    Check SAP Note  [522569 - BW: Working in several clients (especially APO 4.x/SCM 4.x)|https://service.sap.com/sap/support/notes/522569]

  • How to remove document from Flash drive after printing from a PC

    Hi All,
    Here's my problem: Today I needed to print an MS Word file at a printshop, so I saved the document onto my Flash drive and took it to the shop. There, the staff printed the document from a PC and handed the drive back to me.
    Now, back at home, I want to delete this document from the Flash Drive. I plug in the drive, select the document and drag it to the trash. But then I get this message: " The operation cannot be completed because you do not have sufficient privileges for document X".
    This is a document I created from scratch, so I should have read/write privileges, yet the document on the drive is Read Only.
    I went back to the shop, and they get the same message.
    If I try to use disk utility to erase the disk, it appears as an MS-DOS FIle System (FAT 16) disk, and the erase buttons are "greyed out".
    How can I erase this document? Or how I can I reformat the drive?
    Any help much appreciated!~
    12 iBook G4,1.2 GHz, 768 RAM   Mac OS X (10.4.7)  

    I think I just solved my own problem. Just tried pressing the option and command keys at the same time while dragging the document into the trash and now it's gone. For good, I hope....Phew!
    12 iBook G4,1.2 GHz, 768 RAM   Mac OS X (10.4.7)  

  • How to remove install OS X icon after installation?

    After I completed the installation, everything works great, except there's an "install OS X" icon on my desktop everything I restated my Macbook Air... It's like a disc icon, I can eject it..but will reappear after restart of the machine. It's not impacting the operation, but just a bit annoying.
    Any trick to get rid of it ?

    see this link
    http://discussions.apple.com/message.jspa?messageID=10281777#10281777

  • How do the application servers connect the new database after failing over from primary DB to standby DB

    How do the application servers connect the new database after failing over from primary DB to standby DB?
    We have setup a DR environment with a standalone Primary server and a standalone Physical Standby server on RHEL Linux 6.4. Now our application team would like to know:
    When the primary DB server is crashed, the standy DB server will takeover the role of primary DB through the DataGuard fast failover. As the applications are connected by the primary DB IP before,currently the physical DB is used as a different IP or listener. If this is happened, they need to stop their application servers and re-configure their connection so the they coonect the new DB server, they cannot tolerate these workaround. 
    Whether does oracle have the better solution for this so that the application can automatically know the role's transition and change to the new IP without re-confige any connection and shutdown their application?
    Oracle support provides us the answer as following:
    ==================================================================
    Applications connected to a primary database can transparently failover to the new primary database upon an Oracle Data Guard role transition. Integration with Fast Application Notification (FAN) provides fast failover for integrated clients.
    After a failover, the broker publishes Fast Application Notification (FAN) events. These FAN events can be used in the following ways:
    Applications can use FAN without programmatic changes if they use one of these Oracle integrated database clients: Oracle Database JDBC, Oracle Database Oracle Call Interface (OCI), and Oracle Data Provider for .NET ( ODP.NET). These clients can be configured for Fast Connection Failover (FCF) to automatically connect to a new primary database after a failover.
    JAVA applications can use FAN programmatically by using the JDBC FAN application programming interface to subscribe to FAN events and to execute event handling actions upon the receipt of an event.
    FAN server-side callouts can be configured on the database tier.
    FAN events are published using Oracle Notification Services (ONS) and Oracle Streams Advanced Queuing (AQ).
    =======================================================================================
    Who has the experience and the related documentation or other solutions? we don't have the concept of about FAN.
    Thank very much in advance.

    Hi mesbeg,
    Thanks alot.
    For example, there is an application JBOSS server connecting the DB, we just added another datasource and put the standby IP into the configuration file except adding a service on DB side like this following:
            <subsystem xmlns="urn:jboss:domain:datasources:1.0">
            <datasources>
                    <datasource jta="false" jndi-name="java:/jdbc/idserverDatasource" pool-name="IDServerDataSource" enabled="true" use-java-context="true">
                        <connection-url>jdbc:oracle:thin:@<primay DB IP>:1521:testdb</connection-url>
                        <connection-url>jdbc:oracle:thin:@<standby DB IP>:1521:testdb</connection-url>
                        <driver>oracle</driver>
                        <pool>
                            <min-pool-size>2</min-pool-size>
                            <max-pool-size>10</max-pool-size>
                            <prefill>true</prefill>
                        </pool>
                        <security>
                            <user-name>TEST_USER</user-name>
                            <password>Password1</password>
                        </security>
                        <validation>
                            <valid-connection-checker class-name="org.jboss.jca.adapters.jdbc.extensions.oracle.OracleValidConnectionChecker"/>
                            <validate-on-match>false</validate-on-match>
                            <background-validation>false</background-validation>
                            <use-fast-fail>false</use-fast-fail>
                            <stale-connection-checker class-name="org.jboss.jca.adapters.jdbc.extensions.oracle.OracleStaleConnectionChecker"/>
                            <exception-sorter class-name="org.jboss.jca.adapters.jdbc.extensions.oracle.OracleExceptionSorter"/>
                        </validation>
                    </datasource>
                    <drivers>
                        <driver name="oracle" module="com.oracle.jdbc">
                            <xa-datasource-class>oracle.jdbc.OracleDriver</xa-datasource-class>
                        </driver>
                    </drivers>
                </datasources>
            </subsystem>
    If the failover is occurred, the JBOSS will automatically be pointed to the standby DB. Additional actions are not needed.

Maybe you are looking for