Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Server Setup > Is there a reason to store Logon Script in one of these places...

Reply
Thread Tools Display Modes

Is there a reason to store Logon Script in one of these places...

 
 
Kelvin
Guest
Posts: n/a

 
      08-06-2009
I've been storing my logon scripts (batch files) in this folder.
"C:\WINDOWS\SYSVOL\sysvol\Domain.local\scripts "

I'm in the process of creating a logon script (VBScript based) and when I
was going to attach it to the GPO I noticed that the browse buttom opens to
here by default.
"C:\WINDOWS\SYSVOL\sysvol\Domain.local\Policies\{F 312224C-9044-4003-BF9D-B3E350E3D44C}\User\Scripts\Logon"

Is there a right or wrong place to store the logon scripts?
I seem to recall that there is synchronization from some part of this
directory structure between the Domain Controller and backup Domain
Controller...


Thanks

Kelvin


 
Reply With Quote
 
 
 
 
Marcin
Guest
Posts: n/a

 
      08-06-2009
Kelvin,
either is acceptable - although the first method (leveraging the Netlogon
share) is probably less common (since this is a legacy approach, which does
not rely on Group Policies, but instead involves modifying Logon script user
attribute via Profile tab of user's Properties dialog box in Active
Directory Users and Computers). Group Policies give you more flexibility
(multiple logon scripts - if needed) and improved manageability...

hth
Marcin

"Kelvin" <> wrote in message
news:...
> I've been storing my logon scripts (batch files) in this folder.
> "C:\WINDOWS\SYSVOL\sysvol\Domain.local\scripts "
>
> I'm in the process of creating a logon script (VBScript based) and when I
> was going to attach it to the GPO I noticed that the browse buttom opens
> to here by default.
> "C:\WINDOWS\SYSVOL\sysvol\Domain.local\Policies\{F 312224C-9044-4003-BF9D-B3E350E3D44C}\User\Scripts\Logon"
>
> Is there a right or wrong place to store the logon scripts?
> I seem to recall that there is synchronization from some part of this
> directory structure between the Domain Controller and backup Domain
> Controller...
>
>
> Thanks
>
> Kelvin
>



 
Reply With Quote
 
Kelvin
Guest
Posts: n/a

 
      08-06-2009
Thanks for the reply, I'm going to use the script in my GPO so will locate
the script where AD looks for it by default...

Thanks

Kelvin


"Marcin" <> wrote in message
news:...
> Kelvin,
> either is acceptable - although the first method (leveraging the Netlogon
> share) is probably less common (since this is a legacy approach, which
> does not rely on Group Policies, but instead involves modifying Logon
> script user attribute via Profile tab of user's Properties dialog box in
> Active Directory Users and Computers). Group Policies give you more
> flexibility (multiple logon scripts - if needed) and improved
> manageability...
>
> hth
> Marcin
>
> "Kelvin" <> wrote in message
> news:...
>> I've been storing my logon scripts (batch files) in this folder.
>> "C:\WINDOWS\SYSVOL\sysvol\Domain.local\scripts "
>>
>> I'm in the process of creating a logon script (VBScript based) and when I
>> was going to attach it to the GPO I noticed that the browse buttom opens
>> to here by default.
>> "C:\WINDOWS\SYSVOL\sysvol\Domain.local\Policies\{F 312224C-9044-4003-BF9D-B3E350E3D44C}\User\Scripts\Logon"
>>
>> Is there a right or wrong place to store the logon scripts?
>> I seem to recall that there is synchronization from some part of this
>> directory structure between the Domain Controller and backup Domain
>> Controller...
>>
>>
>> Thanks
>>
>> Kelvin
>>

>
>



 
Reply With Quote
 
Richard Mueller [MVP]
Guest
Posts: n/a

 
      08-06-2009
If you use the GPO, then the folder it uses by default is the correct one.
It becomes very difficult to navigate to that folder in Windows Explorer, so
use the GPO edit GUI. This is explained a bit in this logon script FAQ:

http://www.rlmueller.net/LogonScriptFAQ.htm

One point. If you specify a logon script in a GPO, and also have a logon
script specified on the "Profile" tab of ADUC, both will run. The GPO is
preferred, as long as all clients are Windows 2000 or above.

--
Richard Mueller
MVP Directory Services
Hilltop Lab - http://www.rlmueller.net
--

