File tree 2 files changed +8
-16
lines changed
2 files changed +8
-16
lines changed Original file line number Diff line number Diff line change 1
- regsvr32 /s /u C:\Windows\System32\ShellExt\HashCheck.dll
2
- regsvr32 /s /u C:\Windows\SysWOW64\ShellExt\HashCheck.dll
3
-
4
- copy Bin\x64\Debug\HashCheck.dll C:\Windows\System32\ShellExt\HashCheck.dll
5
- copy Bin\Win32\Debug\HashCheck.dll C:\Windows\SysWOW64\ShellExt\HashCheck.dll
6
-
7
- regsvr32 /s C:\Windows\System32\ShellExt\HashCheck.dll
8
- regsvr32 /s C:\Windows\SysWOW64\ShellExt\HashCheck.dll
1
+ @ echo off
2
+ whoami /groups /fo csv | find " " " S-1-16-12288" " " > NUL || echo Administrative privileges required. && exit /b 2
3
+ copy Bin\x64\Debug\HashCheck.dll C:\Windows\System32\ShellExt\HashCheck.dll || exit /b
4
+ copy Bin\Win32\Debug\HashCheck.dll C:\Windows\SysWOW64\ShellExt\HashCheck.dll
Original file line number Diff line number Diff line change 1
- regsvr32 /s /u C:\Windows\System32\ShellExt\HashCheck.dll
2
- regsvr32 /s /u C:\Windows\SysWOW64\ShellExt\HashCheck.dll
3
-
4
- copy Bin\x64\Release\HashCheck.dll C:\Windows\System32\ShellExt\HashCheck.dll
5
- copy Bin\Win32\Release\HashCheck.dll C:\Windows\SysWOW64\ShellExt\HashCheck.dll
6
-
7
- regsvr32 /s C:\Windows\System32\ShellExt\HashCheck.dll
8
- regsvr32 /s C:\Windows\SysWOW64\ShellExt\HashCheck.dll
1
+ @ echo off
2
+ whoami /groups /fo csv | find " " " S-1-16-12288" " " > NUL || echo Administrative privileges required. && exit /b 2
3
+ copy Bin\x64\Release\HashCheck.dll C:\Windows\System32\ShellExt\HashCheck.dll || exit /b
4
+ copy Bin\Win32\Release\HashCheck.dll C:\Windows\SysWOW64\ShellExt\HashCheck.dll
You can’t perform that action at this time.
0 commit comments