[SOLVED] Cannot delete files, because they are open in system.

GytisLith

Distinguished
Nov 12, 2015
9
0
18,510
Hi,

I "uninstalled" Steam, but it left some files and folders. So of course I try to just delete, but they are in use by the system. I tried using safe mode, but it still didn't work. Tried using Unlocker to delete them, no success. No idea what's happening, please help. Also I didn't find anything that caught my eye in processes.
 
Solution
boot from Ubuntu live USB, delete it from inside linux. No parts of windows running to stop it. - https://itsfoss.com/create-live-usb-of-ubuntu-in-windows/

technically you could do same from a windows installer
boot from installer
on screen after languages, choose repair this pc, not install.
choose troubleshoot
choose advanced
choose command prompt
type notepad and press enter
in notepad, select file>open
Use file explorer to delete the folder.

or just from command prompt in winre, all you need is a non working windows.

doesn't mean other things might not have been using it, though I am not sure what you deleted and what you left.

GytisLith

Distinguished
Nov 12, 2015
9
0
18,510
to delete files which system still use, well theres a trick to it.
move that file to another folder within same drive partition, then reboot, then u can delete it

but u do realize if system is using it, it probably needs it?

I tried moving the folder, but it gives me error. 0x80071aa8

And this is Steam, a game program, I doubt it needs to be here.
 
i removed steam from an old pc without a problem , do you have an entry for steam in your start up menu , if you do it could be trying to launch the program you dont have.
As somebody else said short cuts and unwanted folders sometimes cant be removed until a re start.
The easiest to get rid of unwanted items is to run ccleaner on health check , custom clean and registry clean up.
 

Colif

Win 11 Master
Moderator
safe mode, steam won't be running
go to settings/update & security/recovery
under advanced startup, click restart now button
this restarts PC in a blue menu
choose troubleshoot
choose advanced
choose startup options
click the restart button
choose a safe mode (it doesn't matter which) by using number associated with it.
Pc will restart and load safe mode

if it still doesn't work, what is name of files?
 

GytisLith

Distinguished
Nov 12, 2015
9
0
18,510
safe mode, steam won't be running
go to settings/update & security/recovery
under advanced startup, click restart now button
this restarts PC in a blue menu
choose troubleshoot
choose advanced
choose startup options
click the restart button
choose a safe mode (it doesn't matter which) by using number associated with it.
Pc will restart and load safe mode

if it still doesn't work, what is name of files?

I mentioned that I tried safe mode, here are the files:
o8dQJ1S.png
 

Colif

Win 11 Master
Moderator
boot from Ubuntu live USB, delete it from inside linux. No parts of windows running to stop it. - https://itsfoss.com/create-live-usb-of-ubuntu-in-windows/

technically you could do same from a windows installer
boot from installer
on screen after languages, choose repair this pc, not install.
choose troubleshoot
choose advanced
choose command prompt
type notepad and press enter
in notepad, select file>open
Use file explorer to delete the folder.

or just from command prompt in winre, all you need is a non working windows.

doesn't mean other things might not have been using it, though I am not sure what you deleted and what you left.
 
Solution

GytisLith

Distinguished
Nov 12, 2015
9
0
18,510
boot from Ubuntu live USB, delete it from inside linux. No parts of windows running to stop it. - https://itsfoss.com/create-live-usb-of-ubuntu-in-windows/

technically you could do same from a windows installer
boot from installer
on screen after languages, choose repair this pc, not install.
choose troubleshoot
choose advanced
choose command prompt
type notepad and press enter
in notepad, select file>open
Use file explorer to delete the folder.

or just from command prompt in winre, all you need is a non working windows.

doesn't mean other things might not have been using it, though I am not sure what you deleted and what you left.

Alright, first I tried with notepad, it didn't work. But I tried with ubuntu and it worked. Thanks.