An anchor device is utilized to locate the whipstock both longitudinally and rotationally in order to properly orient the whipstock prior to beginning the sidetrack operation. In order to hydraulically set the slips a hydraulically actuated piston in a hydraulic cylinder is pressurized to overcome a restraint such as a shear pin thereby releasing a spring that drives a second piston to force the slips radially outwards thereby setting the anchor. In certain instances the anchor may also be set down on a rod that is also attached to the hydraulic piston. By setting down on the rod the shear pin is also overcome which also releases the spring.