Windows 10: script to delete users profile

Discus and support script to delete users profile in User Accounts and Family Safety to solve the problem; 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... Discussion in 'User Accounts and Family Safety' started by v444, Jan 21, 2021.

  1. v444 Win User

    script to delete users profile


    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).

    :)
     
  2. GMC7700 Win User

    Deleted User but Cannot Remove Profile Folder

    None of this works. Silly me for deleting the profile via control panel.

    So when I go to the systempropertiesadvanced, the profile is not listed.

    When I go to the registry keys, the profile is not listed there either.

    But the c::\users\ has the folders that I cannot delete.
     
    GMC7700, Jan 21, 2021
    #2
  3. The User Profile Service service failed the sign-in. User profile cannot be loaded.

    Hello,

    When attempting to login to my computer, I get the following message:

    "The User Profile Service service failed the sign-in.

    User profile cannot be loaded."

    I referred to this Help article,You receive a "The User Profile Service failed the logon” error
    message,


    but the only difference is I only have one user profile on this computer. So, I can't login with another user to go through the steps listed in this post.

    Any suggestions?

    Thanks,
     
    Gerald Matthews, Jan 21, 2021
    #3
  4. script to delete users profile

    Deleting Windows 10 user account/profile

    Hello,

    For us to better assist you, we'd like to know the following:

    • Confirm which build is currently installed on your device. To check, follow the steps below:
    • Press Windows key + R, then type in winver.
    • Click OK.
    • Are you login to an Administrator account?

    Meanwhile, we suggest that you disable the said user account via Command Prompt. Refer to the steps below:

    1. Right-click on Start button, select
    Command Prompt (Admin).

    2. On the Command Prompt window, type in net user and press
    Enter.

    3. A list of user profiles on your computer will appear, if you see the user account you wish to disable then you can type:

    net user ExampleUserName /active:no (note the space between the end of the user name and the /) and press
    Enter.

    Note: Make sure that you have other accounts available to your computer with Administrator rights before performing this method.

    We look forward to your response.

    Regards.
     
    Melchizedek Qui, Jan 21, 2021
    #4
Thema:

script to delete users profile

Loading...
  1. script to delete users profile - Similar Threads - script delete users

  2. script to delete users profile

    in Windows 10 Support
    script to delete users profile: 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). 172632
  3. Unable to delete user profile

    in Windows 10 Network and Sharing
    Unable to delete user profile: Hi Folks Sorry if this is the wrong part of the forum, but it all started here. I am unable to delete an administrator profile from the account of another administrator. New PC with an SSD for apps and HDD for data. Tried to set it up to store data on the HDD by changing...
  4. How to Delete a User Profile

    in Windows 10 Network and Sharing
    How to Delete a User Profile: I know nothing about softwares and how they work., let alone this whole OneDrive thing. I have a new notebook and I copied some files from an external hard drive. I didn't realise that it was saving everything to OneDrive. I got a message to say that my OneDrive had run out...
  5. How to recover a deleted user profile ?

    in Windows 10 Ask Insider
    How to recover a deleted user profile ?: I accidentally deleted my main user account through the control panel but chose the "keep files" option. So my user folder is under C:\Users but i cant find a way to revert all of them back to my previous state. If that is possible at all. I tried creating a new user and...
  6. Delete user profile that is greyed out

    in Windows 10 Customization
    Delete user profile that is greyed out: I have had to create a new profile since my old profile had problems that no one could figure out. My new profile is "Administrator" but when I go into netplwiz under the new profile to delete the first user profile, remove is greyed out. How can I delete it?...
  7. Restore user profile accidentally deleted

    in Windows 10 Customization
    Restore user profile accidentally deleted: Hi, I tried to delete my secondary user account and I accidentally deleted both of them. I lost almost everything. Is there any way it can be recovered? with the previous settings and all that? I do not have a restore back up date. None of the files I had on my desktop...
  8. Accidentally deleted user profile

    in Windows 10 Customization
    Accidentally deleted user profile: Hi I was manually deleting a previous laptop owner’s user profile yet somehow my own and current profile was deleted even though i did not select it, and even thougj windows categorically states it cannot be done whilst logged into it, which i was. My questions are: 1)...
  9. can't delete old user profiles

    in User Accounts and Family Safety
    can't delete old user profiles: help please i cant delete the old profile name in user/ folder microsoft tech support ruined it 85151
  10. Strange user profile; Not able to delete it

    in User Accounts and Family Safety
    Strange user profile; Not able to delete it: Good evening! In August I bought a HP 15-AC170NB. (windows 10) The laptop was standing in the store for a couple months. I bought that one because it was the last. They have resetted the whole laptop, making it ready for me to use it. When I came home I began making my...