tbal wrote:
Personally we aren't using this I have setup a scheduled task instead because VPN won't be connected when they logon.
But I would use %logonserver% instead of main-dc01 as it goes towards the DC you login to.
I would check event viewer for any errors, do you have any other logon scripts running? Does the computers have connection to the DC when logging in?
Check gpresult /r as admin to see so the GPO is applied.
What happens if you run the vb script manually?
But I would use %logonserver% instead of main-dc01 as it goes towards the DC you login to.
--->> Il try this. But the script runs perfectly if run manually
I would check event viewer for any errors, do you have any other logon scripts running? Does the computers have connection to the DC when logging in?
--->> No erros from event viewer from our DC, it is replicating as well. Yes we have other Log-In scripts running, but it is under another GPO Object. Yes, the machine has connection to the DC when logging in as it is wired connected, but some machines are using DIrect Access VPN.
Check gpresult /r as admin to see so the GPO is applied.
---->> GPO not being applied, it's not in the list, not even on the rejected list. Nothing happens, Tested with another GPO and it is applying but not sure why this GPO doesnt.
What happens if you run the vb script manually?
--->> As per my post, it works fine if run manually. It is reporting back to server