pampatipraveen
October 31st, 2002, 07:47 AM
Hi,
I have created an application in vb.net.
This application creates One new windows user account and adds to administrator group and it will not be shown in Login screen when user boots up system. THis is done by using ADSI in vb.net. My application adds some scheduled tasks to the windows scheduler to run task under my application created account. Now my problem is when I create user it is not creating any home directory under c:\documentsettings but when any task runs, which is set to run under the application created user account, then it creates the home directory for this user under c:\documentsetting and writes ntuser.dat file. What Should I do for not creating any home directory for my application created user at any instance? As I know it is possible because lot of other applications like Antivirus softwares are doing the same like creating their own users and run their sheduled tasks under their account, but those application will not create any home directories.
Please help me as soon as possible in this regard.
I am badly need of this option.
Thanking you
Regrds
PraveenP
I have created an application in vb.net.
This application creates One new windows user account and adds to administrator group and it will not be shown in Login screen when user boots up system. THis is done by using ADSI in vb.net. My application adds some scheduled tasks to the windows scheduler to run task under my application created account. Now my problem is when I create user it is not creating any home directory under c:\documentsettings but when any task runs, which is set to run under the application created user account, then it creates the home directory for this user under c:\documentsetting and writes ntuser.dat file. What Should I do for not creating any home directory for my application created user at any instance? As I know it is possible because lot of other applications like Antivirus softwares are doing the same like creating their own users and run their sheduled tasks under their account, but those application will not create any home directories.
Please help me as soon as possible in this regard.
I am badly need of this option.
Thanking you
Regrds
PraveenP