Turning off Autoplay

I am looking for some advice...I am trying to turn off autoplay by typing pgedit.msc in run, however it says that the file is missing or can't be found. If there is any other way to turn off autoplay in windows please feel free to tell :)

Thanks

#484200

you can do that with the good old Tweak UI powertoy, that will let you choose which drives, drive types and autorun providers to run

#484205

On the other note its "gpedit.msc" and you are giving wrong name pgedit.msc ;)

#484207