This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Create Aministrator Group
Started by
djq
, Mar 22 2005 15:13
2 replies to this topic
djq
djq
Members
10 posts
Posted 22 March 2005 - 15:13
I need to create a administrator User Group with my installation (InstallScript methode) on NT-2000-XP.
Maybe you could use the LogonUser functionality in 10.5? Or maybe this sample helps: "Create and Validate User Accounts" at http://www.installsi...s/en/isp_os.htm
try the following: szCmd="net.exe "; //add a user to your Administrators group szCmdLine="localgroup \"Administrators\" yourusername /add"; LaunchAppAndWait(szCmd,szCmdLine,LAAW_OPTION_HIDE);