Link to home
Avatar of compdigit44

asked on

Windows 2008 R2 NPS not creating log file

My Windows 2008 R2 NPS server is set to log information to C:\Windows\System32\LogFiles\NPS and have setup account to logs to a text file. Even after restarting the NPS services no text file has been created. And yet the NPS server has been registered in AD.

I have been on this for a couple of hours now with now luck
Avatar of compdigit44


I also wanted to mention that if I select "Network PPolicy and Access Services" there are no events listed under events either
Avatar of Patrick Bogers

In NPS Microsoft Management Console -> accounting -> Log file properties.... what did you select to be logged? If any?

I checked everything to be logged. What bothers me is the fact is do not even see Event logs Event in the NPS console
Can you open a command prompt as administrator and run this command?

auditpol /set /subcategory:"Network Policy Server" /success:enable /failure:enable
I did check this before and it was already set to log both success an failure events but will check again. I am just confused as to why it will not event create a text file log event if it is blank
Well. If the policy is not set there will be no logging.
I ran the auditpol /set /subcategory:"Network Policy Server" /success:enable /failure:enable command again from an elevated command prompt, rebooted the server and not NPS logs file created still
Around the time of boot are there any specific errors logged in event viewer?
Avatar of Patrick Bogers
Patrick Bogers
Flag of Netherlands image

Blurred text
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Not that I am aware of, I did not release all of the these items were required for NPS logging since I did not see any of this in the research if did before doing this
I tried what you suggested and still not luck. If there any other way for me to tell if devices are connecting to the NPS servers without the audit log present since I am just trying to test a change on a test NPS server before doing it in production
You could try netstat -an in command prompt before connecting and direct after connecting, the originating ip address must be listed there.
Thanks, I just do not understand why logging in NPS is being so much of a pain right now
I was never able to get logging in NPS to work but thank you everyone for all of the effort