JohnGillespie
asked on
Group policy pb
Hi,
I used to use poledit on windows 98 and samba. It worked fine.
My life becomes sad when I start to use group policy and windows server 2003.
I write a script to connect a network printer to the workstations then I creat a GP to run this script.
The script works with the user configuration but I does not work with the computer configuration.
Any suggestion?
I used to use poledit on windows 98 and samba. It worked fine.
My life becomes sad when I start to use group policy and windows server 2003.
I write a script to connect a network printer to the workstations then I creat a GP to run this script.
The script works with the user configuration but I does not work with the computer configuration.
Any suggestion?
ASKER
Hi Jessiepak
Thank you for your prompt response.
Is there any way to connect the network printer to the workstation?
We have each floor at least 2 printers and I creat an OU for each floor then put the compter in. Then attach GPO to each OU.
Thank you for your prompt response.
Is there any way to connect the network printer to the workstation?
We have each floor at least 2 printers and I creat an OU for each floor then put the compter in. Then attach GPO to each OU.
One thing that you could do that we do here is to create a group policy that has the script in the user section, and apply it to the computer in question with security rights. This will then make the script run every time a user logs onto the computer
Basically put the script in the same drill down place but from the 'user configuration' rather than in 'computer configuration'
Anything that is in the user configuration when applied to a computer still gets run, it isn't that one controls the other.
Richard
Basically put the script in the same drill down place but from the 'user configuration' rather than in 'computer configuration'
Anything that is in the user configuration when applied to a computer still gets run, it isn't that one controls the other.
Richard
If you can put teh user accounts in teh ou's for their floor instead of teh computer accounts, then at least the printer setting will work. But I do not beleive there is any way for teh computer to get teh printer settings unless a user is logged on.
If you can't put the user accounts in the OU's then make a group global group for each floor, and add teh users to the global groups taht correspond to there floor. then create the gpo at teh domain lvl or OU where teh user accounts are held and do gpo filtering to only apply the gpo to those global groups that you made.
If you can't put the user accounts in the OU's then make a group global group for each floor, and add teh users to the global groups taht correspond to there floor. then create the gpo at teh domain lvl or OU where teh user accounts are held and do gpo filtering to only apply the gpo to those global groups that you made.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You created a logon script that connects a printer, the user config is the correct place to put this script (using the logon script gpo), because this is a user lvl operation. The raeson it does not work under the computer config is that the computer needs to be logged on in order for teh script to work. Under computer config the script could only be placed in teh start up or shut down script section thus the script will not be able to set teh printer for a user.
The Computer Configuration section allows you to set policies that are applied to computers regardless of who logs onto them. They're stored in the HKLM section of the machine's Registry and include policies that define security settings, desktop appearance, and startup and shutdown scripts. They're applied when the machine boots
The User Configuration section set policies that apply to users, regardless of what computer they log on to. They're stored in the Registry under HKCU and define user-specific settings such as assigned programs, program settings, and desktop appearance. Unlike computer settings, which remain in effect until the computer is shut down, user configuration settings are reloaded for each new user
http://www.cmu.edu/computing/andrew-windows/gpo.html
http://www.microsoft.com/windowsserver2003/technologies/management/grouppolicy/default.mspx