How to enable hibernate on windows 8.1

Step 1: Press Windows + R to get “run” window and type “powercfg.cpl”

1

Press enter. Now you will be lead to “Power options” window.

2

Step 2: Click on “Choose what power buttons do”.

3

Step 3: Click on “Change settings that are currently unavailable”

4

Now some controls are enabled. Scroll down, there you can able to see “Hibernate” option which is not ticked.

5Step 4: Check “Hibernate”

6

And “Save changes”.

Now, right click on start button..

7

After this change, “Hibernate” will be visible in settings charm shutdown command also

8

How to Create Domain Controller in Windows Server 2008 R2

Domain concept is introduced in windows NT. Domain Controller (DC) is a server that is responsible to maintain security within window server domain. To install Domain Controller (DC) in Windows Server 2008 R2, follow the steps.

Step 1: Click “Start -> Administrative tools -> Server Manager -> Roles -> Add Roles”

1

Step 2: Click next on the following screen.

2

Step 3: Select Server Role – “Active directory domain service” and Click Next.

3

4Step 4: Click “Install”

5

Step 5: Now install DNS Server and active directory service. Go to “run” and type “dcpromo”

6

Step 6: In Active Directory Domain Services Installation Wizard. Press “Next” and don’t check on “Use advance mode installation”.

7

8

Step 7: Select “Create a new domain in a new forest” and click “Next” on the following screen

9

Step 8: Type your domain name and click “Next”.

10

Step 9: Select Windows Server 2008 R2 and click “Next”

11

Step 10: If this is the first Domain controller then the following message will be visible. Check “DNS Server” and click “Next”

12Step 11: Press “Yes” to continue.

13

Step 12: Select the location to keep log of Active Directory Domain Controller.

14

Step 13: Type administrator password and Confirm password for directory service and click “Next”

15

Step 14: Click “Next” of Summary window and check reboot the computer of the following screen.

16

17

Step 15: Your Domain Controller installed successfully. Now login to the system by domain Id.

last

Which Service is using which port?

Every day we fell in some difficulties and want to know which service is using by which port? Ports are divided into three ranges: The well-known ports (from 0 to 1023), the registered ports (from 1024 to 49151) and Dynamic (Private) ports (from 49152 to 65535). The Internet Assigned Numbers Authority (IANA) is responsible for the global coordination of the port assignment. Here I will show some tools to figure out the problem. Two well-known utility NETSTAT.EXE and TASKLIST.EXE will be used here.

TASKLIST.EXE is used to know the list of processes with its owing id. When we run >tasklist in command window we see the following output.

tasklist

Suppose, we want to know which port is used by skype? After running >>tasklist you will see the above output. Here you will see Image Name: Skype.exe with process id or PID: 3224. Now if you want to know which process owes process id or PID 3224? Just run >>tasklist /FI “PID eq 3224”. You will see the following output.

Tasklist pid

NETSTAT.EXE is used to identify what ports are being used by a particular process. The syntax that we will be using for NETSTAT.EXE is as follows: netstat.exe –a –n –o. Here,

  • -a: listing of all connections and listening ports
  • -n: display address and port numbers in numerical form
  • -o: display the owning PID associated with each connection

Now after running >netstat –a –n –o , you will see the following screen.

netstat

If you look at the output, you will see that local address of PID 3224 is 0.0.0.0:55956 which mean process id 3224 used port 55956. You already know that 3224 is the PID of process Skype.exe. So, you came to know that process skype.exe is used port 55956.

Configure Windows Server 2008 R2 to install SharePoint 2010

To install SharePoint 2010 on Windows Server 2008 R2 we need to configure server with the following roles and features.

Add Roles: Application Server & Web Server

To install SharePoint 2010 we need to configure server with the following roles and features.

Add Roles: Application Server & Web Server

  1. Click “Server Manager”
  2. Click “Roles”
  3. Click “Add Roles”
  4.  Mark “Application Server and Web Server”

1

5. Click “Add Required Features” in the above screen.

  1. Click Next
  2. Select Role Services of Application server like below screen.

28.       Select Role Services of Web Server like below screens.

3

4

9.       Click next & Install

Add Roles: File Services

  1. Click “Server Manager”
  2. Click “Roles”
  3. Click “Add Roles”
  4. Mark “File Services”
  5. Click “Next”
  6. Select “File Server” like below screen.

5

  1. Click Next & Install

Add Features:

  1. Click “Server Manager”
  2. Select Features at the left side of the screen
  3. Click “Add Features”
  4. Select features like below screens.

6

7

  1. Click “Next”
  2. Restart your computer