Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Typing in net use in dos the following error occurs error 1734 - array bounds invalid

Posted on 2011-02-22
11
6,220 Views
Last Modified: 2012-05-11
Typing in net use in dos the following error occurs error 1734 - array bounds invalid
0
Comment
Question by:knightfrank
  • 6
  • 5
11 Comments
 
LVL 16

Expert Comment

by:sjklein42
ID: 34958147
I wonder if you have a batch file or an executable called "net" that is interfering with the built-in NET command in DOS.

Try directly running the net command using the full path and see if the error goes away:

C:\WINDOWS\system32\net.exe
0
 
LVL 2

Author Comment

by:knightfrank
ID: 34958239
No this did not work see below :


C:\>c:\windows\system32\net.exe
The syntax of this command is:


NET [ ACCOUNTS | COMPUTER | CONFIG | CONTINUE | FILE | GROUP | HELP |
      HELPMSG | LOCALGROUP | NAME | PAUSE | PRINT | SEND | SESSION |
      SHARE | START | STATISTICS | STOP | TIME | USE | USER | VIEW ]


C:\>c:\windows\system32\net.exe net use
The syntax of this command is:


NET USE
[devicename | *] [\\computername\sharename[\volume] [password | *]]
        [/USER:[domainname\]username]
        [/USER:[dotted domain name\]username]
        [/USER:[username@dotted domain name]
        [/SMARTCARD]
        [/SAVECRED]
        [[/DELETE] | [/PERSISTENT:{YES | NO}]]

NET USE {devicename | *} [password | *] /HOME

NET USE [/PERSISTENT:{YES | NO}]



C:\>net use
System error 1734 has occurred.

The array bounds are invalid.
0
 
LVL 2

Author Comment

by:knightfrank
ID: 34958244


C:\>c:\windows\system32\net.exe use
System error 1734 has occurred.

The array bounds are invalid.

0
The New “Normal” in Modern Enterprise Operations

DevOps for the modern enterprise offers many benefits — increased agility, productivity, and more, but digital transformation isn’t easy, especially if you’re not addressing the right issues. Register for the webinar to dive into the “new normal” for enterprise modern ops.

 
LVL 16

Expert Comment

by:sjklein42
ID: 34958402
There is a Microsoft Hotfix for this:

http://support.microsoft.com/?id=2454533

The problem was apparently caused by this update:

KB980802

Uninstalling KB980802 fixed the problem for some people but the Hotfix covers it.

See this discussion:

http://social.answers.microsoft.com/Forums/en-US/vistawu/thread/28bc2814-319e-446d-97b4-fd164c4e4d9a
0
 
LVL 2

Author Comment

by:knightfrank
ID: 35002614
I could not find the hotfix on http://support.microsoft.com/?id=2454533
 and i went through my updates and could not find KB980802 in my updates
0
 
LVL 16

Expert Comment

by:sjklein42
ID: 35002708
Hello again.  I guess "no news is good news" doesn't apply here.  Sorry to hear it.

I have not found any other suggestions regarding this error.  The message often seems connected to Microsoft's Visual Studio.  Do you have Visual Studio on that PC, even if it is not running?

Maybe you should make a "Request for Attention" to see if anyone else has an idea.
0
 
LVL 2

Author Comment

by:knightfrank
ID: 35002753
im using winxp
0
 
LVL 16

Accepted Solution

by:
sjklein42 earned 500 total points
ID: 35002817
Like I said, I don't have the answer, but my thoughts are this:

One of the entries that NET USE is trying to display must be upsetting it.  NET USE shows the list of mapped network drives.  Do you have any mapped network drives?

Open Windows Explorer, and go to Tools/Disconnect Network Drive.  See anything unusual?  If you feel like it, you could disconnect any drives you see there and then test if the NET USE command works when there are no mapped drives.  Of course, after this test, you'll have to set up your mapped drives again, so it might be a pain to try out.  But it may work.
0
 
LVL 2

Author Comment

by:knightfrank
ID: 35003813
awesome you were right. Went through 1 by 1 and a mapped drive was causing the error. Thanks
0
 
LVL 16

Expert Comment

by:sjklein42
ID: 35003884
That's great.  Thanks.
0
 
LVL 2

Author Comment

by:knightfrank
ID: 35003918
happened to be a sharepoint drive also, the only sharepoint drive i had mapped
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

In this guide, I outline 7 key steps to help technology professionals grow their careers. Whether you have been working in technology for 10 years or for 10 days, follow these steps to help you achieve your career goals and pursue your passions.
Email signature management is something that is often overlooked in many organizations or is simply not implemented effectively. Let's take a look at what methods are available for managing this important piece of corporate branding.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

809 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