Glucose reacts with NH2OH via the open chain form which has the free –CHO group to form glucose oxime.
Glucose penta acetate, on the other hand, cannot be converted into the open chain form because its anomeric hydroxyl group is acetylated and hence does not form the oxime.