How to give administrator rights to the program in windows?
Run as administrator with administrator password. The only way.
But there are programs (such as Photoshop and others) that are to run require administrator rights!
Photoshop definitely does not require administrator privileges and works just fine under a limited user, don't know about the other, it is likely, too.
Quite a few specific applications require administrator rights.
Have photoshop most likely is simply not enough to write swap file in the root of the drive, the default is the system drive.
Set up scratch disks in photoshop, give write permissions to the user on the right.