D
D
Danil2015-12-15 13:21:56
Windows Server
Danil, 2015-12-15 13:21:56

How can I change the path to the user's default folders with a command?

I create a user through the console:
net user test 123 /add
His folders are in C:\Users, but I need them to be in D:\Users. Tell me how to do this (via the console)?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey San, 2015-12-15
@admusers

something like this
NET USER tester /add /comment:"Example Account for User"
/expires:never
/homedir:\\zippy\%username%$
/profilepath:\\zippy\profile

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question