How to setup PCs with auto login to delete user profile upon each reboot?


Can this be done by GPO or .bat?

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
6,586 questions
No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Dillon Silzer 35,806 Reputation points

    Hi @Lingampalli, Sandeep Kumar Reddy

    Yes, you can do this with a GPO as seen below (I would set this to every 1 day):


    The GPO can be found under Computer Configuration > Administrative Templates > System > User Profiles


    If this is helpful please accept answer.

    1 person found this answer helpful.
    No comments

  2. 2022-09-17T12:20:16.573+00:00

    Thank you @Dillon Silzer .
    This will delete all the user profiles but we would like to delete only auto login user profile.