Re: Logon script not working
- From: "Ace Fekay [MCT]" <aceman@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 6 Sep 2009 00:58:19 -0400
"Bert" <Bert@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:DAFAA871-7464-4279-B054-15345ACCB8C3@xxxxxxxxxxxxxxxx
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/archive/2007/05/29/logging-user-logon-event.aspx
"Ace Fekay [MCT]" wrote:
"Bert" <Bert@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:7B3AC2DF-91AF-405D-A33A-4E46D8278044@xxxxxxxxxxxxxxxx
> 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.
.
- References:
- Logon script not working
- From: Bert
- Re: Logon script not working
- From: Ace Fekay [MCT]
- Logon script not working
- Prev by Date: Re: No inbound emails from outside domain
- Next by Date: Re: No inbound emails from outside domain
- Previous by thread: Re: Logon script not working
- Next by thread: Re: Logon script not working
- Index(es):
Relevant Pages
|