Solved

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

Posted on 2006-06-12
4
567 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

820 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