SOLVED Script to delete users profile


Joined
Jan 18, 2021
Messages
2
Reaction score
0
hello guys, I'm new here. can someone help me please
I need a script with following conditions:
1- run on windows start up.
2- check the users profile if not logon more than 30 days on this PC, then delete that profile. (not include the administrator profile).
 
Last edited by a moderator:
Ad

Advertisements

Joined
Sep 26, 2017
Messages
2,772
Reaction score
544
It might be important to know if the Edition of Windows is Pro, Home, Enterprise or Education. Home doesn't come with Group Policy editor but Pro may have something. I recall when setting a password for login on Pro something about how often it needs to be changed but being the only user ignored it.
 
Ad

Advertisements

Joined
Jan 18, 2021
Messages
2
Reaction score
0
It might be important to know if the Edition of Windows is Pro, Home, Enterprise or Education. Home doesn't come with Group Policy editor but Pro may have something. I recall when setting a password for login on Pro something about how often it needs to be changed but being the only user ignored it.
Windows 10 Pro
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top