joew Posted March 19, 2008 Share Posted March 19, 2008 Hello, After installing a fresh system, I'd like to do some basic configuration. Obviosly, configuration starts in control center. For example, I want to create lots of (unprivileged) accounts: for every family member three accounts: one for surfing, one for gaming, and one for work. This gives a total of 12 accounts. Obviously, I don't want to create them manually. Any hints how to lounch control center components from autoit? Link to comment Share on other sites More sharing options...
herewasplato Posted March 21, 2008 Share Posted March 21, 2008 ...Any hints how to lounch control center components from autoit?Run("control nusrmgr.cpl") [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
joew Posted March 21, 2008 Author Share Posted March 21, 2008 Run("control nusrmgr.cpl") Thanks, this is what I was looking for. Unfortunately, the control panel components don't seem to play well with AutoIt. For example Run ("control sysdm.cpl") WinWaitActive("Systemsteuerung", "") simply hangs, although the dialog "Systemsteuerung" (that's for german version) appears on the screen. Link to comment Share on other sites More sharing options...
BrettF Posted March 21, 2008 Share Posted March 21, 2008 Thanks, this is what I was looking for. Unfortunately, the control panel components don't seem to play well with AutoIt. For example Run ("control sysdm.cpl") WinWaitActive("Systemsteuerung", "") simply hangs, although the dialog "Systemsteuerung" (that's for german version) appears on the screen.Use the PID and get the HWND from it. Someone posted something not too long ago on it on a similar question Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
ResNullius Posted March 21, 2008 Share Posted March 21, 2008 This gives a total of 12 accounts. Obviously, I don't want to create them manually.Why not bypass the control panel and create the accounts through a script directly?See this script by MHz for the basics: http://www.autoitscript.com/forum/index.ph...st&p=175366 Link to comment Share on other sites More sharing options...
herewasplato Posted March 26, 2008 Share Posted March 26, 2008 Why not bypass the control panel and create the accounts through a script directly?See this script by MHz for the basics: http://www.autoitscript.com/forum/index.ph...st&p=175366That would be too easy :-) [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now