Wednesday, October 1, 2014

1. 1. Resize an existing volume and create a simple volume (By using diskpart.exe in the C: drive). 2. Use the Check Disk utility in the C: drive. 3. Use the Disk Cleanup utility in the C: drive. 4. Defragment the C: drive. Task 1. Resize an existing volume and create a simple volume (By using diskpart.exe in the C: drive). To create an exisiting volume and creating a simple a volume in the C: drive by using diskpart.exe. 1. Ensure thet the Start screen is displayed. 2. Press the Windows+C keys. The charms bar is displayed. 3. Click Search. the Search charm is displayed. 4. Type Command prompt, and then press the Enter key. The Administrator: Command Prompt window is displayed. 5. Type diskpart, and then press the Enter key. Afer a few moments, the DISKPART>prompt is displayed. 6. Type list disk, and then press the Enter key. 7. Type select disk 0, and then press the Enter key. the disk 0 is now the selected disk message is displayed. 8. Type list partition, and then press the Enter key. You will notice that twopartitions are listed. 9. Type select partition 2, and then press the Enter key. the Partition 2 is now the selected partition text is displayed. 10. type shrink desired= 30000, and then press the Enter key. The DiskPart successfully shrunk the volume by: 29 GB text is displayed. 11. Type list partition primary size=30000, and then press the Enter key. the DiskPart successfully in creating the specified partition text is displayed. 12. Type list partition, and then press the Enter key. You will notice that three Partitions are listed. 13. Type formet fs=ntfs label = Simplel quick, and then the Enter key. After a few moments. The DiskPart successfully formatted volume massage is displayed. 14. Type Assign, and then press the Enter key. The simplel (F:) window is displayed. 15. Switch to the Simplel (F:) window. you will notice that the simplel (F:) drive is successfully created. 16. Close the Simplel (F:) window. 17. Type exit in the Administrator: Command Prompt window, and press the Enter key. Task 2. Using the Check Disk Utility in the C: Drive To use the Check Disk utility in the C: drive, you need to perform the following dteps: 1. Ensure that the command prompt window is open and active. 2. Type compmgmt.msc, and then press the Enter key. the computer Management window is displayed. 3. select Disk Management under the Storage node in the left pane. the Initilize Disk dialog box is displayed. 4. Click the Cancel button. The Computer Management window is displayed. 5. Right-click (C:) under the Volume column in the middle pane, and then select Properties. The Local Disk(C:) Properties dialog box is displayed. 6. Click the Tools tab. 7. Click the Check button under the Error checking section. The Error Checking (Local Disk(C:)) dialog box is displayed. 8. Click the scan drive option. After a few moments, the Error Checking (Local Disk (C:))message box is displayed alongg with the you drive was successfully scanned message. 9. Click the close button. the Local Disk (C:) Properties dialog box is displayed. Task 3. Using the Disk Cleanup Utility in the C: Drive To use the Disk Cleanup utility in the C: Drive: You need to perform the following steps: 1. Click the General tab of the Local Disk (C:) Properties dialog box. 2. Click the Disk Ceanup button After a few moments the Disk Cleanup for (C:) dialog box is displayed. 3. select the Temporary files check boxes under the File to delete section, and then click the ok button. the Disk Cleanup dialog box is displayed. 4. Click the Delete File button to permanently delete the selected files. After a few moments, the Local Disk (C:) Properties dialog box is displayed. Task 4. Defragmenting the C: Drive To defragment the C: drive, you need to perform the following steps: 1. Click the Tools tab of the Local Disk (C:) Properties dialog box. 2. Click the Optimize button Drives button under the Optimize and defragment drive section. The Optimize Drives window is displayed. 3. Ensure that the (C:)drive is selected under the Drive column. 4. Click the Optimize button. After a few moments, the OK (100% space efficiency) text is displayed under the Current status column for C: drive. 5. Click the Cloce button. the Local Disk (C:) Properties dialog box is displayed. 6. Click the OK button. the Computer Management window is displayed. 7. Close the Computer Managemant window. 8. Close the Command Prompt window.

1. Configure DNS using the hosts file.
2. Access DNS information using Windows PowerShell.

Task 1. Configure DNS using the hosts file.

To configure DNS using the hosts file, you need to erform the following tasks
1. Check the name resolution.
2. Configure and test the hosts file.

Task 1.1 Checking the name resolution

To check the name resolution, you need to perform the following steps:

1. Ensure that the Start screen is displayed.
2. Type Command Prompt, and then press the Enter Key. The Administrator:
   Command Prompt window is displayed.
3. Type the ping patentserver command, and then press the Enter key. the ping request error message is displayed.
4. Type the exit command, and then press the Enter key. the Administrator:
   Commans Prompt window is closed.

Task 1.2 Configuring and Testing the Hosts File

To configure and test the hosts file, you need to perfoem the following steps:
1. Press Windows+C keys. The charms bar is Displayed.
2. Select Start. The screen is Displayed.
3. Type C:\Windows\System32\Drivers\etc, and then press the Enter key. The etc window is displayed.
4. select the hosts file in the right pane.
5. Rght-click the hosts file, and then select the Open with optin. the How do you want to open this file pop-up
   menu is displayed.
6. select the Notepad option. the hosts- noteped winsow is displayed.
7. press the Ctrl+Ent keys to reach at the and of file.
8. Type 172.16.0.10, and then press the Tab key.
9. Type patenserver, and then close the file. the Notepad dialog box is displayed.
10. click the Save button.
11. close the etc window.
12. Open the command prompt window.
13. Type the Ping Patentsever command, and then press the Enter key. The replies from 172.16.0.10 are displayed.
14. Type the exit command, and then the Enter key. The Administrator:
    Command Prompt window is cloced.

Task 2. Accessing DNS information Using Windows PowerShell

To access DNS information using Windows PowerShell, you need to perform the following steps:
1. Press the windows key. the Start screen is displayed.
2. Start typing powerShell. The Windows PowerShell file is displayed in the Apps screen.
3. Click the Windows PowerShell tile. The Administrator: Windows PowerShell window is displayed.
4. Type the Get-Dnsclient cmdlet, and then press the Enter key. After some time, the details of
   computer interface DNS are displaye.
5. Type the Get-DnsClientCache cmdlet, and then press the Enter key. you will notice that the entries of
   cache are displayed.
6. Type the Get-DnsClintGlobalSetting cmdlet, and then press the Enter key. you will notice that the Global
   DNS setting are displayed.
7. Type the Get-DnsClintServer Address cmdlet, and then press the Enter key. you will notice that the Global DNS setting
   are displayed.
8. Type the Clear-DnsClientCache cmdlet, and then press the Enter key to clear the entries of the DNS cache.
9. Type the Get-DnsClintCache cmdlet, and then press the Enter key. you will notice that the entries of cache are displayed.
10. Type the exit command, and then press the Enter key.

No comments:

Post a Comment