error in windows foundation 2012r2: server did not finish checking license compliance

after a hard reset because of electricity issue, error in windows foundation 2012r2: server did not finish checking license compliance. if the server is joined to a domain, make sure the server is connected to a domain controller. if the license compliance check cannot be completed, the server will automatically shut down in 9 days etc.
the server is a stand alone server in small company, with only 4 users. no trust relationship (checked in AD). Users could not connect to the server's shares.
I found that some services did not start: DFS namespace, net logon, software protection, windows time, driver foundation. All of them started OK manually from services management console. In event viewer application and services-Microsoft-windows-server infrastructure licensing-operational I found: error id 2 (first to occur) (The Forest Trust Check in the Licensing component did not pass because error 0x80004005 occurred in function fe6).
ID 38: The Forest Trust Check detected a condition in your environment that is out of compliance with the licensing policy. This server will be automatically shut down if the issue is not corrected in 9 day(s) 21 hour(s) 0 minute(s). Please look for additional events for Forest Trust Check to troubleshoot.
Event ID:      70
User count check did not pass because error 0x80004005 occurred in function f7.
Event ID:      50
Root domain check did not pass because error 0x8007054B occurred in function f1981 [EWEU].
The specified domain either does not exist or could not be contacted.
Make sure that the domain that this computer is joined is reachable. This server will automatically shut down if the issue cannot be corrected.

after the services were started manually those errors did not occur again, and the users can work as usual, and the log says that license check passed ok.
after restart the errors happened again.
I checked dns on the server, found no errors there, and made sure that on the NIC dns is set to the lan address of the server.
I also enabled tcpip v6 that was disable on that nic.
FSMO check was OK.
waiting for suggestions.
gilsolutionsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

gilsolutionsAuthor Commented:
solved.
there was a usb disk error.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
SBS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.