Forum Search:
Forum.Brain-Cluster.com: Brain Cluster Technical Forum
Ultimate forum for Technical Discussions

Home » Microsoft » Windows Server » Active Directory » Is there a reason to store Logon Script in one of these places...
Is there a reason to store Logon Script in one of these places... [message #159763] Thu, 06 August 2009 12:25 Go to next message
Kelvin  is currently offline Kelvin  United States
Messages: 109
Registered: July 2009
Senior Member
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\{F312224C-904 4-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
Re: Is there a reason to store Logon Script in one of these places... [message #159764 is a reply to message #159763] Thu, 06 August 2009 12:34 Go to previous messageGo to next message
Marcin  is currently offline Marcin  United States
Messages: 273
Registered: July 2009
Senior Member
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" <me@mydomain.com> wrote in message
news:urngANsFKHA.4168@TK2MSFTNGP05.phx.gbl...
> 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\{F312224C-904 4-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
>
Re: Is there a reason to store Logon Script in one of these places... [message #159765 is a reply to message #159764] Thu, 06 August 2009 12:49 Go to previous messageGo to next message
Kelvin  is currently offline Kelvin  United States
Messages: 109
Registered: July 2009
Senior Member
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" <marcin@community.nospam> wrote in message
news:emG9mSsFKHA.1336@TK2MSFTNGP05.phx.gbl...
> 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" <me@mydomain.com> wrote in message
> news:urngANsFKHA.4168@TK2MSFTNGP05.phx.gbl...
>> 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\{F312224C-904 4-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
>>
>
>
Re: Is there a reason to store Logon Script in one of these places... [message #159766 is a reply to message #159765] Thu, 06 August 2009 13:04 Go to previous messageGo to next message
rlmueller-nospam  is currently offline rlmueller-nospam  United States
Messages: 292
Registered: July 2009
Senior Member
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" <me@mydomain.com> wrote in message
news:%23fiusasFKHA.3392@TK2MSFTNGP02.phx.gbl...
> 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" <marcin@community.nospam> wrote in message
> news:emG9mSsFKHA.1336@TK2MSFTNGP05.phx.gbl...
>> 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" <me@mydomain.com> wrote in message
>> news:urngANsFKHA.4168@TK2MSFTNGP05.phx.gbl...
>>> 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\{F312224C-904 4-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
>>>
>>
>>
>
>
Re: Is there a reason to store Logon Script in one of these places... [message #159772 is a reply to message #159763] Fri, 07 August 2009 06:16 Go to previous messageGo to next message
pbbergs  is currently offline pbbergs  United States
Messages: 1024
Registered: July 2009
Senior Member
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" <me@mydomain.com> wrote in message
news:urngANsFKHA.4168@TK2MSFTNGP05.phx.gbl...
> 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\{F312224C-904 4-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
>
Re: Is there a reason to store Logon Script in one of these places... [message #159782 is a reply to message #159766] Fri, 07 August 2009 16:37 Go to previous message
aceman  is currently offline aceman  United States
Messages: 5816
Registered: July 2009
Senior Member
"Richard Mueller [MVP]" <rlmueller-nospam@ameritech.nospam.net> wrote in
message news:%23I$0gjsFKHA.4432@TK2MSFTNGP05.phx.gbl...
> 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.
Previous Topic:WiFi Settings via GPO not working ... - [WP]
Next Topic:ADAM AzMan IIS Permission Issues
Goto Forum:
  


Current Time: Tue Jan 23 16:23:55 MST 2018

Total time taken to generate the page: 0.15681 seconds
.:: Contact :: Home ::Sitemap::.

Powered by: FUDforum 3.0.0RC2.
Copyright ©2001-2009 FUDforum Bulletin Board Software