Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Windows XP login Script not working

Posted on 2011-02-18
7
Medium Priority
?
350 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
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…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Suggested Courses

810 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