WWW.SIVARAJAN.COM

Scripts and Tools

Uninstall Symatec and Install ForeFront Client Serurity - VB Script

This script can be use to uninstall Symantec Antivirus client and install Microsoft Forefront Client Security. In this script you will see functions for removing Symantec passwords, uninstalling Symantec Antivirus, uninstalling Symantec Endpoint and installing FCS.

Usage: Rename the file extension to .vbs and run as a startup/shutdown GPO.

Reference: http://bogs.sivarajan.com

Download


Uninstall McAfee and Install ForeFront Client Serurity - VB Script

You can use this scrip to uninstall McAfee Antivirus client and install Microsoft Forefront Client Security. In this script you will see functions for removing McAfee Antivirus and installing FCS.

Usage: Rename the file extension to .vbs and run as a startup/shutdown GPO.

Reference: http://bogs.sivarajan.com

Download


Uninstall ForeFront Client Security- VB Script

Here is a script which you can use to uninstall Microsoft Forefront Client Security. In this script you will see functions for removing Microsoft Forefront Client Security Antimalware Service and Microsoft Forefront Client Security State Assessment Service.

Usage: Rename the file extension to .vbs and run as a startup/shutdown GPO.

Reference: http://bogs.sivarajan.com

Download


Install ForeFront Client Security- VB Script

This script can be used to install Microsoft Forefront Client Security. If you run this script as a Startup/Shutdown script, you don't need to provide Admin credentials. It will run under System credentials.

Usage: Rename the file extension to .vbs and run as a startup/shutdown GPO.

Reference: http://bogs.sivarajan.com

Download


Identify Domain Membership - PowerShell Script

Here is a PowerShell script which you can use to identify the domain membership of remote computers . You can use a text file as an input file with all your computers names. This script generates 2 output files; Domain_Success_File.txt and Domain_Failed_File.txt.

Usage: Add all computer names to the Computers.txt file and run the Check_Domain_Membership.PS1 script reate a text file called computers.txt with all your computer names.

Reference: http://bogs.sivarajan.com

Download


Identify the Physical Host of a Virtual Server - PowerShell Script

Here is a PowerShell script you can use to identify the Physical host name of a Virtual server. In this script I am looking for the values in the following registry keys:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Virtual Machine\Guest\Parameters

Usage: Rename the file extension to .ps1 and run it on the server.

Reference: http://bogs.sivarajan.com

Download


Start, Stop, Enable or DisableService - PowerShell Script

You can use the following PowerShell script to Start, Stop, Enable or Disable Windows services on a remote machine. An input file can be used to provide computer names - add all your computer names to input.csv file.

Reference: http://bogs.sivarajan.com

Download

Disable and Stop Service - Batch File

Here is simple batch file which you can use to stop and disable the firewall service. I have used this file as a pre-migration script on my recent migration project. You can add all your computer names to Computer.txt file.

Reference: http://bogs.sivarajan.com

Download


Add Workstations To The Domain - Batch File

Here is an easy procedure to add computers to the Domain from an input file. I am using the Netdom command to join the computer. You can add all your computer names to the Computers.txt file.

Reference: http://bogs.sivarajan.com

Download


Change Default Domain Name (Log on to) from an Input File - Batch File

Here is a PowerShell script which you can use to test the admin$ share access. This script is useful when you are performing computer migrations. You can use a CSV file as an input file. This script generates 2 output files; Computers.txt and Failed_Computers.txt.

Usage: Add all computer names to the input CSV file and run the PreMig script.

Reference: http://bogs.sivarajan.com

Download


Check admin$ Share Access - PowerShell Script

This batch file can be used to change the default domain name (Log on to). This script is useful when performing computer migrations. The input for this script is a text file which contains all computer names.

If you change the DefaultDomainName and AltDefaultDomainName values, the Log on to filed will populate with this new value. But I have seen many failed instances. The workaround for this issue is to populate the CachePrimaryDomain registry string with your new Domain name.

Usage: Create a text file called computers.txt with all your computer names and update the KERALA domain name in the script with your domain name.

Reference: http://bogs.sivarajan.com

Download


Search AD User and Computer Accounts - PowerShell Script

This script can be used to generate a list of Active Directory users and computes. This script generates 2 output files ADUserInfo.csv and ADCompInfo.csv which contains user and computer information respectively.

Reference: http://bogs.sivarajan.com

Download


User Profile and Operating System (OS) Info - PowerShell Script

This script can be used to generate user profile and Operating System (OS) information from an input file (input.csv) which contains computer names. This script generates 2 output files. UserInfo.csv – which contains Computer Name, Profile Name, Last Access Time, OS version and Service Pack information.

FailedCompuers.csv – Script verifies admin$ access. If the access fails, it will be added to the FailedComptuers.csv file. This script also displays the output on the screen.

Reference: http://bogs.sivarajan.com

Download


Last Logged-On User / DefaultUserName - PowerShell Script

This script generates Last Logged-On User / DefaultUserName information from an input file (input.csv) which contains computer names. UserInfo.csv – contains computer names and corresponding SamAccountNames. FailedCompuers.csv – Script verifies admin$ access. If the access fails, it will be added to the FailedComptuers.csv file.

Reference: http://bogs.sivarajan.com

Download


Check Get control of your severs using Startup/Shutdown Script - Batch File

In many situations we need to reset the Local Administrator password and add Domain Admins to the Local Administrator group on a server or client machine without visiting each machine. If you don’t know the password and don’t have access to the severs, you can run this simple script as a Startup/Shutdown script in conjunction with Group Policy.

Usage: Create a batch file and run as a startup/shutdown GPO.

Reference: Santhosh Sivarajan - WindowsNetworking

Download


Home     |      Profile        |     Publications         Blog      Scripts   | Contact Me
WWW.SIVARAJAN.COM