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
Access Denied (Error 5) when trying to start Windows Event Log service
Thanks in advance for your assistance. I have a weekly requirement to view and clear the Windows Security Logs on my hardened Windows 7 computer. This has been working fine up until last week. When I open up my saved EventViewer.mmc console, I receive the following error: "Event Log Service is...
System Security
Join Event logs
Is any way to join several event logs in one?
Performance & Maintenance
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 02:40.
Twitter Facebook Google+