Archived from groups: microsoft.public.win2000.advanced_server (
More info?)
1. dclab (location placement of login script)
Exact steps: GP > User Configuration > Windows Settings > Scripts
(logon/logoff).
Double click logon on right hand pane > Show Files. Windows Explorer will
open listing a path similar to
\\your_domain_name\sysvol\your_domain_name\Policies\{1234...}\User\Scripts\Logon.
Copy the batch file you already have to this path or create one (e.g.
alllogon.bat).
Continue from the last step, click Add > Browse and select alllogon.bat. The
default path is the one indicated previously. You should use this instead of
the one where alllogon.bat is currently located (to allow AD to manage auto
for you).
2. using "Active Directory Users & Computers" tool, assume that you have
created an OU (Organizational Unit) call DEMO. The user USER01 account is
placed inside this OU. A security group GROUP01 has also been created in the
same OU, and USER01 is made a member of it.
Right mouse click the DEMO OU > Properties > Group Policy > New. Give the
new GP a name,
say GP_User_Logon. Click Edit and execute the steps in #1 above.
3. Once step #2 is completed, make sure that GP_User_logon is highlighted >
Properties > Security tab > Add > select GROUP01. With the group still
highlighted, make certain that "Read" and "Apply Group Policy" are ticked on
the Allow column. Click OK all the way back to commit changes.
Step # 3 is optional if you are comfortable to use the default (where
Authenticated Users will get the GP). However, it is included for
completeness in order to allow you to control exactly who will be affected by
the GP you created.
Do keep us posted on any developments.
"Winanjaya" wrote:
> Thanks,
> regarding to your suggestion of a couple of checks:
> 1. Sorry, I don't understand what you mean exactly, but the alllogon.bat is
> only contained as follow:
> NET USE I: \\PDC\TEST
>
> and TEST folder already had Authenticated users security
> 2, 3. Users already logon to the PDC and it already exist in the list of
> Active Directory Users
>
> I don't know what should I do? .. please advise .. many thanks in advance
> Regards
> Winanjaya
>
> "Desmond Lee" wrote:
>
> >
> > It appears that no GPO has been applied for the currently logged in user.
> >
> > A couple of checks:
> > 1. review input from dclab (location placement of login script)
> > 2. verify that the user*is found in the OU where GP is created
> > 3. confirm that the user is either explicitly listed to receive the GP in
> > the OU (Read
> > and Apply Group Policy) or is a member of one of the groups with these
> > rights
> > (e.g. Authenticated Users)
> >
> > * target to receive GP
> >
> > Keep us posted. HTH.
> >
> >
> > "Winanjaya" wrote:
> >
> > > I have changed the "alllogon.bat" to
> > >
> > > NET USE I: \\PDC\TEST
> > >
> > > but the "alllogon.bat" still not run when they (the users) logon to our PDC
> > > .. why? ..
> > > FYI I got below when I run: gpresult in my command prompt... any suggestion?
> > > TIA
> > >
> > > gpresult
> > >
> > > Microsoft (R) Windows (R) 2000 Operating System Group Policy Result tool
> > > Copyright (C) Microsoft Corp. 1981-1999
> > >
> > >
> > > Created on Wednesday, December 29, 2004 at 5:10:05 PM
> > >
> > >
> > > Operating System Information:
> > >
> > > Operating System Type: Professional
> > > Operating System Version: 5.0.2195.Service Pack 4
> > > Terminal Server Mode: Not supported
> > >
> > > ###############################################################
> > >
> > > User Group Policy results for:
> > >
> > >
> > >
> > > Domain Name: HO
> > > Domain Type: Windows 2000
> > > Site Name: Default-First-Site-Name
> > >
> > > Roaming profile: (None)
> > > Local profile: C:\Documents and Settings\indra.HO
> > >
> > > The user is a member of the following security groups:
> > >
> > >
> > >
> > > ###############################################################
> > >
> > > Last time Group Policy was applied: Wednesday, December 29, 2004 at 5:06:50 PM
> > >
> > >
> > >
> > > ###############################################################
> > >
> > > Computer Group Policy results for:
> > >
> > >
> > >
> > > Domain Name: HO
> > > Domain Type: Windows 2000
> > > Site Name: Default-First-Site-Name
> > >
> > >
> > > The computer is a member of the following security groups:
> > >
> > > BUILTIN\Administrators
> > > \Everyone
> > > NT AUTHORITY\Authenticated Users
> > >
> > > ###############################################################
> > >
> > > Last time Group Policy was applied: Wednesday, December 29, 2004 at 4:57:36 PM
> > >
> > >
> > > ===============================================================
> > >
> > >
> > > The computer received "Registry" settings from these GPOs:
> > >
> > > Local Group Policy
> > >
> > >
> > > ===============================================================
> > > The computer received "Security" settings from these GPOs:
> > >
> > > Local Group Policy
> > >
> > >
> > > ===============================================================
> > > The computer received "EFS recovery" settings from these GPOs:
> > >
> > > Local Group Policy
> > >
> > > "Desmond Lee" wrote:
> > >
> > > > One more thing. H: is per default assigned as the drive letter for home folder.
> > > > Try using another drive letter and see if this helps.
> > > >
> > > > Do keep us posted.
> > > >
> > > >
> > > > "Winanjaya" wrote:
> > > >
> > > > > Hi
> > > > > Thanks, Yes .. I did NET USE H: \\PDC\TEST in my alllogon.bat and put it on
> > > > > Group Policy -> Logon script .. but it still not running when user logon to
> > > > > our PDC? please advise ..many thanks
> > > > >
> > > > > Regards
> > > > > Winanjaya
> > > > >
> > > > > "Desmond Lee" wrote:
> > > > >
> > > > > >
> > > > > > There must not be a space between H: and \\pdc\test.
> > > > > >
> > > > > > HTH.
> > > > > >
> > > > > > "Winanjaya" wrote:
> > > > > >
> > > > > > > Dear All,
> > > > > > > I created a very simple logon script for all of my users, it contained:
> > > > > > >
> > > > > > > net use h:\\pdc\test
> > > > > > >
> > > > > > > it doesnot work when user logon.. why ? please advise
> > > > > > >
> > > > > > > regards
> > > > > > > Winanjaya