Solved

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

Posted on 2006-06-12
4
565 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
ID: 16886144
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
ID: 16886219
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
ID: 16886517
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
ID: 16886801
Nevermind. I neglected to enable the "User Group Policy loopback processing mode" in the GPO. Thanks for the help.
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The HP utility "HP Lights-Out Online Configuration Utility for Windows Server 2003/2008" could be of great use when it comes to remotely configure a HP servers ILO WITHOUT rebooting the server. We would only need to create and run scripts using thi…
This may not be a text book method to resolve VSS backup issues but it seemed to have worked on few of the Windows 2003 servers we had issues while performing a Volume Shadow Copy backup. If you have issues while performing a shadow copy backup usin…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

770 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