Jump to content

Recommended Posts

Posted (edited)

Does anyone know how to remove the Send To OneNote as this is causing problems on the network with users assuming this is the printer.

 

Is there a script that can be used so when the user logs on Send To OneNote is deleted?

Edited by ron
Posted
Sorry I meant Send To OneNote, it would be best if this does not show with the printers. If this could be deleted at login via a script that would be great.
Posted
Sorry I meant Send To OneNote, it would be best if this does not show with the printers. If this could be deleted at login via a script that would be great.

 

Take a look at the link I posted, it goes into detail on how to remove a printer using vbs.

Posted

Could always use Group Policy Preferences to remove the printer.

 

User Configuration > Preferences > Control Panel Settings > Printers

 

New Task > Local Printer

 

Select action as [delete] and enter the name of the printer.

 

This will only remove the printer and not the driver(s).

  • Thanks 1
Posted
Could always use Group Policy Preferences to remove the printer.

 

User Configuration > Preferences > Control Panel Settings > Printers

 

New Task > Local Printer

 

Select action as [delete] and enter the name of the printer.

 

This will only remove the printer and not the driver(s).

 

Only if they use Win 2k8 though I think? GPP isn't in 2k3 is it?

Posted (edited)

We're using it fine with Windows 2003 Domain and XP Pro Clients.

 

1) XP Clients need KB943729 installed. Follow Link

 

2) Create a Group Policy Central Store Link 1 or Link 2

 

3) A Windows 7 Pro (or Windows 2008+ Server) Client is required to create and manage the new policies on.

 

If you want to get rid of the Right Click, Send to, OneNote this can be done via GPP as well by using:

 

User Configuration > Preferences > Windows Settings > Files

 

Find the location of the OneNote shortcut, and set to delete.

 

On Windows XP it is C:\Documents and Settings\&username%\SendTo (not checked Windows 7 etc)

Edited by MYK-IT
Posted

This issue is now resolved by using the following script:

 

strComputer = "."

Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")

Set colInstalledPrinters = objWMIService.ExecQuery ("SELECT * FROM Win32_Printer")

 

For Each objPrinter in colInstalledPrinters

IF objPrinter.Name = "Microsoft XPS Document Writer" THEN

objPrinter.Delete_

ELSEIF objPrinter.Name = "Send To OneNote 2007" THEN

objPrinter.Delete_

ELSEIF objPrinter.Name = "Microsoft Office Document Image Writer" THEN

objPrinter.Delete_

END IF

Next

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...