.SCR

SCR File

Windows Screensaver
Ask a question
QUICK ANSWER

A SCR file is a Windows screensaver. It is technically a Windows program (same Portable Executable format as an .exe), so it can run arbitrary code on your PC. To install a trusted screensaver, right-click the .scr and choose Install or Test. An unexpected .scr arriving by email should be treated as potential malware and not opened.

Developer: Microsoft Category: System Files MIME: application/x-msdownload
OPENS ON Windows
Related: .NOMEDIA · .DLL · .TMP · .LNK

On this page

19k+ extensions indexed
Last reviewed Aug 26, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the SCR file format?

.scr files are Windows Screensaver executables - binary files that store executable code for desktop screensavers. A .scr is a standard Portable Executable starting with the MZ magic bytes (4D 5A) and a PE\0\0 signature, structurally identical to a regular .exe.

A screensaver is a type of utility that can generate graphics, moving images or patterns, or even sounds. A screensaver can be launched automatically after a period of inactivity or manually, depending on system desktop settings. The original purpose of screensavers was to prevent monitor phosphor burn-in and wear when idle for a longer time.

Windows passes .scr files three command-line switches: /s (run), /c (configure), and /p <HWND> (preview). Explorer's right-click menu surfaces these as Test, Configure, and Install options.

.scr files can be installed manually by copying them into %SystemRoot%\System32. A newly installed screensaver becomes available from Display Settings or a .deskthemepack theme package. Because .scr files are full Windows executables, they carry the same security risk as .exe files - always verify the source before installing an untrusted screensaver.

Security & safety

RISK: HIGH

This is the headline fact: a .scr is a fully functional Windows executable, so running one can do anything an .exe can - install malware, ransomware or a trojan. Emailing a virus as a 'screensaver' (e.g. photos.scr, invoice.scr, often zipped) is a long-running attack because Windows hides known extensions by default, making malware.scr look like a document. Safety checklist: (1) NEVER open an .scr that arrives by email/chat or from an untrusted download - treat it exactly like an unexpected .exe; (2) turn ON 'File name extensions' in Explorer's View menu so disguised files are visible; (3) to inspect a suspicious .scr safely, open it as an archive in 7-Zip or in Resource Hacker (which read it WITHOUT executing), and scan it on VirusTotal; (4) legitimate screensavers should come from a known vendor or the Microsoft Store, code-signed where possible. If folders or files suddenly appear as .scr, suspect malware and run a full antivirus scan.

Format details

in a nutshell
FULL NAMEWindows Screensaver
DEVELOPERMicrosoftsince 1992 (screensaver support in Windows 3.1)
CATEGORYSystem Files
MIME TYPEapplication/x-msdownload
TYPEWindows executable (Portable Executable / PE) with a .scr extension
MAGIC BYTES · FILE SIGNATURE
OFFSET
0001
HEX
4D5A
ASCII
MZ
A .scr is literally a Windows PE executable - it starts with "MZ" (4D 5A) and contains the "PE\0\0" signature at the offset pointed to from 0x3C, exactly like an .exe. The only difference from a normal EXE is the .scr extension and that it responds to /s (run), /c (configure) and /p (preview) command-line switches.

Programs that open SCR files

Windows3 apps
7-Zip Open-source Right-click > 7-Zip > Open archive to INSPECT a screensaver (a PE file) and extract embedded images WITHOUT running it - useful to vet a suspicious .scr.
Resource Hacker Free Open the .scr to view its resources (icon, images, dialogs) without executing the code - safe way to see what's inside.
Windows (built-in) Built-in Right-click the .scr > Install (sets it as the active screensaver) or Test (previews it). Configure via Settings > Personalization > Lock screen > Screen saver. Only do this for files you trust.

Technical details

deep spec
File structureWindows Portable Executable (PE32 or PE32+) - same binary format as .exe and .dll files
Magic bytes4D 5A ("MZ") at offset 0; PE\0\0 signature at the offset stored in bytes 0x3C-0x3F
MIME typeapplication/x-msdownload
Command-line switches/s (run full-screen), /c (open configuration dialog), /p <HWND> (render preview in Screen Saver Settings)
Installation path%SystemRoot%\System32 for 64-bit screensavers; %SystemRoot%\SysWOW64 for 32-bit screensavers on 64-bit Windows
Windows APIScreen Saver Library (scrnsave.h / scrnsave.lib) or raw Win32 GDI/Direct3D for full-screen rendering
Embedded resourcesStandard PE resource sections can contain icons, bitmaps, dialog boxes, string tables, and version information
Execution privilegeRuns in the context of the logged-in user account; no sandboxing or privilege elevation by default
Security markingDownloads acquire the Mark of the Web (NTFS alternate data stream Zone.Identifier); Windows blocks execution until the file is manually unblocked
Configuration storagePer-screensaver settings written to HKCU\Control Panel\Screen Saver.<ScreenSaverName> in the Windows registry
Idle activationTimeout configured in Display Settings → Screen Saver → Wait; stored as ScreenSaveTimeOut (seconds) in HKCU\Control Panel\Desktop
Password lock integrationWhen "On resume, display logon screen" is enabled, dismissing the screensaver triggers the Windows credential provider
Released1992 (screensaver support in Windows 3.1)
Specificationlearn.microsoft.com

SCR conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with SCR files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about SCR files.

Frequently asked questions

Is a .scr file safe to open?
Only if you fully trust the source. A .scr is a Windows program (the same format as an .exe), so it can run any code on your PC. An unexpected .scr - especially an email attachment like 'photo.scr' - should be treated as potential malware and not opened.
How do I install a screensaver (.scr) on Windows?
Right-click the .scr and choose Install (makes it the active screensaver) or Test (previews it). Then adjust timing in Settings > Personalization > Lock screen > Screen saver. Do this only for screensavers from a source you trust.
Why did I receive a .scr file by email - is it a virus?
Very likely. Legitimate screensavers are almost never emailed. Sending malware disguised as a .scr 'screensaver' is a classic trick that exploits Windows hiding file extensions. Don't open it; delete it or scan it on VirusTotal first.
Can I open a .scr file on a Mac or Linux?
No. SCR screensavers are Windows executables and don't run on macOS or Linux, which use entirely different screensaver systems. There's no converter; if you only want the images inside a photo screensaver, extract them with an archive tool on Windows.
How do I see what's inside a .scr without running it?
Open it as an archive with 7-Zip (right-click > 7-Zip > Open archive) or in Resource Hacker to view/extract its icon, images and resources - neither runs the code. This is the safe way to vet a suspicious screensaver.
Is a .scr file the same as an .exe?
Yes, technically. A .scr is a Portable Executable just like an .exe; the .scr extension just tells Windows to treat it as a screensaver (and pass /s, /p or /c switches). You can even rename .scr to .exe and it runs as a normal program.

References

1Microsoft - Screen Saver Library (how .scr works)learn.microsoft.com
2Microsoft - PE Format (the executable format .scr uses)learn.microsoft.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.NOMEDIAAndroid No-Media Marker File
5.EXEWindows Executable (Portable Executable)
6.TMPTemporary File
7.BINCD/DVD Disc Image (BIN/CUE)
8.MDMarkdown Document
9.DATProgram Data File (generic)
10.JPGJPEG Image

Related extensions

.NOMEDIAAndroid No-Media Marker File
.DLLDynamic Link Library
.TMPTemporary File
.LNKWindows Shell Link (Shortcut)
.PKGmacOS Installer Package
.ETLEvent Trace Log

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z