- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Microsoft
- >
- net use and system error 1231
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2004 04:40 PM
тАО07-03-2004 04:40 PM
"net use lpt1 \\print_server\itprinter /persistent:yes"
into a batch file so when I run a DOS program LPT1 gets mapped to my printer. However, I keep getting:
"System error 1231 has occurred. The network location cannot be reached."
when I do this. When I try it with Start -> Run it works great. Is there some way I can get LPT1 mapped to my printer when the DOS window runs, or automatically whenever I login? I will always need it mapped this way.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2004 07:45 PM
тАО07-03-2004 07:45 PM
Re: net use and system error 1231
Control Panel, Printers, righ click on "itprinter", property, detail tab, connect printer to port, choice lpt1 port, set \\print_server\itprinter and select reconnect at startup.
Because I haven't english version, some term or word may be slightly different.
Antonio Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-04-2004 06:17 AM
тАО07-04-2004 06:17 AM
Re: net use and system error 1231
Thanks for the response, but I can't duplicate your solution. First, I should mention I'm running XP Pro, so that could make a difference. Next, I can't select the printer share name "itprinter", only the printer itself, which is an OfficeJet 6110. When I right click Properties, the only tabs available are General, Sharing, Ports, Advanced, Color Management, and About. I've tried looking in all of them for "Reconnect at Startup" and I don't see that option anywhere. Thanks for any and all help you can provide, since if I can't get this to work reliably I can't keep this printer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-04-2004 11:57 AM
тАО07-04-2004 11:57 AM
Re: net use and system error 1231
How to Assign a Logon Script to a Profile for a Local User:
http://support.microsoft.com/default.aspx?scid=kb;en-us;315245&Product=winxp
Another way, assuming your PC is a stand alone PC, meaning is not connected to any server:
Start>run>type gpedit.msc>Computer Configuration>Administrative Templates>System>Logon>Set run these programs at computer logon to enabled and add the batch file.
As far as the error 1231, check your event log and post the Event ID over here along with the source name.
Hope this help and please consider assigning points.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-04-2004 12:42 PM
тАО07-04-2004 12:42 PM
Re: net use and system error 1231
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-04-2004 06:13 PM
тАО07-04-2004 06:13 PM
Re: net use and system error 1231
If it works only from Start>Run then it's probably a PATH issue.
Go to Start>Run>type cmd>then type path and hit Enter key.
Specify the full path in the batch file before the net command.
See if this will work!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-04-2004 07:08 PM
тАО07-04-2004 07:08 PM
Re: net use and system error 1231
When you open property you see "General, Sharing, Ports, Advanced, Color Management, and About". Select Ports (as I posted I have no got english version); now you can see a button like "connect", click on it; now you can see a little windows with 3 object: port to select (choice LPT1), remote shared printer (write \\print_server\itprinter) and connect on reboot (select it).
H.T.H.
Antonio Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2004 07:28 AM
тАО07-05-2004 07:28 AM
Re: net use and system error 1231
It's not a PATH issue, since the NET command is in the path and works fine once I've executed it from Start->Run, and always answers up even when I get the error 1231.
Under the Ports tab I have Add, Delete, and Configre Port buttons. I suspect the button you're talking about is the "Congugure Port..." but when I try pushing it I get an error message.
So... I've decided to put my old printer back online (that has an LPT1 port) and give this one to someone else who doesn't need to run these old DOS programs. I've spent hours on this and don't have any more time top give it. If I buy another printer, I'll make sure it has an LPT1 port on it!
Once again, thanks for all the assistance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2007 11:04 AM
тАО01-15-2007 11:04 AM
SolutionFirst, have you ever heard of a hardware component already installed in Windows XP called "Microsoft Loopback Adapter"? That is the answer to all your problems.
If you have not already tried this, please email me or post back here, and I will give you step by step instructions on how to install. After you install this, everything should work properly. Please respond if you haven't done this already.
Thanks,
Kristin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2007 12:15 PM
тАО01-15-2007 12:15 PM
Re: net use and system error 1231
It's been over 2 years ago, and I finally gave up and had to put the old printer back online and move the new one to another location that didn't need to run DOS windows. However, there's no telling how long the old printer will hold out and I'm still running the DOS programs that require this. I've heard of a loopback cable but never tried it out. If you have instructions on how to resolve this I'd still be interested in knowing. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2007 12:33 PM
тАО01-15-2007 12:33 PM
Re: net use and system error 1231
I just about gave up as well, then I finally ran across this and FINALLY got it working..Okay, here are the steps...
1. Go to Control Panel
2. Open Add Hardware
3. Click Next
4. After Scan Finishes, select "Yes, I have already connected the hardware"
5. Click Next
6. Scroll to bottom of list and select "Add a new hardware device", Click Next
7. Select "Install the hardware that I manually select from a list (Advanced), click next
8. Select "Network Adapters", click next
9. Select "Microsoft" for Manufacturer
10. Select "Mircosoft Loopback Adapter" in the Network Adapter List, click next, click next again, and click finish.
Now, the network adapter you just added has is a virtual adapter and can be configured like your regular network card..So...Go back to Network Connections into the Control Panel, and go to the Properties of the new Loopback Adapter. Go into the TCP/IP Settings and configure the adapter with a Static IP Address. I used 192.168.1.1 for the IP and 255.255.255.0 for the Subnet Mask.
Two More Steps....
Share the Printer. I'm sure since you have worked so much with this, that you know exactly how to do this. Just go to the properties of printer you are wanting to use and go the "Sharing" tab and then click on Share Printer, then name the printer something simple so you can remember it when you capture it in DOS.
LAST... Go into DOS, and type the very well remembered command...
NET USE LTP1: \\COMPUTER NAME\PRINTER /PERSISTENT:YES
Hopefully this works for you! This worked the first time I tried it after days of stupid commands that never worked... Please let me know if this helps you..!
Thanks!!
Kristin
kristin.l@verizon.net
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2007 11:08 PM
тАО01-15-2007 11:08 PM
Re: net use and system error 1231
--John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2007 02:02 AM
тАО01-16-2007 02:02 AM
Re: net use and system error 1231
Kristin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2007 10:05 AM
тАО01-16-2007 10:05 AM
Re: net use and system error 1231
When you go to add the printer in Windows, Select local, but don't automatically detect the printer, click on "Next", then on the next screen (towards the bottom) create a new port. Select Standard TCP/IP port, then next. Supply the IP address, change the name (if you don't want it to be the address name) and continue through to finish the port setup. Finish the printer setup, then use the net use command to finish the process.
Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2012 10:26 AM
тАО09-18-2012 10:26 AM
Re: net use and system error 1231
Thanks Kristin.....
The loopback adapter solved the issue. Thanks for posting
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2013 05:18 AM
тАО12-03-2013 05:18 AM
Re: net use and system error 1231
Tks Kristin.....
Loopback adapter worked!!!
Felipe Ferrari