No, 2" is not enough for inside mounting. Minimum depth of window frame for inside mounting is 2.4".You can choose the outside mounting.