Quantcast
Viewing all articles
Browse latest Browse all 31638

Terminal Service HomeDrive folder is not getting created.

Hi,

We using Windows 2003 and creating  new user on active directory using VBScript. The Terminal Service HomeDrive folder is not getting created through that script but It is getting created by just modifying it( that is just giving an extra space and removing that space and clicking apply for all individual profile).

 we verified all permission , we have access to create folder on that server.  I don't thing it is permission issue, If that was case then why folders are getting created just modifying it.

Please refer my script sample below:   



Set objUser = GetObject("cn=Userx,ou=myOU,dc=mydomain,dc=local")

objUser.TerminalServicesHomeDirectory = \\Server\Share\Usernam
objUser.TerminalServicesHomeDrive ="H:"
objUser.SetInfo

Any Help will be appreciated.

Thanks,
Afroz Hussain


Viewing all articles
Browse latest Browse all 31638

Trending Articles