"Kelvin" <> wrote in message
news:%...
> Thanks for the reply, I'm going to use the script in my GPO so will locate
> the script where AD looks for it by default...
>
> Thanks
>
> Kelvin
>
>
> "Marcin" <> wrote in message
> news:...
>> Kelvin,
>> either is acceptable - although the first method (leveraging the Netlogon
>> share) is probably less common (since this is a legacy approach, which
>> does not rely on Group Policies, but instead involves modifying Logon
>> script user attribute via Profile tab of user's Properties dialog box in
>> Active Directory Users and Computers). Group Policies give you more
>> flexibility (multiple logon scripts - if needed) and improved
>> manageability...
>>
>> hth
>> Marcin
>>
>> "Kelvin" <> wrote in message
>> news:...
>>> I've been storing my logon scripts (batch files) in this folder.
>>> "C:\WINDOWS\SYSVOL\sysvol\Domain.local\scripts "
>>>
>>> I'm in the process of creating a logon script (VBScript based) and when
>>> I was going to attach it to the GPO I noticed that the browse buttom
>>> opens to here by default.
>>> "C:\WINDOWS\SYSVOL\sysvol\Domain.local\Policies\{F 312224C-9044-4003-BF9D-B3E350E3D44C}\User\Scripts\Logon"
>>>
>>> Is there a right or wrong place to store the logon scripts?
>>> I seem to recall that there is synchronization from some part of this
>>> directory structure between the Domain Controller and backup Domain
>>> Controller...
>>>
>>>
>>> Thanks
>>>
>>> Kelvin
>>>

>>
>>

>
>



 
Reply With Quote
 
Paul Bergson [MVP-DS]
Guest
Posts: n/a

 
      08-07-2009
I agree with the others, place the script within the gpo.

--
Paul Bergson
MVP - Directory Services
MCTS, MCT, MCSE, MCSA, Security+, BS CSci
2008, 2003, 2000 (Early Achiever), NT4
Microsoft's Thrive IT Pro of the Month - June 2009

http://www.pbbergs.com

Please no e-mails, any questions should be posted in the NewsGroup This
posting is provided "AS IS" with no warranties, and confers no rights.

"Kelvin" <> wrote in message
news:...
> I've been storing my logon scripts (batch files) in this folder.
> "C:\WINDOWS\SYSVOL\sysvol\Domain.local\scripts "
>
> I'm in the process of creating a logon script (VBScript based) and when I
> was going to attach it to the GPO I noticed that the browse buttom opens
> to here by default.
> "C:\WINDOWS\SYSVOL\sysvol\Domain.local\Policies\{F 312224C-9044-4003-BF9D-B3E350E3D44C}\User\Scripts\Logon"
>
> Is there a right or wrong place to store the logon scripts?
> I seem to recall that there is synchronization from some part of this
> directory structure between the Domain Controller and backup Domain
> Controller...
>
>
> Thanks
>
> Kelvin
>



 
Reply With Quote
 
Ace Fekay [MCT]
Guest
Posts: n/a

 
      08-07-2009

"Richard Mueller [MVP]" <rlmueller-> wrote in
message news:%23I$...
> If you use the GPO, then the folder it uses by default is the correct one.
> It becomes very difficult to navigate to that folder in Windows Explorer,
> so use the GPO edit GUI. This is explained a bit in this logon script FAQ:
>
> http://www.rlmueller.net/LogonScriptFAQ.htm
>


Richard,

I've used that method (browse button in the GPO script location) for years.
It's easy instead of trying to figure out which GPO in SYSVOL and which
subfolder, to put it in.


--
Ace

This posting is provided "AS-IS" with no warranties or guarantees and
confers no rights.

Please reply back to the newsgroup or forum to benefit from collaboration
among responding engineers, and to help others benefit from your resolution.

Ace Fekay, MCT, MCTS Exchange, MCSE, MCSA 2003 & 2000, MCSA Messaging
Microsoft Certified Trainer

For urgent issues, please contact Microsoft PSS directly. Please check
http://support.microsoft.com for regional support phone numbers.



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a reason to store Logon Script in one of these places... Kelvin Server Networking 5 08-07-2009 10:37 PM
Is there a reason to store Logon Script in one of these places... Kelvin Active Directory 5 08-07-2009 10:37 PM
Dumping logon name and logon script values to a text file - blank logon script field Phil McNeill Scripting 2 08-14-2008 04:13 PM
dumping logon name and logon script values to a file Phil McNeill Scripting 4 06-11-2008 04:56 PM
At logon, the server authenticating the logon does not locate an assigned logon script John Leonard - Sage Server Setup 0 12-27-2004 12:04 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59