Solved

Windows XP login Script not working

Posted on 2011-02-18
7
345 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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

Sometimes people don't understand why download speed shows differently for Windows than Linux.Specially, this article covers and shows the solution for throughput difference for Windows than a Linux machine. For this, I arranged a test scenario.I…
If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

776 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