Hi,
I have obtained a Windows Server 2008 R2 (Virtual Server) which does not support Active Directory. I have set up RAS and NPS, however, I am currently authenticating the users using the Windows User Console. I have more than 200 users.

I intend to set a certain duration for the users using the server, e.g. 2 weeks, 1 month, 3 months, etc. At this moment it is very time-consuming for me to scroll through the users and disable those I who have reached the end of their period.

Is there a way to disable the account automatically after a certain period?

I thank anyone who can give me a hint in this matter.

Ali Baradaran

Hi

Use certificates. Install certificate services and then issue a certificate to a user then set it to expire at a certain time or add it to revoke list.

Better to install ad though you can't add it through server manager you have to run dcpromo from command line.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.