User Control (Windows)

Automated Tasks designated as AM are created using the Automation Manager.

Add or Remove User From Admin Group (AM)

Script Type: PowerShell

Adds or Removes User from the Administrators Group.

Parameters
Field Note

Example Parameters

Domain

The name of the group’s domain. For example, DC=California,DC=local or California.local

SWITCH101

GroupAction

Enter the action to perform on the Admin Group

ADD or REMOVE

UserName

The common name of the user.

John Doe

Add User to Domain Group (AM)

Script Type: PowerShell

Adds the specified user to the specified Group. Please specify the DN for both user and group name.

Parameters
Field Note Example Parameters
Domain

Specifies the domain name

domain.com

UserDN

The distinguished name of the user

CN=User,OU=Test Accounts,DC=contoso,DC=com

GroupDN

The distinguished name of the group

CN=Administrators,CN=Builtin,DC=contoso,DC=com

Add User to Local Group (AM)

Script Type: PowerShell

Adds the specified user to the computer's Local Group. Please specify the DN for both user and group name.

Parameters
Field Note Example Parameters
Local Group

Specify the target Local Group

Marketing

User Name

Enter the user's name

John Doe

Create AD Group (AM)

Script Type: PowerShell

Creates an Active Directory group.

Parameters
Field Note Example Parameters
sAMAccountName

Security Accounts Manager name of group.

marketing

Domain

The name of the user object Domain. For example, DC=California,DC=local or California.local

Abc.com

OU

The organizational unit of the new group.

OU=Marketing,DC=ABC,DC=com

CN

The common name of the group.

Marketing Department

Create Local User (AM)

Script Type: PowerShell

Create a Local User on the device.

Running this Automated Task creates the Local User on the device. However, they are unable to login until their user group membership is manually assigned to allow the newly created user to login.

Parameters
Field Note Example Parameters
User Name

Name of the new local user

john.doe

User Description

The description of the new user.

Local Admin for Marketing

User Password

Password for the new local user

Password123

Delete AD User (AM)

Script Type: PowerShell

Delete an Active Directory User

Parameters
Field Note Example Parameters
CommonName

The common name of the user

john.doe

sAMAccountName

Security Accounts Manager name of group.

marketing

Distinguished Name

The distinguished name of the user.

CN=John Doe,CN=Users,DC=ABC,DC=com

OU

Organizational Unit container the User belongs to

OU=Marketing,DC=ABC,DC=com

Domain

The name of the domain from which to retrieve the domain controllers. For example, DC=California,DC=local or California.local

abc.com

Disable All Guest Accounts (AM)

Script Type: PowerShell

Disables all accounts belonging to the Guest Local Group.

Does not require any Parameters.

Disable Local User (AM)

Script Type: PowerShell

Delete Local User from the device

Parameters
Field Note Example Parameters
User Name

Name of the new local user

john.doe

Disable UAC (AM)

Script Type: PowerShell

Disables User Access Control (UAC)

Does not require any Parameters.

Enable UAC (AM)

Script Type: PowerShell

Enable User Access Control (UAC)

Does not require any Parameters.

Is UAC Enabled (AM)

Script Type: PowerShell

Determines whether User Access Control (UAC) is enabled or disabled on the device

Does not require any Parameters.

Remove Domain User from Local Group (AM)

Script Type: PowerShell

Remove the specified Domain User from the Local Group.

Parameters
Field Note Example Parameters
User Name

Username of the Domain User

john.doe

Domain Name

Name of the domain.

abc.com

Local Group Name

Name of the Local Group

Users

Remove Local Profile (AM)

Script Type: PowerShell

Removes the specified local profile.

Parameters
Field Note Example Parameters
Profile

Enter the name of the profile to remove        

temps

Remove User from Domain Group (AM)

Script Type: PowerShell

Remove the specified Domain User from the Local Group.

Parameters
Field Note Example Parameters
User Name

Username of the Domain User

john.doe

Domain Name

Name of the domain.

abc.com

Local Group Name

Name of the Local Group

Users

Rename Local Administrator Account (AM)

Script Type: PowerShell

Best Practice to find and rename local administrator accounts on target machines to a corporate standard.

Parameters
Field Note Example Parameters
Local Account Name

Current name of the account

admin

Force User to logoff to perform rename

Name change cannot be applied if user logged on

TRUE or FALSE

New Account Name

New name of the account

adminv2

Require AD User Password Change (AM)

Script Type: PowerShell

Requires the specified Active Directory User to change their password.

Parameters
Field Note Example Parameters
User Name

Username of the Domain User

john.doe

Domain

The name of the user’s domain.

abc.com

Set AD User Password (AM)

Script Type: PowerShell

Sets Active Directory password for the specified user.

Parameters
Field Note Example Parameters
New Password

User's new password.

Password456

Common Name

The common name of the user

john.doe

UserDN

The distinguished name of the user.

CN=John Doe,CN=Users,DC=ABC,DC=com

Domain

The name of the user’s domain. For example, DC=California,DC=local or California.local

abc.com

 

Unlock and Reset Local User Password (AM)

Script Type: PowerShell

Unlocks the local user account and sets the password for the local user.

Parameters
Field Note Example Parameters
Local User Name

Name of the user

john.doe

Password

User's new password.

Password456

Unlock Local User Account (AM)

Script Type: PowerShell

Unlocks a local user account.

Parameters
Field Note Example Parameters
User to unlock

Name of the user

john.doe