Jump to content

I need access to delete stuff in program file but when I try I get "unable to (insert operation hear) The system cannot find the file specified"
so I cant move stuff to it manually delete programs or go into folders
I have admin status on my computer and yes I attempted to change the permission of the folder but to no avail

Link to comment
https://linustechtips.com/topic/1211913-cant-edit-program-files-or-x86/
Share on other sites

Link to post
Share on other sites

Do you have non-English characters in the file name? Sometimes Windows Explorer has problems removing such files.

You can go around that by using UNC paths ...ex something like "\\?\C:\Program files\ ... "  in command line to rename or delete a file.

 

Also, Windows will block you from deleting some files as they're considered part of the operating system, and it monitors program files  and the windows folder and will block you from deleting files that would prevent some windows programs from working.

Workaround for that would be booting in safe mode or installing the drive as a secondary drive in a system.

 

 

Link to post
Share on other sites

1 minute ago, mariushm said:

Do you have non-English characters in the file name? Sometimes Windows Explorer has problems removing such files.

You can go around that by using UNC paths ...ex something like "\\?\C:\Program files\ ... "  in command line to rename or delete a file.

 

Also, Windows will block you from deleting some files as they're considered part of the operating system, and it monitors program files  and the windows folder and will block you from deleting files that would prevent some windows programs from working.

Workaround for that would be booting in safe mode or installing the drive as a secondary drive in a system.

 

 

I am attempting to move stuff with normal characters into program files also I want to delete stuff that I have installed my self that does not come with an uninstaller that control panel did not pick up

Link to post
Share on other sites

40 minutes ago, Linus No Beard said:

I have admin status on my computer and yes I attempted to change the permission of the folder but to no avail

You have an admin account or are you actually running as administrator?

 

Those are two different things, when you're logged in as admin you don't actually have admin priveleges until you specify that you want them (for example by clicking "run as administrator"). In your case, you could run cmd as admin, and then delete the file through cmd.

Link to post
Share on other sites

3 minutes ago, akio123008 said:

You have an admin account or are you actually running as administrator?

 

Those are two different things, when you're logged in as admin you don't actually have admin priveleges until you specify that you want them (for example by clicking "run as administrator"). In your case, you could run cmd as admin, and then delete the file through cmd.

@akio123008 how do you run windows explorer as admin also when attempting to delete I get a UAC and hit allow

Link to post
Share on other sites

Just now, Linus No Beard said:

@akio123008 how do you run windows explorer as admin also when attempting to delete I get a UAC and hit allow

Well if you hit allow it should run as admin.

You could still give the command line a try just to see what that does.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×