Archive for April, 2010
Shell script to list out the contents of a file
Apr 29th
This shell script will list out the contents of a file using MENU DRIVEN, considering the following: - The user enters the file name (may enter a path) - The script reads in the file name - It checks if it exists and it is a file - If it does not, it warns the user - Otherwise it should list the contents (more…)
Windows Server 2008 Hardware Requirements
Apr 27th
When determining hardware requirements to install and run Windows Server 2008 and any application or services you are about to run on the server, you need to focus on three hardware resources with keeping in mind the rule “The more the better”: (more…)
Remove XP Security 2010, Vista Security 2010
Apr 25th
XP Security (or Vista Security) is a rogue antispyware program. It is also known as: - XP Internet Security 2010 - Vista Security Tool 2010 - XP AntiSpyware 2010 - XP Antimalware 2010 - Antivirus XP 2010 - XP Smart security 2010 (more…)
The Printer name is invalid, Code 80070709
Apr 24th
This is a common error with VBScripts, it occurs when you using a script to map a network printer to a user. To determine the cause of such an error and to track down this issue try one or all of the following:
1. Make sure there is no mistakes in the script and the printer you are aiming to map is exist in the script with appropriate share link.
2. Make sure of the printer share name, double check the spelling (the server, the share folder or printer’s share name) just in case: ) (more…)
Simple Printer Logon Script – VBScripts
Apr 19th
The following script can be used as a logon script to add Simple Windows Printer Connection. 1- Copy and past the script in a text editor, notepad will dose the job perfectly. 2- Make whatever changes in need to suit your purposes. ie; change the server name and the printer share name to reflect yours. 3- Save the file (any name you like) with extension of .vbs, ie: printerslogon.vbs (more…)
Batch file script to map network drive to users
Apr 14th
A batch file is a text file containing a series of commands intended to be executed by the command interpreter. When a batch file is run, the shell program reads the file and executes its commands, normally line-by-line.
The following script can be used as a logon script to map a network drive to users home directory (or any directory) on the server or somewhere else.
1- Copy and past the script in a text editor, notepad will dose the job perfectly. (more…)
Promote Windows Server 2008 into a Domain controller
Apr 4th
Promoting Windows server 2008 via command line into a domain controller are pretty straight forward procedure. That is true for the first Domain Controller in the Forest. However, If you planning to deploy a second Domain Controller, which is best practice since the second DC provides redundancy for user account data and helps distribute the load for authentication and global catalog, there are some prerequisites you need to be aware of before you promote your server into a Domain Controller DC/AC which are not discuses in this post. (more…)






