Windows 2008 R2 NPS not creating log file

compdigit44
compdigit44 used Ask the Experts™
on
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
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Author

Commented:
I also wanted to mention that if I select "Network PPolicy and Access Services" there are no events listed under events either
Patrick BogersDatacenter platform engineer Lindows

Commented:
Hi

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

Cheers

Author

Commented:
I checked everything to be logged. What bothers me is the fact is do not even see Event logs Event in the NPS console
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Patrick BogersDatacenter platform engineer Lindows

Commented:
Can you open a command prompt as administrator and run this command?

auditpol /set /subcategory:"Network Policy Server" /success:enable /failure:enable

Author

Commented:
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
Patrick BogersDatacenter platform engineer Lindows

Commented:
Well. If the policy is not set there will be no logging.

Author

Commented:
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
Patrick BogersDatacenter platform engineer Lindows

Commented:
Around the time of boot are there any specific errors logged in event viewer?
Datacenter platform engineer Lindows
Commented:
Also, did you configure enabling Network Policy Server logon/logoff auditing via default domain group policy?
The success/failure setting can be found at Computer Configuration -> Policies -> Windows Settings -> Security Settings -> Advanced Audit Policy Configuration -> Audit Policies -> Logon/Logoff -> Audit Network Policy Server.

Author

Commented:
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

Author

Commented:
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
Patrick BogersDatacenter platform engineer Lindows

Commented:
You could try netstat -an in command prompt before connecting and direct after connecting, the originating ip address must be listed there.

Author

Commented:
Thanks, I just do not understand why logging in NPS is being so much of a pain right now

Author

Commented:
I was never able to get logging in NPS to work but thank you everyone for all of the effort

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial