Re: I'm halfway there



Pegasus (MVP) wrote:

"Ray K" <raykosXXX@xxxxxxxxxxxxx> wrote in message
news:%1_ag.8$bE5.6@xxxxxxxxxxx

Pegasus (MVP) wrote:



3. On the desktop: Create accounts AAAA BBBB.
- Open a Command Prompt.
- Type these commands:
net user AAAA xxxyyy /add
net user BBBB xxxyyy /add
- Close the Command Prompt.

You now have synchronised accounts on your desktop PC.

These are an administrator's shortcuts to create accounts and
set passwords. There are, of course, GUI methods to achieve
the same. Click Start / Help on each machine and type in
the appropriate terms (account, password) to find out how
it's done.

Pegasus,

Your procedure worked perfectly on Laptop 1, an Acer. When I tried it on
Laptop 2, a Toshiba, the net command resulted in the following:
The syntax of this command is:

I then tried:
net user %UserName% toshiba /add
Again, the same "syntax of the command" response.


You cannot have user names surrounded by % characters.
This command would work:

net user Ray toshiba /add



Finally I tried:
net user %UserName% <toshiba> /add
The response was "Access is denied."


You cannot have passwords surrounded by arrow heads.



So now I'm stuck.

Additional questions:

1. How do I change the username on the Toshiba (DJ Ray)to match that on
the Acer (Ray), assuming it's okay on a wireless network to have them
match? I tried changing it through Control Panel/User accounts/Change
the way users log on or off. That changed the name from DJ Ray to simply
Ray, but when I issue the command set username, the old DJ Ray still
appears on the Toshiba.


You would have to do this:
1. Create an account for Ray.
2. Log on under Ray..
3. Reboot, then log on as administrator.
4. Copy the "DJ Ray" profile to the "Ray" profile via the Control Panel

/

System / User Profiles.
When you now log on as "Ray" then you will get much the same
environment as under "DJ Ray".



2. Can both laptops have the same username and password? At my desktop,
if I double-click on My Network Places and then on Computers Near Me,
all three computers have unique names, with the laptops showing the full
model numbers. So even if the usernames and passwords are the same, the
desktop still has a way of distinguishing them.


This is the normal way:
- Identify each machine with an meaningful name. Don't bother with
model numbers etc - they are hard to remember.
- Create and use the same account names/passwords
on each machine.



Thanks for your help and patience.


You're welcome.



Everything is now okay with the Acer. I can swap files all ways from
either the desktop or the Acer.

At the desktop, when I tried net user Ray toshiba /add, I got a message
that an account with that name already exists, try a different user
name. Without trying a different user name, I returned to the Toshiba
and tried connecting to the desktop. Again, I'm prompted for a username
and password, and I don't know what to enter.

If at the desktop I type net user, I get three columns.
1. Administrator (the only entry being Ray)
2. Any Body (no entries)
3. Guest (no entries)

Part of the problem may be that originally my Toshiba username was DJ
Ray; note the space between the J and R. If I try the following command,
I get the syntax error message:

net set DJ Ray toshiba /add

probably because toshiba looks like an extra parameter.

Any suggestions?

Thanks,

Ray




Your reply leaves me confused rather than enlightened. Time
to nail this down. Type these commands from a Command
Prompt on the desktop PC, then paste the contents of c:\test.txt
into your reply.

echo User=%UserName% > c:\test.txt
net user >> c:\test.txt
net user Ray 1>> c:\test.txt 2>>&1
net user "DJ Ray" 1>> c:\test.txt 2>>&1
notepad c:\test.txt


Pegasus,

The name of my desktop computer is Clone.

User=Any Body

User accounts for \\CLONE


-------------------------------------------------------------------------------
Administrator Any Body Guest
Ray
The command completed successfully.


User name Ray
Full Name
Comment
User's comment
Country code 000 (System Default)
Account active Yes
Account expires Never

Password last set 5/18/2006 8:17 AM
Password expires Never
Password changeable 5/18/2006 8:17 AM
Password required Yes
User may change password Yes

Workstations allowed All
Logon script
User profile
Home directory
Last logon 5/18/2006 8:18 AM

Logon hours allowed All

Local Group Memberships *Users
Global Group memberships *None
The command completed successfully.


The user name could not be found.

Thanks, again.

Ray



More help is available by typing NET HELPMSG 2221.


.



Relevant Pages

  • Re: Im halfway there
    ... Close the Command Prompt. ... Laptop 2, a Toshiba, the net command resulted in the following: ... the Acer (Ray), assuming it's okay on a wireless network to have them ...
    (microsoft.public.win2000.networking)
  • Re: Im halfway there
    ... Close the Command Prompt. ... net user %UserName% toshiba /add ... That changed the name from DJ Ray to ...
    (microsoft.public.win2000.networking)
  • Re: Im halfway there
    ... Close the Command Prompt. ... the Acer (Ray), assuming it's okay on a wireless network to have them ... Create an account for Ray. ...
    (microsoft.public.win2000.networking)
  • Re: Im halfway there
    ... Close the Command Prompt. ... That changed the name from DJ Ray to ... Create an account for Ray. ...
    (microsoft.public.win2000.networking)
  • Re: Sharing and Security on File Share
    ... net user %UserName%>> c:\test.txt ... When I got to the command: ... "Pegasus (MVP)" wrote: ...
    (microsoft.public.windows.file_system)