How to Disable or Enable USB Drives using Group Policy

When you connect a new USB device to your computer, Windows automatically detects the device and installs the appropriate driver. As a result, the user can use the connected USB drive or device almost immediately. If your organization’s security policy prohibits the use of portable USB storage devices (flash drives,...

Read more...

PowerShell Startup Scripts Using GPO

Windows Group Policy allows you to run various script files at a computer startup/shutdown or during user logon/logoff. You can use GPOs not only to run classic batch logon scripts on domain computers (.bat, .cmd, .vbs), but also to execute PowerShell scripts (.ps1) during Startup/Shutdown/Logon/Logoff.In modern versions of Windows, you...

Read more...

How To Fix Error: There are Currently No Logon Servers Available

When a user logs on to a Windows computer that is joined to an Active Directory domain, they may see the following error message:There are currently no logon servers available to service the logon request.This message says that none of the AD domain controllers (LogonServer) is available from this computer...

Read more...

Delete Old User Profiles in Windows

Administrators should occasionally delete old user profiles (retired or inactive users, etc.) from C:Users on Windows workstations and servers. The Windows user profile cleanup task is most commonly performed on Remote Desktop Services (RDS) terminal servers.The main problem with RDS servers is the constant growth in the size of the...

Read more...

Automating Local Administrator Password Changes on Windows Machines with PowerShell

Table of Contents Introduction PowerShell is a powerful scripting language that can be used to automate various tasks, including managing Windows machines. One common task is changing the local administrator account password on multiple machines. This can be a tedious and time-consuming task if done manually, but PowerShell can make it much...

Read more...

Converting an EXE File to an MSI Installer with PowerShell

Table of Contents Introduction When it comes to software distribution, the most common way to package and deploy Windows applications is through installers. However, not all installers are created equal. Some applications may be packaged as EXE files, which typically use a proprietary installer format that may not be ideal for enterprise...

Read more...