TerminalServicesProfilePath
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
TerminalServicesProfilePath

 
Post new topic   Reply to topic    Windows Server Forum Index -> Programming
Author Message
patrick
Guest





Posted: Thu Jan 06, 2005 4:49 pm    Post subject: TerminalServicesProfilePath Reply with quote

I have a script to create users account in Active Directory.
It's work very well before i add some attributes modifications for TSE like:
- TerminalServicesProfilePath
- TerminalServicesHomeDirectory
- TerminalServicesHomeDrives
- AllowLogon

I have workstation in WindowsXP and workstation in Windows2000.
And i receveid this error message " Eventid 438 : Object doesn't support
method or properties".
The result is that the script create the user without TSE attributes.

This error does not happen for all the worksation but for a few of them.
I think that is a parameter or DLL or OCX not set in some worksation but i
don't where.

Any idea ?

--
patrick
Back to top
Torgeir Bakken (MVP)
Guest





Posted: Thu Jan 06, 2005 10:46 pm    Post subject: Re: TerminalServicesProfilePath Reply with quote

patrick wrote:

Quote:
I have a script to create users account in Active Directory.
It's work very well before i add some attributes modifications for TSE like:
- TerminalServicesProfilePath
- TerminalServicesHomeDirectory
- TerminalServicesHomeDrives
- AllowLogon

I have workstation in WindowsXP and workstation in Windows2000.
And i receveid this error message " Eventid 438 : Object doesn't support
method or properties".
The result is that the script create the user without TSE attributes.

This error does not happen for all the worksation but for a few of them.
I think that is a parameter or DLL or OCX not set in some worksation but i
don't where.

Any idea ?
Hi


With only builtin components, TerminalServicesProfilePath and the other
terminal settings are only available if you run your script from a
Windows 2003 server.

If you need to run your script on a Win2k/WinXP computer:

A 3rd party free DLL that can help you here I think is EOLWTSCOM.dll:

http://groups.google.com/groups?selm=3E4A9464.DD8B201B%40hydro.com



--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scriptcenter/default.mspx
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Programming All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB