Computing.Net > Forums > Windows NT > changed machine name, DOS Prog, Net Use

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

changed machine name, DOS Prog, Net Use

Reply to Message Icon

Name: el Chulo
Date: June 6, 2001 at 10:06:29 Pacific
Comment:

Ok, here's my whine:

I work for a government agency and we recently were forced to go in and change the machine name for each individual machine (groan). This would affect printers, shared folders, whatever you can think of, it's happened.

Ok, now here's the BIG problem.

There's a couple of archaic DOS-based programs that they use here in the office (no other alternative). To print before, i had a bat file made up that used the Net Use command, something like:

net use lpt1: \\machinename\printer's shared name

I edited that batch file to reflect the machine's new name...but guess what. No Printing!!!! I even deleted the bat file, and re-installed the printer (coincidentally an HP 8100N with a jet direct card), no go.
I rebooted completely, I even turned the machine off. Nothing.
I type in

Net Use lpt1:

and it gives me some info on the port. It is STILL looking for the OLD machinename and the OLD printer! It says the printer's status is disconnected (well, obviously, it was deleted).

I did a search on the entire disk for any *.bat files, nothing else points it to that machine. There is NOTHING even resembling that in the autoexec file!


I am getting fire breathed down upon me here by some higher ups...is there ANYONE that can help me here??!?!?!?!? PLEASE answer pronto !



Sponsored Link
Ads by Google

Response Number 1
Name: robert schut
Date: June 7, 2001 at 02:08:31 Pacific
Reply:

Maybe a stupid one but probably your stress reliefer

FIRST !!!!
net use lpt1 / d ( to delete the old connection !!)

THAN !!!
net use lpt1 \\newserver\newprintername



0
Reply to Message Icon

Related Posts

See More


disconnect drive through ... Windows 2000 pro running ...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows NT Forum Home


Sponsored links

Ads by Google


Results for: changed machine name, DOS Prog, Net Use

Problem with Net Use command www.computing.net/answers/windows-nt/problem-with-net-use-command/22637.html

Net Use Command www.computing.net/answers/windows-nt/net-use-command/15710.html

A good Logon Script www.computing.net/answers/windows-nt/a-good-logon-script/17739.html