Solved

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

Posted on 2006-06-12
4
561 Views
Last Modified: 2011-10-03
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
Comment
Question by:brainbolt
  • 2
4 Comments
 
LVL 1

Assisted Solution

by:GCWPITSolutions
GCWPITSolutions earned 125 total points
Comment Utility
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
 
LVL 2

Author Comment

by:brainbolt
Comment Utility
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
 
LVL 8

Accepted Solution

by:
Jejin Joseph earned 125 total points
Comment Utility
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
 
LVL 2

Author Comment

by:brainbolt
Comment Utility
Nevermind. I neglected to enable the "User Group Policy loopback processing mode" in the GPO. Thanks for the help.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Join & Write a Comment

I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
Learn about cloud computing and its benefits for small business owners.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now