script to delete user

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
v444
Posts: 2
Joined: 13 Jan 2021 01:01

script to delete user

#1 Post by v444 » 13 Jan 2021 01:13

hello guys, im new here :oops: . 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) :!:

thanks in advance.

penpen
Expert
Posts: 2009
Joined: 23 Jun 2013 06:15
Location: Germany

Re: script to delete user

#2 Post by penpen » 15 Jan 2021 17:11

In case noone replies, you might want to ask in a forum that typically does windows admin stuff.
If i remember right superuser.com might be able to help you.


penpen

Post Reply