How to create NT user home drive

How to create NT user home drive

I set the usri3_home_dir and home_dir_drive when I create an NT account using VB code. I also need to create the home directory on a specified NT server. Any ideas?

Assuming you have rights to do so on the server in question, you can simply:

 MkDir "\lj_serverc$users"   MkDir "\lj_serverc$usersabc"This will create a directory "abc" under the C:users directory on the server.  After successfully creating the directory, then you can set the usri3_home_dir to this directory you just created.


About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist