Solved

Windows XP login Script not working

Posted on 2011-02-18
7
343 Views
Last Modified: 2012-06-22
I have a machine that is connected to the network but I have a basic .bat file running as a login script and it is not working.  How can I troubleshoot this?  Any idea what the problem could be?
0
Comment
Question by:jamiebehl
  • 4
  • 2
7 Comments
 
LVL 6

Expert Comment

by:LHT_ST
ID: 34926486
manually run the script on the machine, see if it works then.

check to see if its the whole script or just part of it.
0
 

Author Comment

by:jamiebehl
ID: 34926687
I will be heading over there in 6 hours to test it.  I just wanted a few ideas just in case.   I was thinking it could be folder permissions or corrupt computer account on the domain.  
0
 
LVL 5

Expert Comment

by:NotVeryFat
ID: 34927030
As LHT_ST suggested, try running on the machine, but also try adding 'Pause' at the end of the script and turning echoing on before running, so you should see where it fails (if it runs at all).
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

Author Comment

by:jamiebehl
ID: 34927055
So what if it runs fine if I manually run the script?  What could be a cause of it not starting in the first place?
0
 
LVL 5

Expert Comment

by:NotVeryFat
ID: 34927187
What tells the batch file to run? Is it the logon script defined through Active Directory?

If so, I'd again agree that it could be a permission issue. If that's the case, then this should be apparent by reviewing Event Viewer on either the PC, or the server where the logon script is stored. Let us know how it goes when you're on the PC in question.
0
 

Accepted Solution

by:
jamiebehl earned 0 total points
ID: 34957406
The computer had an AVG Firewall configured.  I modified the configuration and the scripts were able to run.
0
 

Author Closing Comment

by:jamiebehl
ID: 34990894
I determined the firewall was configured to block certain ip addresses on the internal network.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Recently, an awarded photographer, Selina De Maeyer (http://www.selinademaeyer.com/), completed a photo shoot of a beautiful event (http://www.sintjacobantwerpen.be/verslag-en-fotoreportage-van-de-sacramentsprocessie-door-antwerpen#thumbnails) in An…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup". After a while, you have entered a loop for Auto repair which does not fix anything and you will be in a  panic as all your work w…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

760 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

21 Experts available now in Live!

Get 1:1 Help Now