Showing posts with label logon. Show all posts
Showing posts with label logon. Show all posts

Monday, November 14, 2016

How do I enable or disable the Num Lock key on logon screen

How do I enable or disable the Num Lock key on logon screen


Microsoft Windows users can adjust how Windows handles the Num Lock status by editing the Windows registry.

Cation! with Windows registry, you can have potential problems that may occur if edited improperly, always backup registry.

Windows, Vista, 7, 8

Click Start and type regedit in the Search programs and files text field to open the Windows registry editor.
In the registry, open the below folders:

HKEY_CURRENT_USERControl PanelKeyboard

Within the keyboard folder, you should have a string value named "InitialKeyboardIndicators" with a value of 0, 1, or 2. 

Explanation of each of these values.
0 = Num Lock is turned OFF after the logon.1 = Disable Num Lock.2 = Numlock is turned ON after the logon.

Windows NT, 2000, XP

Click Start, click Run, and type regedit to open the Windows registry editor.
In the registry, open the below folders:

HKEY_CURRENT_USERControl PanelKeyboard

Within the keyboard folder, you should have a string value named "InitialKeyboardIndicators" with a value of 0, 1, or 2. 

Explanation of each of these values.
0 = Num Lock is turned OFF after the logon.1 = Disable Num Lock.2 = Numlock is turned ON after the logon.




Go to link Download

Read more »

Thursday, October 6, 2016

How to track users logon logoff using a script

How to track users logon logoff using a script



   How to track users logon/logoff

The Auditing


Option 1:

1.      Enable Auditing on the domain level by using Group Policy:

Computer Configuration / Windows Settings/ Security Settings/Local Policies / Audit Policy

There are two types of auditing that address logging on,they are Audit Logon Events and

Audit Account Logon Events.

Audit “logon events” records logons on the PC(s) targeted by the policy and the results appear in the Security Log on that PC(s).

Audit “Account Logon”Events tracks logons to the domain,and the results appear in the Security Log on domain controllers only.


2.      Crete a logon script on the required domain/OU/user account with the following content:

                                                                                                       

echo %date% , %time%, %computername%, %username% , %sessionname%, %logonserver% > >

         SERVERSHARENAME$LOGON.LOG


3.      Crete a logoff script on the required domain/OU/user account with the following content:

                                                                                                       

echo %date% , %time%, %computername%, %username% , %sessionname%, %logonserver% > >

         SERVERSHARENAME$LOGOFF.LOG


NOTE : Please be aware that unauthorized users can change the scripts,due to the requirement that

                the SHARENAME$ will be writeable by users.


Option 2:


Use WMI/ ADSI to query each domain controller for logon/logoff events.


Go to link Download

Read more »