Group Policies in Active Directory Win2003 - TechRepublic
General discussion
April 11, 2006 at 02:32 PM
balkey

Group Policies in Active Directory Win2003

by balkey . Updated 14 years, 3 months ago

Hi guys,

I have created a very simple batch file to install a couple of fonts and Word templates automatically. (details below).

But i would like to rollout this script automatically across the network. I believe i can do this using Group Policies.
But how ?

I only want this script to run for certain users. I already have a Distribution Group for the relevant users. But do i need to create a new Security Group of the users?

I have been doing alot of reading around, and im a bit confused. I know there is a Default Domain Policy, but that affects all users in the domain. I only want certain users to be affected, but the sources i have read thus far indicate that you cant assign a group policy to a security group???
(But u can assign to an OU, but we havent set up Organisational Units)
Aaaarrrgggggghh !

I believe i have to add the batch file to “User Configuration?, ?Windows Settings?, ?Scripts (Logon/Logoff)?, ?Logon”. But thats all i know so far.

Any advice please guys ?

Cheers.

PS – the script is a bat file as follows …

copy News Gothic BT.ttf %systemroot%\fonts
copy News Gothic Bold BT %systemroot%\fonts
copy News Gothic Italic BT.ttf %systemroot%\fonts
copy News Gothic Bold Italic BT.ttf %systemroot%\fonts

regedit /s importfonts.reg

copy Normal.dot C:\DOCUME~1\%USERNAME%\APPLIC~1\MICROSOFT\TEMPLATES
copy CustomTemplate.dot C:\DOCUME~1\%USERNAME%\APPLIC~1\MICROSOFT\TEMPLATES

START message.txt

(where importfonts.reg add the fonts to reg key
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts]
and message.txt is just a pop up notice informing user of the changes)

This discussion is locked

All Comments