Net user returns "... completed with one or more errors."

Page 1 of 3 123 LastLast

  1. Posts : 49
    Windows 10 Pro for Workstations x64 version 1803/ Arch Linux
       #1

    Net user returns "... completed with one or more errors."


    I read about the net user command, and wanted to try it. When I entered it in an elevated command prompt, it returned the following. I take it the part about "The command completed with one or more errors." is not normal.

    How can I go about fixing this?

    Thanks

    ____________________________________________________

    C:\WINDOWS\system32>net user

    User accounts for \\

    -------------------------------------------------------------------------------
    Administrator DefaultAccount Guest
    mike_
    The command completed with one or more errors.
      My Computer


  2. Posts : 17,661
    Windows 10 Pro
       #2

    That indicates that one of the user profiles is somewhat damaged. A typical output of simple net user command just lists the present user profiles:

    Net user returns "... completed with one or more errors."-image.png

    Personally I've never got an error when only listing users. What about your personal user profile, does that underscore at the end of your username belong to your username?
      My Computer


  3. Posts : 49
    Windows 10 Pro for Workstations x64 version 1803/ Arch Linux
    Thread Starter
       #3

    Thanks for you reply.

    That makes sense, I assumed that it must indicate a corrupt user profile...

    Yes, when I originally installed Windows 10, I used my email address, which does have an underscore after my first name. In the meantime, I switched to a local account, but I kept the username mike_.

    I have also enabled the default Administrator account. It shows up as available at logon.

    And I haven't noticed any other issues. Everything seems to work, but apparently there is some corruption of one or more user profiles.

    What next steps can I take to try to correct it?
      My Computer


  4. Posts : 17,661
    Windows 10 Pro
       #4

    If everything works, there is no need to "fix" anything.

    You could try one thing: disable the built-in admin account and run net user in an elevated Command Prompt again, to see if the error remains.
      My Computer


  5. Posts : 49
    Windows 10 Pro for Workstations x64 version 1803/ Arch Linux
    Thread Starter
       #5

    I will try disabling the Admin account.

    I agree: why try to "fix" something that isn't broken? At the same time, why does it return "completed with one or more errors"? That is the kind of thing that will bother me, feeling like there is a "skeleton in the closet" somewhere that I just haven't fully discovered yet...

    Thanks for the info.
      My Computer


  6. Posts : 49
    Windows 10 Pro for Workstations x64 version 1803/ Arch Linux
    Thread Starter
       #6

    Unfortunately, disabling the Admin account did not resolve the issue. Strange.

    Let me know if you have any further thoughts. Thanks again.
      My Computer


  7. Posts : 31,471
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #7

    oxonsi said:
    User accounts for \\
    Did delete your computer name from that line for privacy? If not, the error could be there. Your computer's name should appear after the \\
      My Computers


  8. Posts : 49
    Windows 10 Pro for Workstations x64 version 1803/ Arch Linux
    Thread Starter
       #8

    No, as a matter of fact I did not delete my computer name. That probably is at least one of my problems.

    Any idea how I can correct that? Thanks!
      My Computer


  9. Posts : 31,471
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #9

    oxonsi said:
    ... That probably is at least one of my problems.
    Any idea how I can correct that?
    The error message said 'one or more problems'. You may have only the one.

    Try renaming it.
    Settings > System > About
      My Computers


  10. Posts : 49
    Windows 10 Pro for Workstations x64 version 1803/ Arch Linux
    Thread Starter
       #10

    Right, I was getting lazy. Probably should have stated, "that is my problem, or at least one of my problem(s)"... Logic :)

    When I attempt to rename, I receive the message, "The PC name is invalid." no matter what name I choose. And if I enter the current name, it tells me I need to choose a different name.

    It certainly appears there is a problem with my PC's name. Any idea how I might remedy that?
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 18:46.
Find Us




Windows 10 Forums