Friday, February 25, 2011

Network Drive Mapping Scripts


If you are using network share drive, in which you to open drives again and again. To simplify that you can map the drives on your system, but if you have many network share drives and a large network, then you can use network drive mapping VbS scripts.
If you have single share drive then you can copy this code and paste in notepad, edit and save as it filename.vbs (filename which you want).
Set objNetwork = WScript.CreateObject("WScript.Network")
objNetwork.MapNetworkDrive "s:" , "\\servername\share folder"
If you are using more than one network share drive then you can copy and paste this script in notepad and save as it filename.vbs. In this script you can increase and decrease mapping drive, you can change drive latter in this script as you want J, K, L, M. put your server share folder unique path in “myserver\sale” according to sharing. If there will be any mistake it will not run, so edit it properly.
' Drive Map VBscript.vbs - Map Network Drive to J:,K:,L: and M:
' Example of VBScript Mapping Four drives in one script.
' ----------------------------------------------------'
Option Explicit
Dim objNetwork, strRemotePath1, strRemotePath2, strRemotePath3,
strRemotePath4
Dim strDriveLetter1, strDriveLetter2, strDriveLetter3, strDriveLetter4
strDriveLetter1 = "J:"
strDriveLetter2 = "K:"
strDriveLetter3 = "L:"
strDriveLetter4 = "M:"
strRemotePath1 = "\\myserver\sale"
strRemotePath2 = "\\myserver\it"
strRemotePath3 = "\\myserver\production"
strRemotePath4 = "\\myserver\marketing"
Set objNetwork = CreateObject("WScript.Network")
' Section which maps Four drives, J:,K:,L: and M:
objNetwork.MapNetworkDrive strDriveLetter1, strRemotePath1
objNetwork.MapNetworkDrive strDriveLetter2, strRemotePath2
objNetwork.MapNetworkDrive strDriveLetter3, strRemotePath3
objNetwork.MapNetworkDrive strDriveLetter4, strRemotePath4
Wscript.Quit
' End of Windows Logon Script Example

Thursday, May 13, 2010

How to install window 7 form pen drive

It’s most easy way to install windows 7 by pen drive. Sometime if you have no optical drive (CD/DVD Drive) in your notebook or desktop and you want to install windows by pen drive the it’s most easy way to install windows 7 by pen drive.

Requirement:

Window 7 ISO image.
One 4 GB good quality pen drive.
Windows 7 USB/DVD Tool

Instructions:

Make sure Bios setting should be boot form USB drive before installation otherwise it will not boot form USB drive.

Installations:

First of all download widnows 7 USB/DVD tool. You can download this free tool.

Download Now

Download this tool and install it, for XP users Microsoft .net framework 2.0 and Microsoft image mastering API v2 must be installed befor windows 7 USB/DVD tool install.

Then run Windows 7 USB DVD Download Tool



Browse the windows 7 iso image path, then next


select USB device tab


press Begin coping tab


and finish.now your pen drive is ready for install windows 7,now make sure again that you system Bios setting set boot form USB drive and restart you computer and boot form pen drive and install widnows 7.

Enjoy....

Vimal Dhiman

Thursday, April 29, 2010

Install xp from usb pen drive

Hi,
I have search a lot in google how to install xp by usb pen drive but there are all long method but i find a easy way to install windows xp by usb pen drive.
Requirement:
windows xp CD, pen drive 2-4 GB and WinToFlash tool
download this tool from hare http://www.softpedia.com/progDownload/WinToFlash-Download-136622.html. Download it and extract on your desktop

then open folder and run WinToFlash.exe,

then click on next,

then give extract windows xp floder path

and select usb pen drive drive and press netxt,

then select "I accepted...." and continue




and select next and exit


now your pen drive is ready to install xp, again make sure your boot setting should be boot form usb drive or press F10, F12 to select boot sequence and boot form pen drive and install xp form pen drive
Thanks







Hit Counter