Torgeir Bakken (MVP)
Guest
|
Posted:
Thu Jan 06, 2005 10:46 pm Post subject:
Re: TerminalServicesProfilePath |
|
|
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 |
|