^ That's not right tho ... If Windows does not natively recognise camera (which is pretty often) you need drivers to do anything.
Look in Add/Remove for Pentax software .. like 'Pentax USB Disc Device" and remove it.
After removing Pentax driver, open Device Manager/View and 'check 'Show Hidden Devices', and scroll to look for Pentax camera in Imaging Devices and remove (R Click/Uninstall) also in the Disc Drives list.
Then look for and/or download the Samsung USB driver, and reinstall. That is all you should need to do. Then it should be recognised.