Powershell Archive

How to transfer FSMO Roles From a Failed Domain Controller

In case domain controller, which owns FSMO (Flexible Single Master Operation) roles, is fail (virus attack, fatal software problems or catastrophic hardware failure etc.), then you need to transfer all FSMO roles from a failed to an another (additional) domain controller (for proper Active Directory domain functioning). Consider this

Removing Old and Unused Drivers from Driver Store using Powershell

Each time you install or update your device driver, Windows OS (since Vista) continues to store the old version of the driver in the system Driver Store. Thereby, if the system doesn’t work correctly with the new driver, user can roll back to an older version of the driver

Accessing Domain Controller from Local DSRM Account

Login with a local account on the domain controller is basically impossible, since then you are promoting member server to the domain controller (DC), the local accounts database (SAM) become inaccessible. However, this rule has one exception. In case of directory services problems on domain controllers, there is a

Run PowerShell Script from Task Scheduler

Let’s take a look at the basics of creating scheduled job in Windows Task Scheduler to run PowerShell script. For example, we have TestPSScript.ps1 script that is needed to run on a daily basis. There are two ways to solve this situation. Create Scheduler Task from GUI Open Task

How to Backup and Restore Group Policy Objects

Group policies have an important role in the Active Directory domain management, their damage or accidental deletion can lead to unpredictable results. Backup of Group Policy objects (GPO) allows you to quickly restore their state and if not — reduce them to minimum size. In addition, backups should be

Configure Data Deduplication on Windows Server 2012 R2

In this tutorial we will show you a fast and easy way to configure Data Deduplication via Powershell. At first we need to add role for deduplication: Import-Module ServerManager Add-WindowsFeature -name FS-Data-Deduplication Import-Module Deduplication Now we need to enable deduplication (this time on E: drive). Enable-DedupVolume E: -UsageType Default

Fix Trust relationship failed issue without domain rejoining

In this article we will discuss the causes of “Trust relationship failed …” error and some solutions on how to restore secure channel between workstation and domain. In what case we can get this error? For example, when user is trying to login to workstation or server with domain

How to Get List of Installed Programs in Windows 10

In this simple guide we will show you two different ways of how to get list of all installed programs in Windows 10, 8 or Windows 7 using built-in command line tools. When it may be necessary? For example, the list of installed programs can be useful when you

Managing Windows Defender Using PowerShell

Windows Defender first appeared as an anti-virus utility for Windows XP. Since Vista version it was built into all Microsoft OS as a protection against malicious software. In Windows 8 it was merged with another antivirus product — Microsoft Security Essentials, and now it is a full-featured antivirus software.

How to Reset Windows 10 Firewall Settings to Default

Built-in Windows Firewall is an important part of all versions of Windows operating system (starting from Windows XP SP2) and, when properly configured, allows to get the full control of all network activity on the computer and helps to protect your computer from hackers and malware programs. Sometimes users