What must I do to enable logging of Logon Session Events?
Use the Group Policy Editor (gpedit.msc
) to enable auditing of Account Logon Events in the Windows Security Event Log.
Note: Windows Starter Edition, Home and Home Premium do not include gpedit.msc
. Instructions to install it are provided later in this answer.
To enable auditing of Account Logon Events:
Run gpedit.msc
Select "Windows Settings" > "Security Settings" > "Local Policies" > "Audit Policy"
Right click "Audit account logon events" and select "Properties"
Check "Success" and "Failure" as appropriate, then click "OK"
How do I install gpedit.msc on Windows Starter Edition, Home and Home Premium?
I used the following procedure to successfully install gpedit.msc
on Windows 7 64 bit Home Premium.
It apparently works on Windows 8 and Windows 8.1 as well.
UPDATE: According to some readers, this tool also works fine in Windows 8 and Windows 8.1.
Today we are going to share a simple installer which installs the required system files in Windows so that you can enjoy Group Policy Editor in all Windows 7 editions.
First download the setup file using following link:
Download Group Policy Editor Installer
You'll find the download link in right-side section of the above
mentioned page.
After downloading the ZIP file, extract it using WinRAR or 7-Zip.
Run the extracted setup.exe file.
It will install the files and you'll be able to access gpedit.msc
command via RUN or Start Menu search box.
Note:
- For Windows 7 64-bit (x64) users! You'll also need to go to "SysWOW64" folder present in "C:\Windows" folder and copy
"GroupPolicy", "GroupPolicyUsers" folders and gpedit.msc file from
there and paste them in "C:\Windows\System32" folder.
If you are getting "MMC could not create the snap-in" error message
while running gpedit.msc, check out following steps to fix the
problem. Basically it happens when your username in Windows contains
more than one word.
Run the installer and leave it at the last step (do not click on the "Finish" button).
Now go to C:\Windows\Temp\gpedit\
folder.
If you are running 32-bit (x86) edition of Windows 7, right-click on x86.bat file and choose "Open With -> Notepad" option. If you are
running 64-bit (x64) edition of Windows 7, right-click on x64.bat file
and choose "Open With -> Notepad" option.
You'll find a total of 6 lines containing the following string in the file:
%username%:f
Edit those lines and replace %username%:f
with "%username%":f
Original: icacls %WinDir%\SysWOW64\gpedit.dll /grant:r %username%:f
New: icacls %WinDir%\SysWOW64\gpedit.dll /grant:r "%username%":f
Save and run the file (right-click -> Run as Administrator).
That's it. You'll have working gpedit.msc.
Source How to Enable "Group Policy Editor" (gpedit.msc) in Windows 7 Home Premium, Home Basic and Starter Editions?
OK, this is an old thread, but it might be useful for some with this issue.
If you want your wifi connection to be configured for "all users" you can export it from your profile, and then reimport it for all users.
Open an elevated command prompt. (hit windows key, type cmd, then press Ctrl+Shift+Enter)
to see what profiles are on remembered on the system, use the command
> netsh wlan show profiles
then, copy the name of the profile you want to make for all users, (drag the mouse over the text and hit enter to put it in the clipboard)
Now, export the WiFi profile with:
> netsh wlan export profile name="your copied Wifi Network name" folder="C:\path\" key=clear
After that, add it to all users:
> netsh wlan add profile filename="full path of .xml file" user=all
That should do it. :)
Best Answer
First, when a user logs out, it will not automatically log another user back in. That autologon only works when the winlogon process is starting on boot.
http://en.wikipedia.org/wiki/Windows_NT_startup_process#Winlogon
That multiple logons hack may work, but it is not a supported configuration, and certainly a violation of the EULA.