Windows Vista Forums

Logon script not working

  1. #1


    Bert Guest

    Logon script not working

    Hi. I have made a logon.cmd file and put it in the Logon window in GPO. When
    I manually run it, it adds the login information of the server. I can browse
    to the logon.log file from clients and even run a command from the command
    prompt:

    echo "testing1" >> \\server\logons\logon.log and that works where server =
    server name and logons is the share.

    It seems the only thing that isn't happening is when a user logs on, it
    isn't running the logon.cmd file in Group Policy.

    Any suggestions?

      My System SpecsSystem Spec

  2.   


  3. #2


    Ace Fekay [MCT] Guest

    Re: Logon script not working

    "Bert" <Bert@newsgroup> wrote in message
    news:7B3AC2DF-91AF-405D-A33A-4E46D8278044@newsgroup

    > Hi. I have made a logon.cmd file and put it in the Logon window in GPO.
    > When
    > I manually run it, it adds the login information of the server. I can
    > browse
    > to the logon.log file from clients and even run a command from the command
    > prompt:
    >
    > echo "testing1" >> \\server\logons\logon.log and that works where server =
    > server name and logons is the share.
    >
    > It seems the only thing that isn't happening is when a user logs on, it
    > isn't running the logon.cmd file in Group Policy.
    >
    > Any suggestions?
    When you say you put the file in the logon window in GPO, do you mean that
    you physically copied it into the physical location of the GPO after you
    clicked on the Browse button? When you click on browse, it first puts you
    into the GPO's location in Sysvol.

    Normally an easy way to get a file into where logon scripts belong in a GPO,
    is after you click on browse, go to another explorer window, go to the
    location that your copy of logon.log (was that the name of it? - your UNC
    example shows logon.log, not logon.cmd) or where logon.cmd exists,
    right-click and copy it, then go back to the GPO logon file browse window,
    and paste it in there, then once pasted, select it for your login script.

    I assume there are no event log errors on the client side or the SBS side,
    as well as that the client and SBS are only configured to only use the SBS'
    IP as a DNS address (meaning there is no ISP's DNS, router as a DNS address,
    or some external DNS server in their IP properties).

    --
    Ace

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

    Please reply back to the newsgroup or forum for collaboration benefit 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.


      My System SpecsSystem Spec

  4. #3


    Bert Guest

    Re: Logon script not working

    Thanks for the help:

    One thing I read stated an easy way to put the .cmd file in GPO was to open
    the Show Files and paste it there. I did this, and I should say it is in
    there and when I click on Add and Browse, it is also there. I wasn't sure
    where to keep the .cmd file and I figured it was actually physically located
    in the GPO window, but maybe it isn't. At this time, it is in the same folder
    as the logon.log.

    This website shows that the actual log file should be located at

    \\dc1\share where dc1 for me is server and share is logons

    http://msmvps.com/blogs/richardwu/ar...gon-event.aspx

    "Ace Fekay [MCT]" wrote:

    > "Bert" <Bert@newsgroup> wrote in message
    > news:7B3AC2DF-91AF-405D-A33A-4E46D8278044@newsgroup

    > > Hi. I have made a logon.cmd file and put it in the Logon window in GPO.
    > > When
    > > I manually run it, it adds the login information of the server. I can
    > > browse
    > > to the logon.log file from clients and even run a command from the command
    > > prompt:
    > >
    > > echo "testing1" >> \\server\logons\logon.log and that works where server =
    > > server name and logons is the share.
    > >
    > > It seems the only thing that isn't happening is when a user logs on, it
    > > isn't running the logon.cmd file in Group Policy.
    > >
    > > Any suggestions?
    >
    > When you say you put the file in the logon window in GPO, do you mean that
    > you physically copied it into the physical location of the GPO after you
    > clicked on the Browse button? When you click on browse, it first puts you
    > into the GPO's location in Sysvol.
    >
    > Normally an easy way to get a file into where logon scripts belong in a GPO,
    > is after you click on browse, go to another explorer window, go to the
    > location that your copy of logon.log (was that the name of it? - your UNC
    > example shows logon.log, not logon.cmd) or where logon.cmd exists,
    > right-click and copy it, then go back to the GPO logon file browse window,
    > and paste it in there, then once pasted, select it for your login script.
    >
    > I assume there are no event log errors on the client side or the SBS side,
    > as well as that the client and SBS are only configured to only use the SBS'
    > IP as a DNS address (meaning there is no ISP's DNS, router as a DNS address,
    > or some external DNS server in their IP properties).
    >
    > --
    > Ace
    >
    > This posting is provided "AS-IS" with no warranties or guarantees and
    > confers no rights.
    >
    > Please reply back to the newsgroup or forum for collaboration benefit 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.
    >
    >

      My System SpecsSystem Spec

  5. #4


    Ace Fekay [MCT] Guest

    Re: Logon script not working

    "Bert" <Bert@newsgroup> wrote in message
    newsAFAA871-7464-4279-B054-15345ACCB8C3@newsgroup

    Ok, I see what you mean about the log. Thanks for clarifying that.

    It appear that you pasted it in the right spot. I assume where you pasted
    the logon.cmd file, it was in the following path (note: this is an example
    and your GUID would be different):

    C:\WINDOWS\SYSVOL\sysvol\domain.com\Policies\{BD0979BF-E009-4AE4-9BFC-5CC5D991FAB1}\User\Scripts\Logon

    Where did you link the GPO to, in the OU where the users exist?

    Can you post what's in the logon.cmd file, please?

    Thanks,
    Ace



    > Thanks for the help:
    >
    > One thing I read stated an easy way to put the .cmd file in GPO was to
    > open
    > the Show Files and paste it there. I did this, and I should say it is in
    > there and when I click on Add and Browse, it is also there. I wasn't sure
    > where to keep the .cmd file and I figured it was actually physically
    > located
    > in the GPO window, but maybe it isn't. At this time, it is in the same
    > folder
    > as the logon.log.
    >
    > This website shows that the actual log file should be located at
    >
    > \\dc1\share where dc1 for me is server and share is logons
    >
    > http://msmvps.com/blogs/richardwu/ar...gon-event.aspx
    >
    > "Ace Fekay [MCT]" wrote:
    >

    >> "Bert" <Bert@newsgroup> wrote in message
    >> news:7B3AC2DF-91AF-405D-A33A-4E46D8278044@newsgroup

    >> > Hi. I have made a logon.cmd file and put it in the Logon window in GPO.
    >> > When
    >> > I manually run it, it adds the login information of the server. I can
    >> > browse
    >> > to the logon.log file from clients and even run a command from the
    >> > command
    >> > prompt:
    >> >
    >> > echo "testing1" >> \\server\logons\logon.log and that works where
    >> > server =
    >> > server name and logons is the share.
    >> >
    >> > It seems the only thing that isn't happening is when a user logs on, it
    >> > isn't running the logon.cmd file in Group Policy.
    >> >
    >> > Any suggestions?
    >>
    >> When you say you put the file in the logon window in GPO, do you mean
    >> that
    >> you physically copied it into the physical location of the GPO after you
    >> clicked on the Browse button? When you click on browse, it first puts you
    >> into the GPO's location in Sysvol.
    >>
    >> Normally an easy way to get a file into where logon scripts belong in a
    >> GPO,
    >> is after you click on browse, go to another explorer window, go to the
    >> location that your copy of logon.log (was that the name of it? - your UNC
    >> example shows logon.log, not logon.cmd) or where logon.cmd exists,
    >> right-click and copy it, then go back to the GPO logon file browse
    >> window,
    >> and paste it in there, then once pasted, select it for your login script.
    >>
    >> I assume there are no event log errors on the client side or the SBS
    >> side,
    >> as well as that the client and SBS are only configured to only use the
    >> SBS'
    >> IP as a DNS address (meaning there is no ISP's DNS, router as a DNS
    >> address,
    >> or some external DNS server in their IP properties).
    >>
    >> --
    >> Ace
    >>
    >> This posting is provided "AS-IS" with no warranties or guarantees and
    >> confers no rights.
    >>
    >> Please reply back to the newsgroup or forum for collaboration benefit
    >> 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.
    >>
    >>


      My System SpecsSystem Spec

  6. #5


    Bert Guest

    Re: Logon script not working

    My path for where the logon.cmd file is:

    C:\WINDOWS\SYSVOL\sysvol\domain.com\Policies\{BD0979BF-E009-4AE4-9BFC-5CC5D991FAB1}\User\Scripts\Logon

    Inside the logon.cmd file is:

    echo logon %username% %computername% %date% %time% >>
    \\server\logons\logon.log

    Again, when I type this at a command prompt from a client (echo "testing1"

    >> \\server\logons\logon.log) without the parentheses, it works.
    Also, running the logon.cmd does show the logon for the server. So, it seems
    everything is set up correctly except a user logon is not triggering the
    batch file.

    Which brings me to your question: Where did you link the GPO to, in the OU
    where the users exist?

    I think this is what I may have left out. I didn't link anything. I am not
    sure where the organizational unit is or if I needed to make a new one.

    Thanks.






    "Ace Fekay [MCT]" wrote:

    > "Bert" <Bert@newsgroup> wrote in message
    > newsAFAA871-7464-4279-B054-15345ACCB8C3@newsgroup
    >
    > Ok, I see what you mean about the log. Thanks for clarifying that.
    >
    > It appear that you pasted it in the right spot. I assume where you pasted
    > the logon.cmd file, it was in the following path (note: this is an example
    > and your GUID would be different):
    >
    > C:\WINDOWS\SYSVOL\sysvol\domain.com\Policies\{BD0979BF-E009-4AE4-9BFC-5CC5D991FAB1}\User\Scripts\Logon
    >
    > Where did you link the GPO to, in the OU where the users exist?
    >
    > Can you post what's in the logon.cmd file, please?
    >
    > Thanks,
    > Ace
    >
    >
    >

    > > Thanks for the help:
    > >
    > > One thing I read stated an easy way to put the .cmd file in GPO was to
    > > open
    > > the Show Files and paste it there. I did this, and I should say it is in
    > > there and when I click on Add and Browse, it is also there. I wasn't sure
    > > where to keep the .cmd file and I figured it was actually physically
    > > located
    > > in the GPO window, but maybe it isn't. At this time, it is in the same
    > > folder
    > > as the logon.log.
    > >
    > > This website shows that the actual log file should be located at
    > >
    > > \\dc1\share where dc1 for me is server and share is logons
    > >
    > > http://msmvps.com/blogs/richardwu/ar...gon-event.aspx
    > >
    > > "Ace Fekay [MCT]" wrote:
    > >

    > >> "Bert" <Bert@newsgroup> wrote in message
    > >> news:7B3AC2DF-91AF-405D-A33A-4E46D8278044@newsgroup
    > >> > Hi. I have made a logon.cmd file and put it in the Logon window in GPO.
    > >> > When
    > >> > I manually run it, it adds the login information of the server. I can
    > >> > browse
    > >> > to the logon.log file from clients and even run a command from the
    > >> > command
    > >> > prompt:
    > >> >
    > >> > echo "testing1" >> \\server\logons\logon.log and that works where
    > >> > server =
    > >> > server name and logons is the share.
    > >> >
    > >> > It seems the only thing that isn't happening is when a user logs on, it
    > >> > isn't running the logon.cmd file in Group Policy.
    > >> >
    > >> > Any suggestions?
    > >>
    > >> When you say you put the file in the logon window in GPO, do you mean
    > >> that
    > >> you physically copied it into the physical location of the GPO after you
    > >> clicked on the Browse button? When you click on browse, it first puts you
    > >> into the GPO's location in Sysvol.
    > >>
    > >> Normally an easy way to get a file into where logon scripts belong in a
    > >> GPO,
    > >> is after you click on browse, go to another explorer window, go to the
    > >> location that your copy of logon.log (was that the name of it? - your UNC
    > >> example shows logon.log, not logon.cmd) or where logon.cmd exists,
    > >> right-click and copy it, then go back to the GPO logon file browse
    > >> window,
    > >> and paste it in there, then once pasted, select it for your login script.
    > >>
    > >> I assume there are no event log errors on the client side or the SBS
    > >> side,
    > >> as well as that the client and SBS are only configured to only use the
    > >> SBS'
    > >> IP as a DNS address (meaning there is no ISP's DNS, router as a DNS
    > >> address,
    > >> or some external DNS server in their IP properties).
    > >>
    > >> --
    > >> Ace
    > >>
    > >> This posting is provided "AS-IS" with no warranties or guarantees and
    > >> confers no rights.
    > >>
    > >> Please reply back to the newsgroup or forum for collaboration benefit
    > >> 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.
    > >>
    > >>
    >
    >
    >

      My System SpecsSystem Spec

  7. #6


    Ace Fekay [MCT] Guest

    Re: Logon script not working

    "Bert" <Bert@newsgroup> wrote in message
    news:6E93E0EA-0E79-4870-BE0A-40AAF4D86929@newsgroup

    Before I get into OU structures and linking the GPO, if you copy the file to
    the NETLOGON folder (C:\WINDOWS\SYSVOL\sysvol\domain.com\scripts), and
    specify the file name in a test user's AD properties (profile tab, logon
    script section), does it run when the test user logs on?

    Ace

    > My path for where the logon.cmd file is:
    >
    > C:\WINDOWS\SYSVOL\sysvol\domain.com\Policies\{BD0979BF-E009-4AE4-9BFC-5CC5D991FAB1}\User\Scripts\Logon
    >
    > Inside the logon.cmd file is:
    >
    > echo logon %username% %computername% %date% %time% >>
    > \\server\logons\logon.log
    >
    > Again, when I type this at a command prompt from a client (echo "testing1"

    >>> \\server\logons\logon.log) without the parentheses, it works.
    >
    > Also, running the logon.cmd does show the logon for the server. So, it
    > seems
    > everything is set up correctly except a user logon is not triggering the
    > batch file.
    >
    > Which brings me to your question: Where did you link the GPO to, in the OU
    > where the users exist?
    >
    > I think this is what I may have left out. I didn't link anything. I am not
    > sure where the organizational unit is or if I needed to make a new one.
    >
    > Thanks.
    >
    >
    >
    >
    >
    >
    > "Ace Fekay [MCT]" wrote:
    >

    >> "Bert" <Bert@newsgroup> wrote in message
    >> newsAFAA871-7464-4279-B054-15345ACCB8C3@newsgroup
    >>
    >> Ok, I see what you mean about the log. Thanks for clarifying that.
    >>
    >> It appear that you pasted it in the right spot. I assume where you pasted
    >> the logon.cmd file, it was in the following path (note: this is an
    >> example
    >> and your GUID would be different):
    >>
    >> C:\WINDOWS\SYSVOL\sysvol\domain.com\Policies\{BD0979BF-E009-4AE4-9BFC-5CC5D991FAB1}\User\Scripts\Logon
    >>
    >> Where did you link the GPO to, in the OU where the users exist?
    >>
    >> Can you post what's in the logon.cmd file, please?
    >>
    >> Thanks,
    >> Ace
    >>
    >>
    >>

    >> > Thanks for the help:
    >> >
    >> > One thing I read stated an easy way to put the .cmd file in GPO was to
    >> > open
    >> > the Show Files and paste it there. I did this, and I should say it is
    >> > in
    >> > there and when I click on Add and Browse, it is also there. I wasn't
    >> > sure
    >> > where to keep the .cmd file and I figured it was actually physically
    >> > located
    >> > in the GPO window, but maybe it isn't. At this time, it is in the same
    >> > folder
    >> > as the logon.log.
    >> >
    >> > This website shows that the actual log file should be located at
    >> >
    >> > \\dc1\share where dc1 for me is server and share is logons
    >> >
    >> > http://msmvps.com/blogs/richardwu/ar...gon-event.aspx
    >> >
    >> > "Ace Fekay [MCT]" wrote:
    >> >
    >> >> "Bert" <Bert@newsgroup> wrote in message
    >> >> news:7B3AC2DF-91AF-405D-A33A-4E46D8278044@newsgroup
    >> >> > Hi. I have made a logon.cmd file and put it in the Logon window in
    >> >> > GPO.
    >> >> > When
    >> >> > I manually run it, it adds the login information of the server. I
    >> >> > can
    >> >> > browse
    >> >> > to the logon.log file from clients and even run a command from the
    >> >> > command
    >> >> > prompt:
    >> >> >
    >> >> > echo "testing1" >> \\server\logons\logon.log and that works where
    >> >> > server =
    >> >> > server name and logons is the share.
    >> >> >
    >> >> > It seems the only thing that isn't happening is when a user logs on,
    >> >> > it
    >> >> > isn't running the logon.cmd file in Group Policy.
    >> >> >
    >> >> > Any suggestions?
    >> >>
    >> >> When you say you put the file in the logon window in GPO, do you mean
    >> >> that
    >> >> you physically copied it into the physical location of the GPO after
    >> >> you
    >> >> clicked on the Browse button? When you click on browse, it first puts
    >> >> you
    >> >> into the GPO's location in Sysvol.
    >> >>
    >> >> Normally an easy way to get a file into where logon scripts belong in
    >> >> a
    >> >> GPO,
    >> >> is after you click on browse, go to another explorer window, go to the
    >> >> location that your copy of logon.log (was that the name of it? - your
    >> >> UNC
    >> >> example shows logon.log, not logon.cmd) or where logon.cmd exists,
    >> >> right-click and copy it, then go back to the GPO logon file browse
    >> >> window,
    >> >> and paste it in there, then once pasted, select it for your login
    >> >> script.
    >> >>
    >> >> I assume there are no event log errors on the client side or the SBS
    >> >> side,
    >> >> as well as that the client and SBS are only configured to only use the
    >> >> SBS'
    >> >> IP as a DNS address (meaning there is no ISP's DNS, router as a DNS
    >> >> address,
    >> >> or some external DNS server in their IP properties).
    >> >>
    >> >> --
    >> >> Ace
    >> >>
    >> >> This posting is provided "AS-IS" with no warranties or guarantees and
    >> >> confers no rights.
    >> >>
    >> >> Please reply back to the newsgroup or forum for collaboration benefit
    >> >> 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.
    >> >>
    >> >>
    >>
    >>
    >>


      My System SpecsSystem Spec

  8. #7


    Bert Guest

    Re: Logon script not working

    Sorry, I had to get some sleep. I should have let you know. That works!

    The only problem would be if I were running roaming profiles or some other
    logon script, where would I put it? Luckily, I stopped using roaming
    profiles, because it caused more problems than it was worth. Plus, I can't do
    any logoff script.

    But, for now, this is very good. Thanks.

    "Ace Fekay [MCT]" wrote:

    > "Bert" <Bert@newsgroup> wrote in message
    > news:6E93E0EA-0E79-4870-BE0A-40AAF4D86929@newsgroup
    >
    > Before I get into OU structures and linking the GPO, if you copy the file to
    > the NETLOGON folder (C:\WINDOWS\SYSVOL\sysvol\domain.com\scripts), and
    > specify the file name in a test user's AD properties (profile tab, logon
    > script section), does it run when the test user logs on?
    >
    > Ace
    >

    > > My path for where the logon.cmd file is:
    > >
    > > C:\WINDOWS\SYSVOL\sysvol\domain.com\Policies\{BD0979BF-E009-4AE4-9BFC-5CC5D991FAB1}\User\Scripts\Logon
    > >
    > > Inside the logon.cmd file is:
    > >
    > > echo logon %username% %computername% %date% %time% >>
    > > \\server\logons\logon.log
    > >
    > > Again, when I type this at a command prompt from a client (echo "testing1"

    > >>> \\server\logons\logon.log) without the parentheses, it works.
    > >
    > > Also, running the logon.cmd does show the logon for the server. So, it
    > > seems
    > > everything is set up correctly except a user logon is not triggering the
    > > batch file.
    > >
    > > Which brings me to your question: Where did you link the GPO to, in the OU
    > > where the users exist?
    > >
    > > I think this is what I may have left out. I didn't link anything. I am not
    > > sure where the organizational unit is or if I needed to make a new one.
    > >
    > > Thanks.
    > >
    > >
    > >
    > >
    > >
    > >
    > > "Ace Fekay [MCT]" wrote:
    > >

    > >> "Bert" <Bert@newsgroup> wrote in message
    > >> newsAFAA871-7464-4279-B054-15345ACCB8C3@newsgroup
    > >>
    > >> Ok, I see what you mean about the log. Thanks for clarifying that.
    > >>
    > >> It appear that you pasted it in the right spot. I assume where you pasted
    > >> the logon.cmd file, it was in the following path (note: this is an
    > >> example
    > >> and your GUID would be different):
    > >>
    > >> C:\WINDOWS\SYSVOL\sysvol\domain.com\Policies\{BD0979BF-E009-4AE4-9BFC-5CC5D991FAB1}\User\Scripts\Logon
    > >>
    > >> Where did you link the GPO to, in the OU where the users exist?
    > >>
    > >> Can you post what's in the logon.cmd file, please?
    > >>
    > >> Thanks,
    > >> Ace
    > >>
    > >>
    > >>
    > >> > Thanks for the help:
    > >> >
    > >> > One thing I read stated an easy way to put the .cmd file in GPO was to
    > >> > open
    > >> > the Show Files and paste it there. I did this, and I should say it is
    > >> > in
    > >> > there and when I click on Add and Browse, it is also there. I wasn't
    > >> > sure
    > >> > where to keep the .cmd file and I figured it was actually physically
    > >> > located
    > >> > in the GPO window, but maybe it isn't. At this time, it is in the same
    > >> > folder
    > >> > as the logon.log.
    > >> >
    > >> > This website shows that the actual log file should be located at
    > >> >
    > >> > \\dc1\share where dc1 for me is server and share is logons
    > >> >
    > >> > http://msmvps.com/blogs/richardwu/ar...gon-event.aspx
    > >> >
    > >> > "Ace Fekay [MCT]" wrote:
    > >> >
    > >> >> "Bert" <Bert@newsgroup> wrote in message
    > >> >> news:7B3AC2DF-91AF-405D-A33A-4E46D8278044@newsgroup
    > >> >> > Hi. I have made a logon.cmd file and put it in the Logon window in
    > >> >> > GPO.
    > >> >> > When
    > >> >> > I manually run it, it adds the login information of the server. I
    > >> >> > can
    > >> >> > browse
    > >> >> > to the logon.log file from clients and even run a command from the
    > >> >> > command
    > >> >> > prompt:
    > >> >> >
    > >> >> > echo "testing1" >> \\server\logons\logon.log and that works where
    > >> >> > server =
    > >> >> > server name and logons is the share.
    > >> >> >
    > >> >> > It seems the only thing that isn't happening is when a user logs on,
    > >> >> > it
    > >> >> > isn't running the logon.cmd file in Group Policy.
    > >> >> >
    > >> >> > Any suggestions?
    > >> >>
    > >> >> When you say you put the file in the logon window in GPO, do you mean
    > >> >> that
    > >> >> you physically copied it into the physical location of the GPO after
    > >> >> you
    > >> >> clicked on the Browse button? When you click on browse, it first puts
    > >> >> you
    > >> >> into the GPO's location in Sysvol.
    > >> >>
    > >> >> Normally an easy way to get a file into where logon scripts belong in
    > >> >> a
    > >> >> GPO,
    > >> >> is after you click on browse, go to another explorer window, go to the
    > >> >> location that your copy of logon.log (was that the name of it? - your
    > >> >> UNC
    > >> >> example shows logon.log, not logon.cmd) or where logon.cmd exists,
    > >> >> right-click and copy it, then go back to the GPO logon file browse
    > >> >> window,
    > >> >> and paste it in there, then once pasted, select it for your login
    > >> >> script.
    > >> >>
    > >> >> I assume there are no event log errors on the client side or the SBS
    > >> >> side,
    > >> >> as well as that the client and SBS are only configured to only use the
    > >> >> SBS'
    > >> >> IP as a DNS address (meaning there is no ISP's DNS, router as a DNS
    > >> >> address,
    > >> >> or some external DNS server in their IP properties).
    > >> >>
    > >> >> --
    > >> >> Ace
    > >> >>
    > >> >> This posting is provided "AS-IS" with no warranties or guarantees and
    > >> >> confers no rights.
    > >> >>
    > >> >> Please reply back to the newsgroup or forum for collaboration benefit
    > >> >> 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.
    > >> >>
    > >> >>
    > >>
    > >>
    > >>
    >
    >
    >

      My System SpecsSystem Spec

  9. #8


    Ace Fekay [MCT] Guest

    Re: Logon script not working

    "Bert" <Bert@newsgroup> wrote in message
    news:ABC7C166-9BD0-4C1F-8892-65D226644F4B@newsgroup

    That's good to hear! So we know the script works.

    Now tell us whether you created a new GPO or you altered an existing GPO for
    the logon script.

    If an existing GPO, what is it called?

    If you created a new one, what did you call it, and exactly where is it? If
    you can, take a screenshot of your GPMC, and post it somewhere where we can
    take a peek at it.

    Ace


    > Sorry, I had to get some sleep. I should have let you know. That works!
    >
    > The only problem would be if I were running roaming profiles or some other
    > logon script, where would I put it? Luckily, I stopped using roaming
    > profiles, because it caused more problems than it was worth. Plus, I can't
    > do
    > any logoff script.
    >
    > But, for now, this is very good. Thanks.
    >
    > "Ace Fekay [MCT]" wrote:
    >

    >> "Bert" <Bert@newsgroup> wrote in message
    >> news:6E93E0EA-0E79-4870-BE0A-40AAF4D86929@newsgroup
    >>
    >> Before I get into OU structures and linking the GPO, if you copy the file
    >> to
    >> the NETLOGON folder (C:\WINDOWS\SYSVOL\sysvol\domain.com\scripts), and
    >> specify the file name in a test user's AD properties (profile tab, logon
    >> script section), does it run when the test user logs on?
    >>
    >> Ace
    >>

    >> > My path for where the logon.cmd file is:
    >> >
    >> > C:\WINDOWS\SYSVOL\sysvol\domain.com\Policies\{BD0979BF-E009-4AE4-9BFC-5CC5D991FAB1}\User\Scripts\Logon
    >> >
    >> > Inside the logon.cmd file is:
    >> >
    >> > echo logon %username% %computername% %date% %time% >>
    >> > \\server\logons\logon.log
    >> >
    >> > Again, when I type this at a command prompt from a client (echo
    >> > "testing1"
    >> >>> \\server\logons\logon.log) without the parentheses, it works.
    >> >
    >> > Also, running the logon.cmd does show the logon for the server. So, it
    >> > seems
    >> > everything is set up correctly except a user logon is not triggering
    >> > the
    >> > batch file.
    >> >
    >> > Which brings me to your question: Where did you link the GPO to, in the
    >> > OU
    >> > where the users exist?
    >> >
    >> > I think this is what I may have left out. I didn't link anything. I am
    >> > not
    >> > sure where the organizational unit is or if I needed to make a new one.
    >> >
    >> > Thanks.
    >> >
    >> >
    >> >
    >> >
    >> >
    >> >
    >> > "Ace Fekay [MCT]" wrote:
    >> >
    >> >> "Bert" <Bert@newsgroup> wrote in message
    >> >> newsAFAA871-7464-4279-B054-15345ACCB8C3@newsgroup
    >> >>
    >> >> Ok, I see what you mean about the log. Thanks for clarifying that.
    >> >>
    >> >> It appear that you pasted it in the right spot. I assume where you
    >> >> pasted
    >> >> the logon.cmd file, it was in the following path (note: this is an
    >> >> example
    >> >> and your GUID would be different):
    >> >>
    >> >> C:\WINDOWS\SYSVOL\sysvol\domain.com\Policies\{BD0979BF-E009-4AE4-9BFC-5CC5D991FAB1}\User\Scripts\Logon
    >> >>
    >> >> Where did you link the GPO to, in the OU where the users exist?
    >> >>
    >> >> Can you post what's in the logon.cmd file, please?
    >> >>
    >> >> Thanks,
    >> >> Ace
    >> >>
    >> >>
    >> >>
    >> >> > Thanks for the help:
    >> >> >
    >> >> > One thing I read stated an easy way to put the .cmd file in GPO was
    >> >> > to
    >> >> > open
    >> >> > the Show Files and paste it there. I did this, and I should say it
    >> >> > is
    >> >> > in
    >> >> > there and when I click on Add and Browse, it is also there. I wasn't
    >> >> > sure
    >> >> > where to keep the .cmd file and I figured it was actually physically
    >> >> > located
    >> >> > in the GPO window, but maybe it isn't. At this time, it is in the
    >> >> > same
    >> >> > folder
    >> >> > as the logon.log.
    >> >> >
    >> >> > This website shows that the actual log file should be located at
    >> >> >
    >> >> > \\dc1\share where dc1 for me is server and share is logons
    >> >> >
    >> >> > http://msmvps.com/blogs/richardwu/ar...gon-event.aspx
    >> >> >
    >> >> > "Ace Fekay [MCT]" wrote:
    >> >> >
    >> >> >> "Bert" <Bert@newsgroup> wrote in message
    >> >> >> news:7B3AC2DF-91AF-405D-A33A-4E46D8278044@newsgroup
    >> >> >> > Hi. I have made a logon.cmd file and put it in the Logon window
    >> >> >> > in
    >> >> >> > GPO.
    >> >> >> > When
    >> >> >> > I manually run it, it adds the login information of the server. I
    >> >> >> > can
    >> >> >> > browse
    >> >> >> > to the logon.log file from clients and even run a command from
    >> >> >> > the
    >> >> >> > command
    >> >> >> > prompt:
    >> >> >> >
    >> >> >> > echo "testing1" >> \\server\logons\logon.log and that works where
    >> >> >> > server =
    >> >> >> > server name and logons is the share.
    >> >> >> >
    >> >> >> > It seems the only thing that isn't happening is when a user logs
    >> >> >> > on,
    >> >> >> > it
    >> >> >> > isn't running the logon.cmd file in Group Policy.
    >> >> >> >
    >> >> >> > Any suggestions?
    >> >> >>
    >> >> >> When you say you put the file in the logon window in GPO, do you
    >> >> >> mean
    >> >> >> that
    >> >> >> you physically copied it into the physical location of the GPO
    >> >> >> after
    >> >> >> you
    >> >> >> clicked on the Browse button? When you click on browse, it first
    >> >> >> puts
    >> >> >> you
    >> >> >> into the GPO's location in Sysvol.
    >> >> >>
    >> >> >> Normally an easy way to get a file into where logon scripts belong
    >> >> >> in
    >> >> >> a
    >> >> >> GPO,
    >> >> >> is after you click on browse, go to another explorer window, go to
    >> >> >> the
    >> >> >> location that your copy of logon.log (was that the name of it? -
    >> >> >> your
    >> >> >> UNC
    >> >> >> example shows logon.log, not logon.cmd) or where logon.cmd exists,
    >> >> >> right-click and copy it, then go back to the GPO logon file browse
    >> >> >> window,
    >> >> >> and paste it in there, then once pasted, select it for your login
    >> >> >> script.
    >> >> >>
    >> >> >> I assume there are no event log errors on the client side or the
    >> >> >> SBS
    >> >> >> side,
    >> >> >> as well as that the client and SBS are only configured to only use
    >> >> >> the
    >> >> >> SBS'
    >> >> >> IP as a DNS address (meaning there is no ISP's DNS, router as a DNS
    >> >> >> address,
    >> >> >> or some external DNS server in their IP properties).
    >> >> >>
    >> >> >> --
    >> >> >> Ace
    >> >> >>
    >> >> >> This posting is provided "AS-IS" with no warranties or guarantees
    >> >> >> and
    >> >> >> confers no rights.
    >> >> >>
    >> >> >> Please reply back to the newsgroup or forum for collaboration
    >> >> >> benefit
    >> >> >> 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.
    >> >> >>
    >> >> >>
    >> >>
    >> >>
    >> >>
    >>
    >>
    >>


      My System SpecsSystem Spec

  10. #9


    Bert Guest

    Re: Logon script not working

    Thanks Ace,

    I have to apologize. I am fairly stupid when it comes to GPO at this point.
    I did exactly what you said to test it, and it works. I think once I found a
    place to make GPOs, say if I wanted only three of my employees to be able to
    do something or have rights. But, I can't find that. So, I think you will
    need to be more specific, because I am not smart enough in SBS to figure out
    your question.

    Can I make Notify me of replies the default?

    "Ace Fekay [MCT]" wrote:

    > "Bert" <Bert@newsgroup> wrote in message
    > news:ABC7C166-9BD0-4C1F-8892-65D226644F4B@newsgroup
    >
    > That's good to hear! So we know the script works.
    >
    > Now tell us whether you created a new GPO or you altered an existing GPO for
    > the logon script.
    >
    > If an existing GPO, what is it called?
    >
    > If you created a new one, what did you call it, and exactly where is it? If
    > you can, take a screenshot of your GPMC, and post it somewhere where we can
    > take a peek at it.
    >
    > Ace
    >
    >

    > > Sorry, I had to get some sleep. I should have let you know. That works!
    > >
    > > The only problem would be if I were running roaming profiles or some other
    > > logon script, where would I put it? Luckily, I stopped using roaming
    > > profiles, because it caused more problems than it was worth. Plus, I can't
    > > do
    > > any logoff script.
    > >
    > > But, for now, this is very good. Thanks.
    > >
    > > "Ace Fekay [MCT]" wrote:
    > >

    > >> "Bert" <Bert@newsgroup> wrote in message
    > >> news:6E93E0EA-0E79-4870-BE0A-40AAF4D86929@newsgroup
    > >>
    > >> Before I get into OU structures and linking the GPO, if you copy the file
    > >> to
    > >> the NETLOGON folder (C:\WINDOWS\SYSVOL\sysvol\domain.com\scripts), and
    > >> specify the file name in a test user's AD properties (profile tab, logon
    > >> script section), does it run when the test user logs on?
    > >>
    > >> Ace
    > >>
    > >> > My path for where the logon.cmd file is:
    > >> >
    > >> > C:\WINDOWS\SYSVOL\sysvol\domain.com\Policies\{BD0979BF-E009-4AE4-9BFC-5CC5D991FAB1}\User\Scripts\Logon
    > >> >
    > >> > Inside the logon.cmd file is:
    > >> >
    > >> > echo logon %username% %computername% %date% %time% >>
    > >> > \\server\logons\logon.log
    > >> >
    > >> > Again, when I type this at a command prompt from a client (echo
    > >> > "testing1"
    > >> >>> \\server\logons\logon.log) without the parentheses, it works.
    > >> >
    > >> > Also, running the logon.cmd does show the logon for the server. So, it
    > >> > seems
    > >> > everything is set up correctly except a user logon is not triggering
    > >> > the
    > >> > batch file.
    > >> >
    > >> > Which brings me to your question: Where did you link the GPO to, in the
    > >> > OU
    > >> > where the users exist?
    > >> >
    > >> > I think this is what I may have left out. I didn't link anything. I am
    > >> > not
    > >> > sure where the organizational unit is or if I needed to make a new one.
    > >> >
    > >> > Thanks.
    > >> >
    > >> >
    > >> >
    > >> >
    > >> >
    > >> >
    > >> > "Ace Fekay [MCT]" wrote:
    > >> >
    > >> >> "Bert" <Bert@newsgroup> wrote in message
    > >> >> newsAFAA871-7464-4279-B054-15345ACCB8C3@newsgroup
    > >> >>
    > >> >> Ok, I see what you mean about the log. Thanks for clarifying that.
    > >> >>
    > >> >> It appear that you pasted it in the right spot. I assume where you
    > >> >> pasted
    > >> >> the logon.cmd file, it was in the following path (note: this is an
    > >> >> example
    > >> >> and your GUID would be different):
    > >> >>
    > >> >> C:\WINDOWS\SYSVOL\sysvol\domain.com\Policies\{BD0979BF-E009-4AE4-9BFC-5CC5D991FAB1}\User\Scripts\Logon
    > >> >>
    > >> >> Where did you link the GPO to, in the OU where the users exist?
    > >> >>
    > >> >> Can you post what's in the logon.cmd file, please?
    > >> >>
    > >> >> Thanks,
    > >> >> Ace
    > >> >>
    > >> >>
    > >> >>
    > >> >> > Thanks for the help:
    > >> >> >
    > >> >> > One thing I read stated an easy way to put the .cmd file in GPO was
    > >> >> > to
    > >> >> > open
    > >> >> > the Show Files and paste it there. I did this, and I should say it
    > >> >> > is
    > >> >> > in
    > >> >> > there and when I click on Add and Browse, it is also there. I wasn't
    > >> >> > sure
    > >> >> > where to keep the .cmd file and I figured it was actually physically
    > >> >> > located
    > >> >> > in the GPO window, but maybe it isn't. At this time, it is in the
    > >> >> > same
    > >> >> > folder
    > >> >> > as the logon.log.
    > >> >> >
    > >> >> > This website shows that the actual log file should be located at
    > >> >> >
    > >> >> > \\dc1\share where dc1 for me is server and share is logons
    > >> >> >
    > >> >> > http://msmvps.com/blogs/richardwu/ar...gon-event.aspx
    > >> >> >
    > >> >> > "Ace Fekay [MCT]" wrote:
    > >> >> >
    > >> >> >> "Bert" <Bert@newsgroup> wrote in message
    > >> >> >> news:7B3AC2DF-91AF-405D-A33A-4E46D8278044@newsgroup
    > >> >> >> > Hi. I have made a logon.cmd file and put it in the Logon window
    > >> >> >> > in
    > >> >> >> > GPO.
    > >> >> >> > When
    > >> >> >> > I manually run it, it adds the login information of the server. I
    > >> >> >> > can
    > >> >> >> > browse
    > >> >> >> > to the logon.log file from clients and even run a command from
    > >> >> >> > the
    > >> >> >> > command
    > >> >> >> > prompt:
    > >> >> >> >
    > >> >> >> > echo "testing1" >> \\server\logons\logon.log and that works where
    > >> >> >> > server =
    > >> >> >> > server name and logons is the share.
    > >> >> >> >
    > >> >> >> > It seems the only thing that isn't happening is when a user logs
    > >> >> >> > on,
    > >> >> >> > it
    > >> >> >> > isn't running the logon.cmd file in Group Policy.
    > >> >> >> >
    > >> >> >> > Any suggestions?
    > >> >> >>
    > >> >> >> When you say you put the file in the logon window in GPO, do you
    > >> >> >> mean
    > >> >> >> that
    > >> >> >> you physically copied it into the physical location of the GPO
    > >> >> >> after
    > >> >> >> you
    > >> >> >> clicked on the Browse button? When you click on browse, it first
    > >> >> >> puts
    > >> >> >> you
    > >> >> >> into the GPO's location in Sysvol.
    > >> >> >>
    > >> >> >> Normally an easy way to get a file into where logon scripts belong
    > >> >> >> in
    > >> >> >> a
    > >> >> >> GPO,
    > >> >> >> is after you click on browse, go to another explorer window, go to
    > >> >> >> the
    > >> >> >> location that your copy of logon.log (was that the name of it? -
    > >> >> >> your
    > >> >> >> UNC
    > >> >> >> example shows logon.log, not logon.cmd) or where logon.cmd exists,
    > >> >> >> right-click and copy it, then go back to the GPO logon file browse
    > >> >> >> window,
    > >> >> >> and paste it in there, then once pasted, select it for your login
    > >> >> >> script.
    > >> >> >>
    > >> >> >> I assume there are no event log errors on the client side or the
    > >> >> >> SBS
    > >> >> >> side,
    > >> >> >> as well as that the client and SBS are only configured to only use
    > >> >> >> the
    > >> >> >> SBS'
    > >> >> >> IP as a DNS address (meaning there is no ISP's DNS, router as a DNS
    > >> >> >> address,
    > >> >> >> or some external DNS server in their IP properties).
    > >> >> >>
    > >> >> >> --
    > >> >> >> Ace
    > >> >> >>
    > >> >> >> This posting is provided "AS-IS" with no warranties or guarantees
    > >> >> >> and
    > >> >> >> confers no rights.
    > >> >> >>
    > >> >> >> Please reply back to the newsgroup or forum for collaboration
    > >> >> >> benefit
    > >> >> >> 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.
    > >> >> >>
    > >> >> >>
    > >> >>
    > >> >>
    > >> >>
    > >>
    > >>
    > >>
    >
    >
    >

      My System SpecsSystem Spec

  11. #10


    Ace Fekay [MCT] Guest

    Re: Logon script not working

    "Bert" <Bert@newsgroup> wrote in message
    news:50A3DB65-8F77-4DB5-B150-0B043EA4A3C7@newsgroup

    I'm not sure about making notifications default. I thought that was the
    default when posting through the Microsoft web-based discussion forums. I
    use a newsreader, so it's a little different.

    You said you found a place to make a GPO. Where was that? What tool did you
    use? Group Policy Management (Start-Administration Tools - Group Policy
    Management)? That tool is also called the GPMC (Group Policy Management
    Console).

    My previous post I was saying to open the GPMC, and screenshot it. Before
    screen capture, expand all the nodes (the plus + signs to see everything).
    You can upload the pic to Microsoft's SkyDrive so we can see it.

    SkyDrive - Windows LiveFree storage on Windows Live.
    With SkyDrive, it's easy to store and share your files and photos with
    almost anyone.
    http://skydrive.live.com/

    Also, maybe if you can provide a step-by-step of exactly what you did with
    the GPO (from creation or altering an existing one), that will help
    determine exactly what you did and where it is.

    Ace



    > Thanks Ace,
    >
    > I have to apologize. I am fairly stupid when it comes to GPO at this
    > point.
    > I did exactly what you said to test it, and it works. I think once I found
    > a
    > place to make GPOs, say if I wanted only three of my employees to be able
    > to
    > do something or have rights. But, I can't find that. So, I think you will
    > need to be more specific, because I am not smart enough in SBS to figure
    > out
    > your question.
    >
    > Can I make Notify me of replies the default?
    >
    > "Ace Fekay [MCT]" wrote:
    >

    >> "Bert" <Bert@newsgroup> wrote in message
    >> news:ABC7C166-9BD0-4C1F-8892-65D226644F4B@newsgroup
    >>
    >> That's good to hear! So we know the script works.
    >>
    >> Now tell us whether you created a new GPO or you altered an existing GPO
    >> for
    >> the logon script.
    >>
    >> If an existing GPO, what is it called?
    >>
    >> If you created a new one, what did you call it, and exactly where is it?
    >> If
    >> you can, take a screenshot of your GPMC, and post it somewhere where we
    >> can
    >> take a peek at it.
    >>
    >> Ace
    >>
    >>

    >> > Sorry, I had to get some sleep. I should have let you know. That works!
    >> >
    >> > The only problem would be if I were running roaming profiles or some
    >> > other
    >> > logon script, where would I put it? Luckily, I stopped using roaming
    >> > profiles, because it caused more problems than it was worth. Plus, I
    >> > can't
    >> > do
    >> > any logoff script.
    >> >
    >> > But, for now, this is very good. Thanks.
    >> >
    >> > "Ace Fekay [MCT]" wrote:
    >> >
    >> >> "Bert" <Bert@newsgroup> wrote in message
    >> >> news:6E93E0EA-0E79-4870-BE0A-40AAF4D86929@newsgroup
    >> >>
    >> >> Before I get into OU structures and linking the GPO, if you copy the
    >> >> file
    >> >> to
    >> >> the NETLOGON folder (C:\WINDOWS\SYSVOL\sysvol\domain.com\scripts), and
    >> >> specify the file name in a test user's AD properties (profile tab,
    >> >> logon
    >> >> script section), does it run when the test user logs on?
    >> >>
    >> >> Ace
    >> >>
    >> >> > My path for where the logon.cmd file is:
    >> >> >
    >> >> > C:\WINDOWS\SYSVOL\sysvol\domain.com\Policies\{BD0979BF-E009-4AE4-9BFC-5CC5D991FAB1}\User\Scripts\Logon
    >> >> >
    >> >> > Inside the logon.cmd file is:
    >> >> >
    >> >> > echo logon %username% %computername% %date% %time% >>
    >> >> > \\server\logons\logon.log
    >> >> >
    >> >> > Again, when I type this at a command prompt from a client (echo
    >> >> > "testing1"
    >> >> >>> \\server\logons\logon.log) without the parentheses, it works.
    >> >> >
    >> >> > Also, running the logon.cmd does show the logon for the server. So,
    >> >> > it
    >> >> > seems
    >> >> > everything is set up correctly except a user logon is not triggering
    >> >> > the
    >> >> > batch file.
    >> >> >
    >> >> > Which brings me to your question: Where did you link the GPO to, in
    >> >> > the
    >> >> > OU
    >> >> > where the users exist?
    >> >> >
    >> >> > I think this is what I may have left out. I didn't link anything. I
    >> >> > am
    >> >> > not
    >> >> > sure where the organizational unit is or if I needed to make a new
    >> >> > one.
    >> >> >
    >> >> > Thanks.
    >> >> >
    >> >> >
    >> >> >
    >> >> >
    >> >> >
    >> >> >
    >> >> > "Ace Fekay [MCT]" wrote:
    >> >> >
    >> >> >> "Bert" <Bert@newsgroup> wrote in message
    >> >> >> newsAFAA871-7464-4279-B054-15345ACCB8C3@newsgroup
    >> >> >>
    >> >> >> Ok, I see what you mean about the log. Thanks for clarifying that.
    >> >> >>
    >> >> >> It appear that you pasted it in the right spot. I assume where you
    >> >> >> pasted
    >> >> >> the logon.cmd file, it was in the following path (note: this is an
    >> >> >> example
    >> >> >> and your GUID would be different):
    >> >> >>
    >> >> >> C:\WINDOWS\SYSVOL\sysvol\domain.com\Policies\{BD0979BF-E009-4AE4-9BFC-5CC5D991FAB1}\User\Scripts\Logon
    >> >> >>
    >> >> >> Where did you link the GPO to, in the OU where the users exist?
    >> >> >>
    >> >> >> Can you post what's in the logon.cmd file, please?
    >> >> >>
    >> >> >> Thanks,
    >> >> >> Ace
    >> >> >>
    >> >> >>
    >> >> >>
    >> >> >> > Thanks for the help:
    >> >> >> >
    >> >> >> > One thing I read stated an easy way to put the .cmd file in GPO
    >> >> >> > was
    >> >> >> > to
    >> >> >> > open
    >> >> >> > the Show Files and paste it there. I did this, and I should say
    >> >> >> > it
    >> >> >> > is
    >> >> >> > in
    >> >> >> > there and when I click on Add and Browse, it is also there. I
    >> >> >> > wasn't
    >> >> >> > sure
    >> >> >> > where to keep the .cmd file and I figured it was actually
    >> >> >> > physically
    >> >> >> > located
    >> >> >> > in the GPO window, but maybe it isn't. At this time, it is in the
    >> >> >> > same
    >> >> >> > folder
    >> >> >> > as the logon.log.
    >> >> >> >
    >> >> >> > This website shows that the actual log file should be located at
    >> >> >> >
    >> >> >> > \\dc1\share where dc1 for me is server and share is logons
    >> >> >> >
    >> >> >> > http://msmvps.com/blogs/richardwu/ar...gon-event.aspx
    >> >> >> >
    >> >> >> > "Ace Fekay [MCT]" wrote:
    >> >> >> >
    >> >> >> >> "Bert" <Bert@newsgroup> wrote in message
    >> >> >> >> news:7B3AC2DF-91AF-405D-A33A-4E46D8278044@newsgroup
    >> >> >> >> > Hi. I have made a logon.cmd file and put it in the Logon
    >> >> >> >> > window
    >> >> >> >> > in
    >> >> >> >> > GPO.
    >> >> >> >> > When
    >> >> >> >> > I manually run it, it adds the login information of the
    >> >> >> >> > server. I
    >> >> >> >> > can
    >> >> >> >> > browse
    >> >> >> >> > to the logon.log file from clients and even run a command from
    >> >> >> >> > the
    >> >> >> >> > command
    >> >> >> >> > prompt:
    >> >> >> >> >
    >> >> >> >> > echo "testing1" >> \\server\logons\logon.log and that works
    >> >> >> >> > where
    >> >> >> >> > server =
    >> >> >> >> > server name and logons is the share.
    >> >> >> >> >
    >> >> >> >> > It seems the only thing that isn't happening is when a user
    >> >> >> >> > logs
    >> >> >> >> > on,
    >> >> >> >> > it
    >> >> >> >> > isn't running the logon.cmd file in Group Policy.
    >> >> >> >> >
    >> >> >> >> > Any suggestions?
    >> >> >> >>
    >> >> >> >> When you say you put the file in the logon window in GPO, do you
    >> >> >> >> mean
    >> >> >> >> that
    >> >> >> >> you physically copied it into the physical location of the GPO
    >> >> >> >> after
    >> >> >> >> you
    >> >> >> >> clicked on the Browse button? When you click on browse, it first
    >> >> >> >> puts
    >> >> >> >> you
    >> >> >> >> into the GPO's location in Sysvol.
    >> >> >> >>
    >> >> >> >> Normally an easy way to get a file into where logon scripts
    >> >> >> >> belong
    >> >> >> >> in
    >> >> >> >> a
    >> >> >> >> GPO,
    >> >> >> >> is after you click on browse, go to another explorer window, go
    >> >> >> >> to
    >> >> >> >> the
    >> >> >> >> location that your copy of logon.log (was that the name of it? -
    >> >> >> >> your
    >> >> >> >> UNC
    >> >> >> >> example shows logon.log, not logon.cmd) or where logon.cmd
    >> >> >> >> exists,
    >> >> >> >> right-click and copy it, then go back to the GPO logon file
    >> >> >> >> browse
    >> >> >> >> window,
    >> >> >> >> and paste it in there, then once pasted, select it for your
    >> >> >> >> login
    >> >> >> >> script.
    >> >> >> >>
    >> >> >> >> I assume there are no event log errors on the client side or the
    >> >> >> >> SBS
    >> >> >> >> side,
    >> >> >> >> as well as that the client and SBS are only configured to only
    >> >> >> >> use
    >> >> >> >> the
    >> >> >> >> SBS'
    >> >> >> >> IP as a DNS address (meaning there is no ISP's DNS, router as a
    >> >> >> >> DNS
    >> >> >> >> address,
    >> >> >> >> or some external DNS server in their IP properties).
    >> >> >> >>
    >> >> >> >> --
    >> >> >> >> Ace
    >> >> >> >>
    >> >> >> >> This posting is provided "AS-IS" with no warranties or
    >> >> >> >> guarantees
    >> >> >> >> and
    >> >> >> >> confers no rights.
    >> >> >> >>
    >> >> >> >> Please reply back to the newsgroup or forum for collaboration
    >> >> >> >> benefit
    >> >> >> >> 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.
    >> >> >> >>
    >> >> >> >>
    >> >> >>
    >> >> >>
    >> >> >>
    >> >>
    >> >>
    >> >>
    >>
    >>
    >>


      My System SpecsSystem Spec


Logon script not working
Similar Threads
Thread Forum
Logon script VB Script
Logon script - function array and select case not working VB Script
Lost my logon password fingernprint logon still working Vista account administration
Logon Script Causing Laptops To Hang - Problems in script? VB Script
Logon Script VB Script