Solved

Windows XP login Script not working

Posted on 2011-02-18
7
344 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
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

cPanel is a Unix based web hosting control panel that provides a graphical interface and automation tools designed to simplify the process of hosting a web site. cPanel utilizes a 3 tier structure that provides functionality for administrators, rese…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
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 tutorial demonstrates a quick way of adding group price to multiple Magento products.

939 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

7 Experts available now in Live!

Get 1:1 Help Now