Windows 7 Forums


Reply
Thread Tools

Script errors running batch file

 
 
CometLinda CometLinda is offline
New Member
Join Date: Jun 2011
Location: Ohio
Posts: 1
Thanked: 0
 
      06-28-2011
We Found the problem for this posting. We have a login script on the desktop model that runs a login script. We will research it to see what is causing the script errors on the printer installs. If anyone has ideas I would still like to hear them on how to improve this install process. We log into Mac OS X servers and do not have a Windows Domain.

I keep getting script errors when running a batch file to install IP printers on Windows 7 Professional. I have a new laptop model, HP probook 6460b, and a new desktop model, Hp 6200 Pro, both with Windows 7 Pro on them. The laptop will run the script just fine but the desktop with the same software installed will not run the batch file. Here is the batch file if anyone has any ideas why this would happen? We ran a similar script in XP pro and had no problems on any type of computer.

C:\Windows\System32\cscript //H:cscript

C:\Windows\system32\Printing_Admin_scripts\en-US\prnport.vbs -a -r IP_10.2.32.208 -h 10.2.32.208 -o raw

cscript.exe C:\Windows\System32\Printing_Admin_scripts\en-US\prndrvr.vbs -a -m "HP Universal Printing PCL 6" -e "Windows 7 X64" -h "c:\\HPUniversal\\" -i "C:\\HPUniversal\\hpcu112u.inf"

cscript.exe c:\windows\system32\Printing_Admin_scripts\en-US\prnmngr.vbs -a -p "SMS lab 142W HP3005" -r "IP_10.2.32.208" -m "HP Universal Printing PCL 6"

Last edited by CometLinda; 06-28-2011 at 07:00 PM.. Reason: Found the problem working on the answer
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Elmers Batch file writing issue #2 Elmer BeFuddled General Discussion 12 10-25-2010 05:53 PM
Script (Batch File) Writing... Elmer BeFuddled General Discussion 13 06-27-2010 11:47 PM
No/Delayed (11 min) Video Singal after POST until Windows Login screen Carl Urban General Discussion 4 03-31-2010 02:35 PM
Running a batch file on shutdown win7 64 bit masplin General Discussion 0 03-21-2010 01:03 PM
Windows 7 install keeps rebooting Stephen47 Installation, Setup and Updates 32 05-24-2009 06:26 PM


All times are GMT +1. The time now is 07:06 AM.
W7Forums is an independent website and is not affiliated with Microsoft Corporation.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33