This is because cyclic (hemiacetal) structure of D–glucose forms an open chain structure in aqueous medium, which then reacts with NH OH to give an oxime (reaction of –CHO group)2 while, pentaacetate of glucose can not form an open chain structure because anomeric carbon is involved in acetylation.
