Jump to content

How to run control center compöonents?


joew
 Share

Recommended Posts

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

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

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 :)
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...