Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Cannot Delete Microsoft Security Client folder in C:\Program Files

12 Apr 2015   #1
Robbie1979

Windows 7 64-bit
 
 
Cannot Delete Microsoft Security Client folder in C:\Program Files

Hey there guys, I'm new here. Wish it had been under better circumstances but hey ho.

I have searched the forums high and low before asking this so please try not to berate me too much!

I naively installed MSE then promptly uninstalled it and got something that offers better protection.

After uninstalling I noticed that the the C:\Program Files\Microsoft Security Client folder was still present and had all the files still in there, including msseces.exe. Though the program seems to be gone and isn't shown under Control Panel, I'd like to delete this folder. I assume this is just Microsoft's inefficiency but I see no reason why this folder should hang around.

When I try to delete it I get the old 'You require permissions from Administrators to make changes to this folder'. Yes, my account is an admin account and I've also tried deleting it by enabling the administrator account in the command prompt, logging in with that account and it still doesn't work. I've also followed the procedure outlined in this video: https://www.youtube.com/watch?v=XPs-1IgztbU and nothing seems to work.

I'm at my wit's end and need the help of you good people. Alternatively, maybe there's a good reason why this folder is still present, in which case maybe someone can apprise me. Oh, I've also tried this method ( Uninstalling Microsoft Security Essentials - Microsoft Community )with the .bat file and it won't delete the files, says permission denied.

Thanks for any help guys!


My System SpecsSystem Spec
.
12 Apr 2015   #2
gregrocker

 

In the few cases in my installs with MSE which still get infected, I have them upgrade Malwarebytes free scanner to Trial version and then to paid Real Time Protection. None of these have ever gotten infected again and they enjoy perfect performance which is rarely the case with any bloated AV. Just something to keep in mind.

As to the remnants of MSE, it normally uninstalls completely so I'd be tempted to reinstall it for the purpose of seeing if it will uninstall correctly. If not then you may have system corruption.

If all else fails go ahead and Take Ownership of the files needing deletion using Take Ownership Shortcut

I'd also run CCleaner - PC Optimization and Cleaning - Free Download Disk and Registry cleaners to make sure anything else left that's safe to remove is deleted.
My System SpecsSystem Spec
13 Apr 2015   #3
Robbie1979

Windows 7 64-bit
 
 

Thanks for the response.

I think there's some confusion around the term infected here. My system hasn't been infected by malware or anything similar (other than MSE itself!).

I'd be surprised if it's system corruption as Windows was just installed fresh today on a brand new SSD.

I'll try the take ownership shortcut and let you know but I haven't read good things about trying to delete obsolete folders from the Program Files directory in Windows 7.

I tried CCleaner and it didn't do anything nor identify any old registry entries pertinent to MSE - although that may have been because I did it after running the .bat which removes them.
My System SpecsSystem Spec
.

13 Apr 2015   #4
Robbie1979

Windows 7 64-bit
 
 

As suspected, it doesn't work.

My System SpecsSystem Spec
13 Apr 2015   #5
gregrocker

 

Did you install the Take Ownership shortcut and reboot the PC, rightclick the files which will not delete, Take Ownership, Tick the box shown then try Deleting?

Sometimes you'll need to go into the File folder, take ownership and delete the sub-files before it will complete.

A possibly better solution I'd try first is posted by Derek just below.
My System SpecsSystem Spec
13 Apr 2015   #6
derekimo

Microsoft Community Contributor Award Recipient

 
 

Additionally, you can try the removal tool.

Have a look at this,

Microsoft Security Essentials - Uninstall Completely

Make sure you read the Information and Warning boxes at the top.
My System SpecsSystem Spec
13 Apr 2015   #7
Bernardus

Microsoft Windows 7 Ultimate 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

maybe you could try "delete on reboot", it's a freeware tool.
Normally I uninstall with IO bit uninstaller, which searches any left overs en remove or even shred them.
There is the file protectionsystem of windows, it may prevent deleting or changing system folders.
My System SpecsSystem Spec
13 Apr 2015   #8
Robbie1979

Windows 7 64-bit
 
 

Quote   Quote: Originally Posted by gregrocker View Post
Did you install the Take Ownership shortcut and reboot the PC, rightclick the files which will not delete, Take Ownership, Tick the box shown then try Deleting?

Sometimes you'll need to go into the File folder, take ownership and delete the sub-files before it will complete.

