Windows XP / 2000 で絶対動かないソフトを検出するソフト

欠陥エクスポートさえ何とかすれば、Windows 2000で Windows 7/10用のアプリが動くんじゃないかと誤解して、無茶な関数実装を何度も依頼してくる人が何人かいるので、実装しても絶対動かないアプリをスキャンするソフトを作ってみました。
(2022/3/29 更新)

Nt6SCNR.EXE 対象ファイル
Nt6SCN.cmd 対象フォルダ


試しに、 Kindle 1.33 と 1.34で結果を見てみましょう

NT6SCN "C:\Program Files (x86)\Amazon\Kindle"
3 C:\Program Files (x86)\Amazon\Kindle2\KRFDynamic.dll
1.33 はファイルが一つチェックに引っかかっただけなので、Windows 2000で動く可能性は濃厚です。

C:\>NT6scn.cmd "C:\Users\mofmof\AppData\Local\Amazon\Kindle\application"
2 C:\Users\mofmof\AppData\Local\Amazon\Kindle\application\CrashReporter.exe
24 C:\Users\mofmof\AppData\Local\Amazon\Kindle\application\Kindle.exe
13 C:\Users\mofmof\AppData\Local\Amazon\Kindle\application\KRFDynamic.dll
2 C:\Users\mofmof\AppData\Local\Amazon\Kindle\application\libEGL.dll
5 C:\Users\mofmof\AppData\Local\Amazon\Kindle\application\libGLESv2.dll
8 C:\Users\mofmof\AppData\Local\Amazon\Kindle\application\Qt5Core.dll
36 C:\Users\mofmof\AppData\Local\Amazon\Kindle\application\Qt5Gui.dll
10 C:\Users\mofmof\AppData\Local\Amazon\Kindle\application\Qt5Multimedia.dll
2 C:\Users\mofmof\AppData\Local\Amazon\Kindle\application\Qt5MultimediaWidgets.dll
8 C:\Users\mofmof\AppData\Local\Amazon\Kindle\application\Qt5Network.dll
2 C:\Users\mofmof\AppData\Local\Amazon\Kindle\application\Qt5OpenGL.dll
9 C:\Users\mofmof\AppData\Local\Amazon\Kindle\application\Qt5Positioning.dll
2 C:\Users\mofmof\AppData\Local\Amazon\Kindle\application\Qt5PrintSupport.dll
40 C:\Users\mofmof\AppData\Local\Amazon\Kindle\application\Qt5Qml.dll
5 C:\Users\mofmof\AppData\Local\Amazon\Kindle\application\Qt5Script.dll
2 C:\Users\mofmof\AppData\Local\Amazon\Kindle\application\Qt5Sensors.dll
2 C:\Users\mofmof\AppData\Local\Amazon\Kindle\application\Qt5Sql.dll
3 C:\Users\mofmof\AppData\Local\Amazon\Kindle\application\Qt5WebChannel.dll
3 C:\Users\mofmof\AppData\Local\Amazon\Kindle\application\Qt5WebSockets.dll
9 C:\Users\mofmof\AppData\Local\Amazon\Kindle\application\Qt5Widgets.dll
2 C:\Users\mofmof\AppData\Local\Amazon\Kindle\application\Qt5WinExtras.dll

1.34 はもう、NT6用にコンパイルされてるので動作しません。



  1. Mina より:

    Mind explaining how to use this software? When I try to use it, it says “Can’t open file.”
    I know I am doing it wrong, that’s why I am asking here.

  2. 黒翼猫 より:

    The target of Nt6SCNR.EXE is file.
    The target of Nt6SCN.cmd is folder.
    If the number of result is zero, you can know the program is for NT 5.x.

  3. Mina より:

    So, what’s the required command line to scan a software directory to see if it’s for NT 5.x (or not)?

  4. 黒翼猫 より:

    It scans the instraction.

  5. Mina より:

    OK, let me tell you an example of a software I want to scan for, so that you can understand me better.
    The software I want to scan for using NT6SCN is LINE (the last version that runs on Windows 2000 is, while the last XP version is
    The location of the app is %userprofile%\Local Settings\Application Data\LINE\bin\
    How do I scan the folder itself?

  6. 黒翼猫 より:

    NT6SCN.cmd “C:\Documents and Settings\Mina\Local Settings\Application Data\LINE\bin”
    Perhaps it returns “3 ampkit_windows.dll” only.
    it means ampkit_windows.dll designed by NT6.x

  7. Mina より:

    I used your command but it still says “Can’t open file.”.
    I have NT6SCNR.exe and NT6SCN.cmd placed in C:\WINNT.

  8. Mina より:

    Hmm, maybe you could integrate this software to your extended kernel in the next version.

  9. Mina より:

    It seems after several tests, NT6SCN.cmd is broken. I don’t know how to fix it.
    Scanning with NT6SCNR is fine and working, but it’s gonna be a very long process to scan each dll and exe file to see if it’s designed for NT 6.x or not.

  10. 黒翼猫 より:

    NT6scn.cmd is sample program.
    You can modify it :3
    plz try to cd target directory and execute with . option

  11. Mina より:

    Thank you very much! I modified to target a program directory, then executed NT6SCN.cmd, and it is working!


メールアドレスが公開されることはありません。 が付いている欄は必須項目です