Syntax error with net user

Gnidjazoun Posted messages 28 Status Member -  
Gnidjazoun Posted messages 28 Status Member -
Hello

I have a syntax problem with the net user command... I've tried all possibilities but with no results. I reversed selfprimaire and STROSAIRE95, added spaces before and after...
When opening Windows, the session name is: STROSAIRE95\selfprimaire and then password

Here is my idea
net user selfprimaire 1234 \STROSAIRE95 with a space between the 4 and the backslash

Thank you for enlightening me on my mistake

4 answers

  1. _Ritchi_ Posted messages 21130 Registration date   Status Contributor Last intervention   6 135
     
    0
    1. Gnidjazoun Posted messages 28 Status Member
       
      I saw it, but it didn't help me... In fact, my problem might be the order between selfprimaire and STROSAIRE95
      0
    2. Gnidjazoun Posted messages 28 Status Member
       
      Moreover, I had a hell of a time sending the image from the PC... well, that's done.
      0
  2. _Ritchi_ Posted messages 21130 Registration date   Status Contributor Last intervention   6 135
     
    Hello,

    Try this (the difference is the use of / instead of \ that you used previously):
    net user selfprimaire 1234 /STROSAIRE95

    Ritchi
    0
  3. Gnidjazoun Posted messages 28 Status Member
     
    Hello
    I have already tested it this way too

    The option /STROSAIRE95 is unknown
    and here I am being told that the command syntax is:......
    You will get additional help by entering NET HELPMSG 3506 which does not bring me anything more
    0
  4. _Ritchi_ Posted messages 21130 Registration date   Status Contributor Last intervention   6 135
     
    Hello,

    If "strosaire95" is your domain name, then try this:
    net user selfprimaire 1234 /DOMAIN


    Ritchi
    0
    1. Gnidjazoun Posted messages 28 Status Member
       
      I made a test
      Here is the response

      The request will be processed on the domain controller of the domain strosaire95.org
      The system error 1355 occurred
      The specified domain does not exist or could not be contacted
      0
    2. _Ritchi_ Posted messages 21130 Registration date   Status Contributor Last intervention   6 135
       
      I believe it's clear: you are asking to do things on an account belonging to a domain that you do not have access to from the current location of the computer.
      You need to connect your computer to an access point for this domain.
      0
    3. Gnidjazoun Posted messages 28 Status Member
       
      Okay, I'm lost here...
      What to do...?
      0
    4. Gnidjazoun Posted messages 28 Status Member
       
      When I run net user, it shows Administrator, Guest, and User
      When I want to switch users, I have either STROSAIRES95/selprimaire or another user
      I think I managed to create an administrator account, but I can't log into it.
      0
    5. _Ritchi_ Posted messages 21130 Registration date   Status Contributor Last intervention   6 135
       
      Let's take things in order:
      - Is it your personal computer or that of the St-Rosaire school?
      - If it's yours, why do you need to run this command? Is it on the recommendation of the person managing the IT?
      - If it's the St-Rosaire school’s, I believe you need to be on the school premises to be on the IT network managing the strosaire domain.
      - What is your goal in wanting to run this command?
      0