Windows Server 2012: How to logoff/logout?

There is few method to logoff from the Window 2012. Please refer as below

Method A: Normal Way

(1) Move your mouse over the upper right corner (1st red box)

(2) It will come out 3 button as 2nd red box

The upper button, Search button.

The middle button, Start Menu.

The lower button, Settings button.

(3) Click on the Setting button.

(4) Click on the Power Button

(5) Select Disconnect

Method B: Alternative way

Open task manager and disconnect under USER tab

Method C: Faster Way
(1) Open PowerShell window
(2) Just type in

LOGOFF

So, just choose the method you prefer.

WireShark: The NPF driver isn’t running

After you install WIRESHARK , you will receive the error “The NPF driver isn’t running” and there is not interface for trace. This is because the NPF service is not runnig by default.

To check the NPF service if running, you can run a command in command prompt (by Administrator)

sc qc npf

The output as below mean that the service will not auto start but manual start

C:\Users\KCYEAP>sc qc npf
[SC] QueryServiceConfig SUCCESS

SERVICE_NAME: npf
TYPE : 1 KERNEL_DRIVER
START_TYPE : 3 DEMAND_START
ERROR_CONTROL : 1 NORMAL
BINARY_PATH_NAME : system32\drivers\npf.sys
LOAD_ORDER_GROUP :
TAG : 0
DISPLAY_NAME : NetGroup Packet Filter Driver
DEPENDENCIES :
SERVICE_START_NAME :

So you need to start the service by

sc start npf

For set it to auto run, you can use the command

sc config npf start=auto