Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: 12 Jul 2005 18:52:26 -0700,    group: microsoft.public.platformsdk.adsi        back       


Modify the Startup environment of the user   
I use WTSSetUserConfig with WTSUserConfigInitialProgram to set Terminal
Services Startup environment,like this:
/////////////////////////////////////////////////
WTSSetUserConfig(
		szServerName,
		lpszUserName,
		WTSUserConfigInitialProgram,
		"c:\\test.exe",
		_tcslen("c:\\test.exe"));
/////////////////////////////////////////////////
But when I set it, the user's environment remain use the standard
shell, explorer.exe. the Startup environment of the user still be
disabled.
I want to know how to make it enabled.
Thanks.
date: 12 Jul 2005 18:52:26 -0700   author:   xinshine

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us