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

Lingampalli, Sandeep Kumar Reddy 66 Reputation points

Can this be done by GPO or .bat?

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

2 answers

Sort by: Most helpful
  1. Dillon Silzer 54,831 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.
    0 comments No comments

  2. Lingampalli, Sandeep Kumar Reddy 66 Reputation points

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

    0 comments No comments