Monday, March 7, 2011

Advantages of Windows Deployment Services


I)                    It allows network based installation of operating systems, include also windows vista and windows server 2008.

II)                  We can deploy windows images to computers without operating system.

III)                It reduces the complexity of deployment and cost with inefficient manual installation.

IV)               It provides end-to-end solution for deployment of operating system to client computers and servers

V)                 It uses standard windows 2008 server setup technology, includes WIN PE, image based and .wim files

VI)               It also support mixed environment that includes Windows XP, 2003 and 2008.

Windows Deployment Services Components - Windows 2008 Server


                There are three components are available in windows deployment services.

·         Server Components
·        Client Components
·         Management Components

Server Components:



PXE – Prexecution environment
TFTP – (Trivial file transfer protocol)

                Both the server components for network booting a client to load and install an operating system, shared folder and image repository. It contains boot images, files and install images, it need specifically for network booting.

Client Components:
                Client components includes graphical user interface – windows pre-installation environment (Windows PE) this component to communicate with the server components to install the image.

Management Component:
                The set of tools that used to manage the server, operating system image and client computer accounts.


Thursday, March 3, 2011

VB Script to unlock user accounts - Active directory


The below VB script code can unlock the user accounts in active directory .Copy the below code and paste to notepad and save it as .vbs extension.


UserName = InputBox("Enter the user's login name that you want to unlock:")


DomainName = InputBox("Enter the domain name in which the user account exists:")


Set UserObj = GetObject("WinNT://"& DomainName &"/"& UserName &"")
If UserObj.IsAccountLocked = -1 then UserObj.IsAccountLocked = 0
UserObj.SetInfo


If err.number = 0 Then
    Wscript.Echo "The Account Unlock Failed.  Check that the account is, in fact, locked-out."
Else
    Wscript.Echo "The Account Unlock was Successful"
End if





Script to view disk free space


The below simple VB Script to show the free disk space in the local computer, copy the below code and paste to notepad and save it as .vbs extension.

Const HDD = 3
 strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
    & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
 Set colDisks = objWMIService.ExecQuery _
    ("Select * from Win32_LogicalDisk Where DriveType = " & HDD & "")
 For Each objDisk in colDisks
    Wscript.Echo "Drive: "& vbTab &  objDisk.DeviceID & vbTab & objDisk.FreeSpace      
   Next

Wednesday, March 2, 2011

WDS - Windows Deployment Services installation requirements


DHCP

                A Windows deployment service uses PXE (preboot execution environment). So we must have working DHCP server with an active scope. DHCP option 66 and 67 need to add on server. Option 66 set to the windows deployment services server and option 67 should be set to boot\x86\wdsnbp.com

NTFS Partition

                NTFS partition requires for storing the operating system images.

Active Directory

                Windows deployment services server must be either domain controller for an active directory domain or member of an active directory domain. It supports all domain and forest configuration.

DNS

                DNS server on the network requires to running windows deployment services.

Note:-
                RIS (Remote installation services) must be installed on windows server SP1 or SP2 version. But no need to configure it.

WDS – Windows Deployment Services – Definition


I)                    WDS is the united, updated and redesigned version of Automated Deployment Services (ADS) and  Remote Installation Services (RIA)

II)                  Through WDS, we can deploy windows XP, Vista, Server 2003, 2008 and service pack also.

III)                It fully customized and automated through the use of unattended installation scripting files.

IV)               We can do naming the machine, having the machine to join a domain.

V)                 In Windows 2008 version of WDS, supports IP multicast deployments. It allows new clients to join an existing deployment that has already started.

VI)               WDS multicast uses the IGMP protocol.

VII)             It also supports x64-computer with (EFI) Extensible firmware interface.

VIII)           Windows PE is used to boot the operating System

IX)                WDS included on Windows 2003 SP2, In Windows 2008 have inbuilt with more features.

X)                  WAIK (Windows Automated Installation Kit) tools are used to build the operating system image. Windows Imaging Format (WIM) is the OS image format.

Tuesday, March 1, 2011

Recover Formatted drive

I had recently infected virus my hard drive, the files were deleted. i have used a tool to recover the data, thats free license. here i would like to refer the link. http://www.piriform.com/recuva 
Web Hosting