How to remove shortcut virus from USB drive ? Press win+R it will open run window Enter cmd and press ok. In command window type attrib and hit enter. Now type “attrib -h -r -s /s /d e:\*.*” and hit enter (Remove e:\ with sutaible USB Drive Level) After successfully run the script you will get following windows