The Set-ADUser cmdlet allows to modify user properties (attributes) in Active Directory using PowerShell. Traditionally, a graphic MMC snap-in dsa.msc
(Active Directory Users and Computers, ADUC) is used to edit the properties of AD users. The ADUC snap-in can be used to change user properties or advanced attributes in the Attribute Editor tab. However, you cannot bulk modify user attributes via the ADUC console (it is partially possible to do it using AD saved queries) . In this article, we’ll look at some examples of using the Set-ADUser cmdlet to change user properties in AD.
Hi, admin! I’m trying to turn on Windows Defender on Windows 10, but in the “Windows Defender Security Center”, the “Virus & threat protection” component has the message: “Threat service…
- Windows 10Windows Server 2016Windows Server 2019
How to Clean Up and Compress the WinSxS Folder on Windows
March 17, 2024In this article we will talk about the WinSxS folder in Windows, the reasons for its constant growth, and ways to clean up it. The C:\Windows\WinSxS directory is the repository…
- Windows 10Windows Server 2019
Mapped Network Drives are Not Showing in Elevated Programs
March 15, 2024If you are using mapped network drives, you probably noticed that they are not showing in the apps running with administrator privileges (including cmd and PowerShell). The default User Account…
In this article, we will look at how to reduce the size of a virtual machine’s hard disk (VMDK) in VMware ESXi. From the vSphere Client GUI, you cannot reduce…
- Windows 10Windows 11Windows Server 2016Windows Server 2019Windows Server 2022
How to Run File Explorer Elevated (as Administrator) on Windows
March 7, 2024File Explorer process always runs with minimal (non-elevated) privileges in Windows. Even if you click the C:\Windows\explorer.exe executable file and try to start it in the ‘Run as administrator’ mode,…
- Windows 10Windows 11Windows Server 2019
How to Clean Up System Volume Information Folder on Windows
March 17, 2024Windows automatically creates a hidden System Volume Information directory in the root of each connected NTFS drive (whether a local HDD/SSD drive or a removable USB drive). The size of…
- Active DirectoryMicrosoft OfficePowerShell
Read and Write Excel (XLSX) Files with PowerShell
March 16, 2024You can access the data in an Excel file directly from within PowerShell. Although PowerShell has built-in cmdlets for importing (Import-CSV) and exporting (Export-CSV) tabular data from/to CSV files, the…
- Group PoliciesWindows 10Windows Server 2019
How to Disable NetBIOS and LLMNR Protocols in Windows Using GPO
March 17, 2024The broadcast protocols NetBIOS over TCP/IP and LLMNR are used in most modern networks only for compatibility with legacy Windows versions. Both protocols are susceptible to spoofing and MITM attacks.…
- Active DirectoryGroup PoliciesWindows 10Windows 11Windows Server 2019
Auto Lock Computer Screen After Inactivity with GPO
March 15, 2024Information security best practices require the computer screen to be locked when the user is inactive (idle) for some time. A Windows user can lock the computer screen themselves (using…