windows 10 window off screen code example Example: windows command turn off screen win + r and type "cmd" to open win terminal then: scrnsave.scr /s