20 file types to avoid uploading to windows server

Here is a list of restricted files to upload (executable type files) with certain extensions across Windows servers. This step is taken as an additional measure to tighten security over FTP and avoid any malicious executable files damaging other Hosting packages hosted on a server.

    COM (machine language)
    .VBS (Visual Basic script)
    .VBE (Visual Basic script-encoded)
    .CMD (batch file - Windows)
    .BAT (batch file - DOS/Windows)
    .WS (Windows script)
    .WSF (Windows script)
    .SCR (screen saver)
    .SHS (OLE object package)
    .PIF (shortcut to DOS file plus code)
    .HTA (hypertext application)
    .JAR (Java archive)
    .LNK (shortcut to an executable)
    .EXE (Executable script)
    .PIF (A program information file for MS-DOS programs. While .PIF files aren’t supposed to contain executable code, Windows will treat .PIFs the same as .EXE files if they contain executable code)
    .MSP (A Windows installer patch file. Used to patch applications deployed with .MSI files)
    .SCR (A Windows screen saver. Windows screen savers can contain executable code)
    .CPL (A Control Panel file. All of the utilities found in the Windows Control Panel are .CPL files)
    .MSC (A Microsoft Management Console file. Applications such as the group policy editor and disk management tool are .MSC files)
    .PS1, .PS1XML, .PS2, .PS2XML, .PSC1, .PSC2 (A Windows PowerShell script. Runs PowerShell commands in the order specified in the file)