Jump to content


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.
Photo

Create Aministrator Group


2 replies to this topic

djq

djq
  • Members
  • 10 posts

Posted 22 March 2005 - 15:13

huh.gif I need to create a administrator User Group with my installation (InstallScript methode) on NT-2000-XP.

Thank you... dry.gif

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 22 March 2005 - 18:30

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

ifthenelse

ifthenelse
  • Members
  • 10 posts

Posted 19 April 2005 - 05:19

try the following:
szCmd="net.exe ";
//add a user to your Administrators group
szCmdLine="localgroup \"Administrators\" yourusername /add";
LaunchAppAndWait(szCmd,szCmdLine,LAAW_OPTION_HIDE);

Edited by ifthenelse, 19 April 2005 - 05:23.