Sign in to follow this  
Followers 0
joew

How to run control center compöonents?

6 posts in this topic

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?

Share this post


Link to post
Share on other sites



...Any hints how to lounch control center components from autoit?

Run("control nusrmgr.cpl")

[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 :)

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0