Browsed by
Tag: Active Directory

QuickTip – PowerShell – Scripts to Remotely Rename an Active Directory Computer Object

QuickTip – PowerShell – Scripts to Remotely Rename an Active Directory Computer Object

If you are deploying new systems or otherwise need to rename an AD computer object, you can use this script to make the change- Rename-Computer -ComputerName CURRENNTName -NewName NEWName –DomainCredential ADDomain\admin Make the changes, inline, to modify the current and new name parameters. As well as, change the “ADDomain\admin” to the AD domain and account that has the necessary permissions to change the name of the computer object. If you would like to make the script more interactive, you can…

Read More Read More

QuickTip – PowerShell – Script to Reset AD User’s Password

QuickTip – PowerShell – Script to Reset AD User’s Password

If you manage systems and services that allow users access with a their Active Directory username and password, you have probably dealt with password reset issues. Sometimes, you are setting up new systems or services with a test account. Here is an easy PowerShell “script” to reset an AD user’s password. $sAMAccountName = Read-Host -Prompt “sAMAccountName” $SecurePW = Read-Host -Prompt “Enter a Password” -AsSecureString Set-ADAccountPassword -Identity $sAMAccountName -Reset -NewPassword $SecurePW The first line prompts you to enter the sAMAccount name…

Read More Read More

QuickTip: Azure Active Directory Connect – Re-enable Automatic Sync Schedule

QuickTip: Azure Active Directory Connect – Re-enable Automatic Sync Schedule

Sometimes performing an upgrade of Azure Active Directory Connect (AADC) will disable the automatic synchronization schedule. Don’t get caught off guard! Running the following in PowerShell can save you some grief. To verify the existing sync settings, use this cmdlet- Get-ADSyncScheduler Note that SyncCycleEnabled is showing as False. 2. To enable the sync cycle schedule, use this cmdlet- Set-ADSyncScheduler -SyncCycleEnabled $true 3. Verify that your settings have taken effect by running the original cmdlet- Get-ADSyncScheduler Now the SyncCycleEnabled setting shows…

Read More Read More

QuickTip: Exchange 2010 – Convert Universal Distribution Group to Mail-Enabled Universal Security Group

QuickTip: Exchange 2010 – Convert Universal Distribution Group to Mail-Enabled Universal Security Group

Do you need to convert an Exchange universal distribution group to a mail-enabled universal security group? You’re in luck! Try it out: In Active Directory Users and Computers, select the distribution group and go to properties. On the General tab, under Group Type, select Security Group. From the Exchange Management Shell, run the following command, substituting groupname for the actual name of the group. Use quotes around the group name if the name contains spaces: Set-Distributiongroup–identity groupname –MemberDepartRestriction Closed

Microsoft Azure DirSync for Office 365 – How to update/change the connectivity password (Resolve stopped-extension-dll exception error)

Microsoft Azure DirSync for Office 365 – How to update/change the connectivity password (Resolve stopped-extension-dll exception error)

In this how-to article I am assuming that you have already setup/configured DirSync for Microsoft Office 365 and have found that the “stopped-extension-dll exception error” in the event viewer references an issue with the password of your sync/tenant account. What can cause this? The most common reason that I have found is that the account used to sync with the tenant has an expired password. By default, the passwords for tenant-based accounts expire every 90 days. This is controlled on…

Read More Read More

Using Ninite Pro in Conjunction with Group Policy to Automate Third-Party Application Patching

Using Ninite Pro in Conjunction with Group Policy to Automate Third-Party Application Patching

In my quest, as the lone Sys Admin for an SMB, to automate third-party application patching and installation, I have found the inexpensive yet invaluable tool, Ninite Pro. This article assumes that you have a Microsoft Active Directory domain, have the permissions necessary to create GPOs and have subscribed to or are trialing Ninite Pro. Also, I am assuming you know basic server administrative tasks, such as sharing a folder, using GPMC, etc. Introduction to Ninite Pro Ninite Pro is…

Read More Read More