Solved

Windows 7 Logon script not working

Posted on 2011-09-22
10
379 Views
Last Modified: 2012-08-13
We are moving our network over to Windows 7 64 bit. The issue that we are having is that when we logon to the pc the AD logon scripts are not running. We can run them manually all day long. Also if after rebooting the machine and waiting awhile it will run fine. The issue that we seem to think it is, is that everytime we first logon the NIC goes into Identyfying network. Due to this it has no internet access and thus no network access to run the logon scripts. After about 30 seconds to a minute it identifies that nework and we have internet access and can manually launch the logon script. We would like to have these scripts run via AD and not GPO.. Any ideas would be greatly appreciated. Thanks.
0
Comment
Question by:tomtom98
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
  • +1
10 Comments
 

Expert Comment

by:win7expert
ID: 36582101
Do you use a DHCP Server or static IP-Adresses?
0
 

Author Comment

by:tomtom98
ID: 36582157
DHCP
0
 
LVL 55

Accepted Solution

by:
McKnife earned 500 total points
ID: 36582330
Hi.
Use this policy: http://technet.microsoft.com/en-us/library/cc780527(WS.10).aspx (same for seven) and activate it, do a gpupdate /force at the client (from an elevated command prompt) and restart for a test.
0
Is Your DevOps Pipeline Leaking?

Is your CI/CD pipeline a hodge-podge of randomly connected tools? You’ve likely got a tool to fix one problem & then a different tool to fix another, resulting in a cluster of tools with overlapping functionality. Learn how to optimize your pipeline with Gartner's recommendations

 

Expert Comment

by:win7expert
ID: 36582344
Do you use an own DNS Server (within the Active Directory) or a DNS Server from ISP?
0
 

Author Comment

by:tomtom98
ID: 36582484
We have our own internal DNS servers.
0
 

Author Comment

by:tomtom98
ID: 36582861
unfortunatley working with the GPO is not an option right now as it is above our heads...any other ideas would be great till i can convience the higher ups to make this GPO change.
0
 
LVL 10

Expert Comment

by:Jim-R
ID: 36583164
I had a similar issue, except it was a program running at start up.  Sometimes the timing was OK and it worked, but most of the time I had your situation.  Run it any time all day long and it started fine.  Delay logging in until HDD activity slowed down and it worked.

I simply used Task Scheduler to run the program and used the "Delay" feature set at 30 seconds to launch it and it's worked fine ever since.  This app also had that annoying UAC pop up, so checking off the "Run with highest privileges" took care of that little annoyance as well.
0
 
LVL 10

Expert Comment

by:Jim-R
ID: 36583173
Forgot to mention using the "when user logs in" as the trigger for it, but you would have probably figured that out anyway because that is where you set the delay time.
0
 
LVL 55

Expert Comment

by:McKnife
ID: 36583210
You don't need to modify domain GPOs. Simply test it with a local GPO ->gpedit.msc This will do it as long as that policy is set to "not configured" at the domain GPOs. Change the local policy, do a gpupdate /force followed by rsop.msc to see if the new setting is active and reboot to start testing.
0
 

Expert Comment

by:win7expert
ID: 36584986
But when you do this you have to change it on every machine manually.

You can try to deactivate your internal Network Adapter and reactivate it. Then it should ask you if you use a "Home", "Business" or "Public" Network. If you set this to Business Network, it shouldn't identifies the nework on every start.

 
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

A hard and fast method for reducing Active Directory Administrators members.
Recovering from what the press called "the largest-ever cyber-attack", IT departments worldwide are discussing ways to defend against this in the future. In this process, many people are looking for immediate actions while, instead, they need to tho…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

705 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