<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>RDR-IT - vbs</title><link>https://rdr-it.com/en/tag/vbs/</link><description>System administration, virtualization, security and tools for IT professionals.</description><language>en-US</language><lastBuildDate>Fri, 09 Oct 2026 17:31:24 +0000</lastBuildDate><atom:link href="https://rdr-it.com/en/tag/vbs/index.xml" rel="self" type="application/rss+xml"/><item><title>Vbs : delete all files with the same extension in a folder</title><link>https://rdr-it.com/en/vbs-delete-all-files-with-the-same-extension-in-a-folder/</link><pubDate>Thu, 01 Apr 2021 04:30:00 +0000</pubDate><guid isPermaLink="true">https://rdr-it.com/en/vbs-delete-all-files-with-the-same-extension-in-a-folder/</guid><description>The next two lines of code allow you to delete all files with a particular extension in a folder.
Set obj = CreateObject("Scripting.FileSystemObject") …</description></item><item><title>Remove all network printers from a workstation</title><link>https://rdr-it.com/en/remove-all-network-printers-from-a-workstation/</link><pubDate>Tue, 30 Mar 2021 04:30:00 +0000</pubDate><guid isPermaLink="true">https://rdr-it.com/en/remove-all-network-printers-from-a-workstation/</guid><description>The script allows you to delete all network printers on a workstation / server.
' ' RDR REMOVE NETWORK PRINTER ' ' ' Dim strComputer strComputer = "." Set objWMIService = …</description></item><item><title>Print server migration</title><link>https://rdr-it.com/en/print-server-migration/</link><pubDate>Thu, 10 Dec 2020 05:30:00 +0000</pubDate><guid isPermaLink="true">https://rdr-it.com/en/print-server-migration/</guid><description>The following script migrates from print server A to server B with the following actions:
Map printers to the new server Removal of the workstation printers that are …</description></item><item><title>FOG agent installation script</title><link>https://rdr-it.com/en/fog-agent-installation-script/</link><pubDate>Thu, 26 Dec 2019 11:39:59 +0000</pubDate><guid isPermaLink="true">https://rdr-it.com/en/fog-agent-installation-script/</guid><description>The following script installs the FOG agent on fixed workstations at startup.
The script must be placed in a group policy (GPO), which executes the script when the …</description></item><item><title>Alert users to change their password</title><link>https://rdr-it.com/en/alert-users-to-change-their-password/</link><pubDate>Fri, 21 Jun 2019 16:45:30 +0000</pubDate><guid isPermaLink="true">https://rdr-it.com/en/alert-users-to-change-their-password/</guid><description>The following VBS script displays an alert to users at login that the password is soon to expire.
The script ' Days before to alert user QtDiasAviso = 7 RedirectRdWeb = …</description></item><item><title>Printer mapping: GPO and Script</title><link>https://rdr-it.com/en/printer-mapping-gpo-and-script/</link><pubDate>Sun, 17 Feb 2019 09:21:47 +0000</pubDate><guid isPermaLink="true">https://rdr-it.com/en/printer-mapping-gpo-and-script/</guid><description>When setting up an Active Directory, one of the things you want to set up automatically is the mapping of printers to users.
Prerequisite:
Have a server with the Print …</description></item><item><title>Resolve temporary profile issues on RDS / TSE remote desktops</title><link>https://rdr-it.com/en/resolve-temporary-profile-issues-on-rds-tse-remote-desktops/</link><pubDate>Sun, 20 Jan 2019 14:46:27 +0000</pubDate><guid isPermaLink="true">https://rdr-it.com/en/resolve-temporary-profile-issues-on-rds-tse-remote-desktops/</guid><description>Context : Temporary profile error on logon For multiple and often unknown reasons, users are connected to their session on a temporary profile.
The user does not find his …</description></item><item><title>Vbs: Check if a user is part of a group</title><link>https://rdr-it.com/en/vbs-check-if-a-user-is-part-of-a-group/</link><pubDate>Wed, 21 Nov 2018 19:00:16 +0000</pubDate><guid isPermaLink="true">https://rdr-it.com/en/vbs-check-if-a-user-is-part-of-a-group/</guid><description>The function below is used to check if a user is part of an AD group.
The function returns True or False.
' ***************************************************** 'This …</description></item><item><title>Map a network drive using a GPO or a script under Active Direcoty</title><link>https://rdr-it.com/en/network-drive-mapping-gpo-and-script/</link><pubDate>Tue, 20 Nov 2018 12:00:47 +0000</pubDate><guid isPermaLink="true">https://rdr-it.com/en/network-drive-mapping-gpo-and-script/</guid><description>Learn how to automatically map a network drive using a GPO or a script under Active Directory. Complete tutorial with group filtering and best practices.</description></item></channel></rss>