raiguard / ModernGadgets

Sleek, minimalist, information-dense gadgets for the modern desktop. Inspired by the AddGadgets.com system monitoring gadgets. Built on the Rainmeter platform.
MIT License
300 stars 32 forks source link

"List my network adapters..." - CMD Flashes and Closes #281

Closed war59312 closed 2 years ago

war59312 commented 2 years ago

Hi,

For Network Meter Settings > "List my network adapters..."

It opens a CMD window but then closes. Should add a pause to it so it stays open on screen.

Best,

Will

SilverAzide commented 2 years ago

Huh? It does have a pause in it. Check the last line of the file ModernGadgets\@Resources\Addons\NetMonitor\NetworkAdapterList.cmd. It sounds like you have a problem someplace. Open a command prompt and run the batch file manually so you can catch the error message.

war59312 commented 2 years ago

OK, that's weird, if I run the cmd I get:

This program is blocked by group policy. For more information, contact your system administrator.

Only thing I have blocked is Chrome's software_reporter_tool.exe via HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowRun .

I removed that and did gpupdate /force and still blocked.

Seems all .cmd blocked now. This is my personal computer and not sure what blocked.

Ok, it was AppLocker at fault, I was testing it yesterday.

Sorry for false alarm, don't run cmd every day.