hi everytime i insert any media devices like USB ,it automatically opens?why is that?
It's meant to do that, that's the default Windows setting. If you want to stop it doing that though you would just need to modify or disable autoplay.
This is completely normal and expected behavior. Any time you plug in an external storage media device, Windows Explorer will automatically open it for you.