2

I know this may be a tricky question but on my Windows 11 machine Some folders are being created every time I boot the system. I delete them and they get created again and all of them are empty.

I disabled all startup programs but folders get created.

Is there anyway/Tool to know how/who/what created a folder?

As the last resort I will disable all services one by one and reboot but this will take forever and may not even help.

Also my antivirus does not report of any virus/malware.

Any ideas?

0

2 Answers 2

2

To trace which process is creating these folders, you could use the free Process Monitor.

You will need to use the Boot Time Logging option of Process Monitor, delete these folders, boot, then search within the log for one of the newly-created folder. This will identify the process that created it.

Be warned that Boot Time Logging slows down very noticeably the boot process, so ensure it is not still turned on for your next boot.

Reference: How To Enable System Boot Time Logging using Process Monitor Tool.

6
  • Very promising. I will test it!
    – S Nash
    Commented Aug 4, 2022 at 20:00
  • Cannot see "Enable boot Logging? under options menu . I'm using v16.43. Hopefully this is not removed.
    – S Nash
    Commented Aug 4, 2022 at 20:11
  • What version you are using?
    – S Nash
    Commented Aug 4, 2022 at 20:12
  • I downloaded version 16 but still do not see that option.
    – S Nash
    Commented Aug 4, 2022 at 20:20
  • OK you are referring to Process Monitor not Process Explorer. clearly a typo. . Please edit/correct your answer and I will Accept it. Thanks for letting me know about these wonderful tools!
    – S Nash
    Commented Aug 4, 2022 at 20:25
4

By default, whoever creates the item (file, folder, etc) becomes the owner. You can check the owner by

  1. Right-click the folder and click Properties. Under the Security tab, click Advanced and the owner will be displayed here, near the top. The general tab will also show the Creation date (but this can be changed so not useful in the case of something malicious)

  2. Open a PowerShell terminal and type the following command, substituting your folder for the <FolderPath>: Get-ACL <FolderPath> | Select-Object Owner

As for the folders themselves, there are many legitimate processes which cause random folders to be created. Hidden folders in the root of the C: drive, for example, are created by the Windows Updte process ($Windows.~WS or similar) as well as installers for a lot of standard software (NVidia, Intel, to name a couple).

2
  • The owner is likely 'System', 'Trusted_installer' or something else... That doesn't narrow it down much I'm afraid.
    – MiG
    Commented Aug 5, 2022 at 0:59
  • 1
    Perfect, it shows the logged in user on our network drive, many thanks!
    – MS Berends
    Commented Oct 27, 2023 at 11:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .