Cant run Diablo 2

After installing diablo 2 on my computer. I load up the game and it just glitches like crazy and i am un able to get the game fully running. it doesn’t freeze up but the screen is glitching all over the place. I get an alert saying “This app cant run because it causes security performance issues on Windows”. Any idea how to fix???

Tried running it in compatibility mode, or windowed mode?