We help IT Professionals succeed at work.

Windows 2008 R2 NPS not creating log file

1,236 Views
Last Modified: 2018-05-10
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

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
CERTIFIED EXPERT

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
Patrick BogersDatacenter platform engineer Lindows
CERTIFIED EXPERT

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
CERTIFIED EXPERT

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
CERTIFIED EXPERT

Commented:
Around the time of boot are there any specific errors logged in event viewer?
Datacenter platform engineer Lindows
CERTIFIED EXPERT
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION

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
CERTIFIED EXPERT

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

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions