Monday, 23 February 2015

Week 4 Lab 8

TASK 1:

In this task we used the windows 7 command prompt to access the windows 2k3 terminal and view files of that terminal. We also set up a mapping network and created a txt file within the windows 2k3 directory and viewed the text of that file. We then deleted the mapping network that we created.

1. What is the command to view your workgroup?

net config workstation allows you to see your work group next to the workstation domain panel.

2. What is the command to enumerate all of the domains on the network?

net view/domain

3. What is the command to map a drive?

net use x: \\win2k3dc\sysvol

4. What is the name of the share that will give you access to all resources on the remote machine?

change the drive to the x drive and the x:\>dir



TASK 2:

In this task we used PSEXEC program to so commands on the remote windows 2k3 system. Using this we created a text file with hello world in it, viewed that text, created a Y map drive and also deleted that drive after.




1. From where do you get the PSEXEC command?

You have to download it as it is not native to the windows command prompt.

2. Do you need to provide credentials when using PSEXEC?

If the IPC$ share is mapped, there is no need to provide credentials when you use the PSEXEC command and we mapped it in the last task. However it can be mapped with the login name and password.

3. What is the command to share a folder on your C: drive called share?

net share share=c:\share

4. What does an error code of 0 indicate when you are using PSEXEC?

That the command was completed successfully.


TASK 3:

In this task we used the PSEXEC command to access the windows 2k3 terminal to start and stop services using the net commands and also to instal and uninstall services by using the sc command. Using the sc command we stopped the internet service on the 2k3 terminal and then started it again.

















1. What is the net command to stop the Windows Update Service?

net stop "Automatic Update"

2. What is the sc command to get the list of services on a remote machine

sc \\win2k3dc query | more

3. What is the sc command to stop the W3SVC service on a remote system?

sc \\win2k3dc stop w3svc

4. What is the sc command to start the W3SVC service on a remote system?

sc \\win2k3dc start w3svc


No comments:

Post a Comment