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: Powershell - clear event logs errors (Access Denied)

06 Mar 2017   #1

Windows 7 Ultimate x64
Powershell - clear event logs errors (Access Denied)

Hello everyone.

So I have an issue with Powershell. Ever since I installed Visual Studio 2015 I get errors in the powershell console when trying to clear event logs. I uninstalled VS2015 along with it's many components and I was able to reduce the number of errors down to two. Now these two are particularly hard to track down. I wasn't able to find the file names , sfc scan shows nothing , ccleaner doesn't do anything as well and I basically hit a dead end.

The command to clear events that I am using is this one:
wevtutil el | Foreach-Object {wevtutil cl "$_"}

os: windows 7 ultimate 64 bit

Here is an image of the errors I get now.

My System SpecsSystem Spec

 Powershell - clear event logs errors (Access Denied)

Thread Tools

Similar help and support threads
Thread Forum
Join Event logs
Is any way to join several event logs in one?
Performance & Maintenance
Strange event logs
Hi guys i dont really look into my event logs because usually, i dont have the need too. i randomly decided to look into my event log (while doing some maintenance on my setup) and found some strange events. two distinct event logs which are somewhat related. Problem 1. I can cause the...
General Discussion
After BSOD Event Viewer Logs Event ID 3012 and 3011 every time I boot
I was running 3DMark06 and got a BSOD code 124. After that every time I boot Event Viewer logs Error Codes ID 3012 and 3011. Attached are screenshots of both. I googled this and found two different threads where someone suggested to rebuild the performance counters. Both responses were...
BSOD Help and Support
Administrator getting Access Denied along with CHkdsk errors at startu
G'day, I'm trying to help a friend troubleshoot a problem that she is having on her Win7 64-bit machine. She is the only user of the machine and her user icon shows her as administrator. I have not seen the problem but according to phone conversations when she turns the PC on she gets a...
Hardware & Devices
Event viewer logs
Hi guys For the last 4 weeks i get the following 4 errors at boot in the event viewer never get anything else just these.Can anyone translate the squiggles for me and tell me if there is anything to be worried about or not Thankyou
Performance & Maintenance

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 14:50.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App