Solved

Winndows XP Netware script

Posted on 2008-10-01
3
311 Views
Last Modified: 2011-10-19
I am trying to run 3 script .bat files from a Windows XP box, which is shared on the network. I want these scripts to run in a Novell login for all users. These scripts will: remove Symantec AV, remove the remove password from it and install a new anti-virus program.  
Script names are \\Renplace\vexira\savrem, \\Renplace\vexira\rm.reg (registry file to remove SAV remove password), and \\Renplace\vexira\vexprof.

I have tried  @, #, include before the \\server\file\bat. Errors I am getting are: Could not execute the external program, Could not interpret the line, etc.

It did run once with the include, where it uninstalled SAV & installed the other AV, but the Novell Results screen & the DOS screen would not close. After a reboot, could not get these to run again.

I am using the Wins XP box as the AV controller. Updates, admin use, etc. Not a expert in this part. Any helps or suggestions. Thanks.
0
Comment
Question by:mbowie0001
3 Comments
 
LVL 5

Accepted Solution

by:
thechaosrealm earned 125 total points
ID: 22614604
Make sure that you're referencing network names and not "D:\Installs\Symantec" or whatever, because computers can't see the server's hard drive like that, it must be shared and referenced like "\\servername\sharename\file". Also, if the screen won't close, it could be that it's still running. Put the phrase "exit" at the end and see if it closes after that.

It might help to see one of your .BAT files so we can troubleshoot with you further.
0
 

Author Comment

by:mbowie0001
ID: 22616193
network name is \\renplace\vexira\savrem, \\renplace\vexira\re.reg and \\renplace\vexira\vexprof.
All on seperate lines in the login script.
expexchange-reply10108.doc
0
 
LVL 3

Assisted Solution

by:acerimmer10
acerimmer10 earned 125 total points
ID: 22827446
I found that if you want to run dos scripts in the login script that often the best way is, the last command in the login script should be exit and after that you run your batch file in inverteded commas
i.e. EXIT "script.bat"
You could then make a batch file with with above scripts that you want to run.
 
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

What does UTC stand for?  “Coordinated Universal Time” – Think of this as the true time on Planet Earth that never changes with the exception of minor leap seconds here and there to account for the changes in the planet's rotation.   What does th…
Fine Tune your automatic Updates for Ubuntu / Debian
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

911 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

20 Experts available now in Live!

Get 1:1 Help Now