Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 583
  • Last Modified:

Windows 2003 Server - Logon script doesn't run on logon (vbscript)

I have a few vbscripts I am trying to execute on logon (applied through a GPO on an OU that the computer object is placed into). I have followed the method described in various places: edit the GPO > User Configuration > Windows Settings > Scripts > Logon > Click "Show Files..." > paste the script into the folder that opens > click "Add..." to add the script just pasted.

The problem is that the script doesn't run on logon. If I find the file and execute it manually, it does exactly what I want. The GPO that this is applied to is a test GPO with all default setting with the exception of the logon script. I have forced an update of the policy through gpupdate, but cannot get it to work. Am I missing something?
0
brainbolt
Asked:
brainbolt
  • 2
2 Solutions
 
GCWPITSolutionsCommented:
Is the user account that you are logging on with, in the same OU or does it exist in an OU with its own group policy settings?

The login scripts are run when the user portion of the policy is applied during logon,  have you tried creting a policy that applys to the users rather than the computers?

0
 
brainboltAuthor Commented:
The user (and all users) reside outside of this OU. I want the logon scripts (and other settings of the GPO) to apply to this computer only. It is a Terminal Server and needs specific unique settings that I don't want applied to users/computers while they are on to other machines.
0
 
Jejin JosephCommented:
Try running Resultant Set of Policy on the Computer Object either from the Same computer from the domain controller using GPMC. It should exactly tell you if the policy is applying on the computer or not.
0
 
brainboltAuthor Commented:
Nevermind. I neglected to enable the "User Group Policy loopback processing mode" in the GPO. Thanks for the help.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now