Avatar of compdigit44
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
Active DirectoryWindows Server 2008

Avatar of undefined
Last Comment
compdigit44

8/22/2022 - Mon
compdigit44

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

Hi

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

Cheers
compdigit44

ASKER
I checked everything to be logged. What bothers me is the fact is do not even see Event logs Event in the NPS console
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
Patrick Bogers

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

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

ASKER
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 Bogers

Well. If the policy is not set there will be no logging.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
compdigit44

ASKER
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 Bogers

Around the time of boot are there any specific errors logged in event viewer?
ASKER CERTIFIED SOLUTION
Patrick Bogers

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
compdigit44

ASKER
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 started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
compdigit44

ASKER
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 Bogers

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

ASKER
Thanks, I just do not understand why logging in NPS is being so much of a pain right now
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
compdigit44

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