+ Post New Thread
Results 1 to 3 of 3
Windows Server 2008 R2 Thread, Unused Print Drivers in Technical; Anybody know a working script to remove unused print drivers from 08r2 print servers? As most of you know the ...
  1. #1
    DJ3Dog's Avatar
    Join Date
    Aug 2014
    Location
    Pensacola, FL
    Posts
    6
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Unused Print Drivers

    Anybody know a working script to remove unused print drivers from 08r2 print servers? As most of you know the OS is less than compliant when attempting to remove ANY print drivers. Even when manually selecting a known driver not in use 08r2 says otherwise and denies the request to delete.

    I have even stopped all services associated with printing including, spooler, papercut print provider, citrix ups, and so on. The server still acts as if the drivers are in use.

    Thanks for any suggestions or help.

  2. #2

    Join Date
    Sep 2010
    Posts
    616
    Thank Post
    26
    Thanked 71 Times in 66 Posts
    Rep Power
    21
    if there is a printer installed which uses the driver it will prevent it being removed i dont think stopping services is going to help. as the driver is still marked as being required.
    you can use the "rundll32 printui.dll PrintUIEntry" in a batch file with the required switches for removing drivers.
    however depending on how many servers/drivers you might find it easier to just connect to each server and remove the drivers from the printmanagement.msc snap in.
    (does require a printer to be shared from that server/ enable client connections to the printer spooler GPO to be enabled)

  3. #3
    DJ3Dog's Avatar
    Join Date
    Aug 2014
    Location
    Pensacola, FL
    Posts
    6
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    I ended up doing this manually through the driver managment form. I essentially selected all the driver and did a remove driver and package. It only deleted the drivers not in use, but as a nasty side effect also deleted the 86x share drivers from ALL devices (thank god I tested it on a cloned VM). So when doing this on the production servers I simply selected all the 64x driver and followed the same steps. This will work for now, But I would really like to make this a scheduled task for all server from a script...

    Thanks for you input

SHARE:
+ Post New Thread

Similar Threads

  1. x86 print drivers on x64 server - ntprint.ini
    By timbo343 in forum Windows Server 2008
    Replies: 5
    Last Post: 7th December 2010, 03:40 PM
  2. Problem with HP universal print driver
    By Oops_my_bad in forum Hardware
    Replies: 6
    Last Post: 11th March 2010, 08:29 PM
  3. Print Drivers
    By ICTSM in forum Windows
    Replies: 3
    Last Post: 26th January 2010, 01:44 PM
  4. Pritnt watermarking/force print driver settings
    By Hacksawbob in forum How do you do....it?
    Replies: 2
    Last Post: 21st January 2009, 10:26 PM
  5. Terminal Serve and Print Driver
    By thegrassisgreener in forum Windows
    Replies: 3
    Last Post: 16th May 2008, 11:47 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •