T_Lister Posted September 24, 2008 Posted September 24, 2008 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?
SYNACK Posted September 24, 2008 Posted September 24, 2008 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.
T_Lister Posted September 25, 2008 Author Posted September 25, 2008 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.
EduTech Posted September 25, 2008 Posted September 25, 2008 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.
RabbieBurns Posted September 25, 2008 Posted September 25, 2008 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now