Microsoft
Software
Hardware
Network
Question : auto attach network printer on active directory
I would like to be able to add a network printer to everyone that has an active directory, roaming prifile on the server. I don't want to have to login to each user and attach the printer, is there a way I can do multiple users at once?
Answer : auto attach network printer on active directory
Create a Visual Basic Script that connects the printer, like this:
ServerName="YourServerName
"
PrinterSharedName = "HP2200"
Set WshNetwork = CreateObject("WScript.Netw
ork")
WshNetwork.AddWindowsPrint
erConnecti
on "\\" & ServerName & "\" & PrinterSharedName
You can then do two things:
A) Copy this script at \\
\c$\windows\SYSVOL\do
main\scrip
ts, and Go to active directory users and computers, and edit each user properties the "logon script" and enter the name of the logon script.
B) Create a policy in a OU containing the roaming users and edit the User Configuration -> Windows Configuration -> Logon Script , and insert the name and path of the new created script.
Every time that user logs in the system, the printer will be created (and if is still created will do nothing)
Random Solutions
VOIP & VPN
How do I use a F221m Ericsson GPRS modem with a Freescale (motorola) 68HC908AP64 (HC08 Family) microcontroller.
Net Gear Wireless Access point WPN 802
Novell, Netware Small Buissnies Server, 6.6
Enabling SIP from inside to outside!
advanced batch file, write or append ping result to file >.txt, load balancing, persistent routes, metrics.
How do I go about it host a blog website and twitter link?
Dell Optiplex 755 unresponsive to Wake on LAN
Does the Cisco 2960G Series switches support Layer 3 capability?
Alcatel SpeedTouch USB dsl modem and ps2 connecting