A possibly better solution I'd try first is posted by Derek just below.
I rebooted. No box pops up, a command prompt flashes for about a tenth of a second. I installed the take ownership with pause option.

Quote   Quote: Originally Posted by derekimo View Post
Additionally, you can try the removal tool.

Have a look at this,

Microsoft Security Essentials - Uninstall Completely

Make sure you read the Information and Warning boxes at the top.
Thanks, have tried this and it did nothing.

Quote   Quote: Originally Posted by Bernardus View Post
maybe you could try "delete on reboot", it's a freeware tool.
Normally I uninstall with IO bit uninstaller, which searches any left overs en remove or even shred them.
There is the file protectionsystem of windows, it may prevent deleting or changing system folders.
Thanks but I should not need a tool to delete a folder on my own system. I have an admin account and what I want to achieve is about as simple as it gets. Windows 7 really is appalling. Does anyone have any idea what actually needs to be done to delete a folder from the program files directory on this ridiculous operating system because even logging in with the hidden admin account fails. So clearly there is something wrong here. People talk about viruses taking over their PCs, well now I know how they feel.
My System SpecsSystem Spec
13 Apr 2015   #9
Berton

Windows 7 Ultimate 64-bit, Windows 8.1 64-bit, Mac OS X 10.10, Linux Mint 17, Windows 10 Pro TP
 
 

Sounds to me like something from that program is being held in memory, might need to put MSCONFIG in the Run box [press the Windows key + R at the same time] and uncheck everything related to that program then save and reboot and try again.

When all else fails I use a 'brute force' method to remove stubborn files. I boot to a Linux LiveDVD [Linux Mint 17.1], navigate to the Folder and delete it. The downside is there may be error messages when booting to Windows or in a rare instance no boot at all but that depends upon what files are removed.
My System SpecsSystem Spec
13 Apr 2015   #10
Layback Bear

Windows 7 Pro. 64/SP-1
 
 

From post #8
Quote:
I rebooted. No box pops up, a command prompt flashes for about a tenth of a second. I installed the take ownership with pause option.
When the command prompt flashes for a split second normally means the you are not in the admin account.

All the suggestion above need to be run from the administrator account.

MSE is a anti virus program and will not let just anybody remove it.
Like any anti virus program, it is protecting itself in case a infection is trying to shut it down or remove it.
My System SpecsSystem Spec
Reply

 Cannot Delete Microsoft Security Client folder in C:\Program Files




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Microsoft Security Client OOBE (Event ID: 3)
My system keeps shutting down at random times. Especially more often during the weekends. I have tried replacing the entire system twice already and reloading the OS multiple times with no success. I checked the Event Viewer and there is always Kernel-Power and Kernel-EventTracking Error with...
General Discussion
Microsoft Security Client OOBE stopped; 0xC000000D
Guys I'm hung on this one: I get a lot of these errors, no halts or reboots or blue/black screens. This install is fairly new - within the last 6 months, so its not an 'old' installation of 7 or of MSE. The many threads I've dug up on the topic including here on this forum approach it from...
System Security
Microsoft Security Client error in event viewer.
This error is occurring at start up and on a reboot Microsoft Security Essentials seems to be working and updating ok. Only thing changed recently was a reinstalled 64 bit driver for Epson DX750 printer. Log Name: Microsoft-Windows-Kernel-EventTracing/Admin Source: ...
Performance & Maintenance
How to delete obstinate folder in Program Files
Hi There's a folder in Program Files that I want to delete but I encounter a variety of obstacles when I try. If I try to delete it at the Program Files> root, Windows Explorer reboots. If I try to first 'delete up from the bottom', working through a series of sub-folders to delete the...
Performance & Maintenance
Unable to delete a folder in Program Files x(86)
I had a suite of programs that I wanted to uninstall. In Control Panel I chose to install the suite. There was an error. I tried to reinstall the software but still couldn't uninstall a dialog box opened and said the suite was already uninstalled. and offered to delete the entry. None of the...
General Discussion
Microsoft Security Client
Hi all, I've been getting the above message box pop up when I try to start Microsoft Security Essentials! I get an error code 0x80070002 noted in the same error box! This started today when I found a w32 Trojan using spybot S&D! Since I removed this nasty I cant update windows or uninstall MSE!...
System Security


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 07:47.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App