A yawing and hub braking hydraulic system for a wind driven generator set is composed of an oil tank 1, an oil pump 4, an oil filter 27, an oil filter 29, a pressure switch 8, a pressure switch 24, a one-way throttle valve 9, a solenoid valve 15, a solenoid valve 21, a solenoid valve 22, a solenoid valve 35, a power accumulator 11, a power accumulator 25, an overflow valve 5, an overflow valve 17, an overflow valve 18, a one-way valve 6, a one-way valve 12, a one-way valve 16, a one-way valve 20, a motor 3, a liquid level meter 28, a temperature control switch 19 and the like. The system is characterized in that functions of the two-position two-way solenoid valve 15 include zero-position unidirectional closing and energized-position inlet and outlet connection, the pressure switch 24 is connected on an oil path of the power accumulator 25, and the two-position three-way solenoid valve 22 which controls a hub brake and the two-position three-way solenoid valve 35 which controls a yawing mechanical positioning bolt are provided with manual mechanical positioning devices. By the aid of the system, heating during operation of the system can be effectively reduced, and the long-term normal operation of a main machine can be guaranteed.