Can a Thunderbolt iMac be used in target display mode while booted into Windows 7?
Target Display Mode is not supported from Boot Camp

Ref: Apple KB - Use your iMac as a display with Target Display Mode


  If your iMac is currently started up in Windows, it won't enter Target
  Display Mode. Target Display Mode isn't supported in Boot Camp.