Jump to content

Recommended Posts

Posted

We have found that staff members with roaming profiles are logging in to their own classroom PC's and are getting our printer servers defaulted to their machine. We are guessing that this is because when they log out in our IT rooms, their roaming profile is storing the printer option within their profile. We only want the printer servers to operate within the IT rooms where they are assigned by a script file on our main server.

 

This is an issues as some staff back in their rooms do not realise until after they have printed something which could be confidential and that it has printed off in the IT room.

 

Can anyone suggest a method in which we can prevent this from happening and that they only get the printer we have installed for them in their classroom?

Posted
You should just need to set your printer assignment scripts to wipe all printer connections on logon and then only add the printers associated with their current location.
Posted

The script that we use to assign the printer to a room is as follows...

 

IF BeginsWith(ComputerName,"RM22-") THEN

AddPrinter "\\YUCSVR2\Brother6050Server", True

END IF

 

Could you suggest what we would need to add in order to make sure these printers are removed, as we are somewhat vague on what to put. This would be much appreciated.

Posted

Hi Just a quick one.. sorry to but it

 

So for us would this work..

 

IF BeginsWith(ComputerName,"RM-30-") THEN
AddPrinter "\\curriculum\Room_30", True
End If

IF Begins With(ComputerName, "RM-31-") THEN
AddPrinter"\\curriculum\Room_31", True
End If

 

James.

Posted

For i = 0 to oPrinters.Count - 1 Step 2

           On Error Resume Next

    if Left(oPrinters.Item(i), 3) <> "lpt" And Left(oPrinters.Item(i), 3) <> "usb" then

            	WshNetwork.RemovePrinterConnection oPrinters.Item(i+1), true, true

           else WScript.Echo "No network printers found"

           end if

Next

 

Removes all printers except USB and LPT local printers

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...