Running the attached test executable shows a "Bad Image" dialog box.
1. Download the attached executable NetScheduleJobEnum.exe to the computer where SMSMSE is installed.
2. Run the EXE.
3. A dialog box titled Bad Image appears with the following error message:
c:\Windows\SysWOW64\msv1_0.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support.
The operating system DLL c:\windows\syswow64\msv1_0.dll is missing or corrupt.
To correct this issue replace the file c:\windows\syswow64\msv1_0.dll with a copy from a working server of the same operating system. If you do not have another server with the same operating system or are uncomfortable taking these steps please contact Microsoft for assistance with this OS .dll file.
Renaming or deleting the corrupt file may show an error dialog box with the following message:
You need permissions to perform this action.
You require permissions from TrustedInstaller to make changes to this file.
The reason for this is that only the TrustedInstaller windows user has Security permissions to rename or delete the file. Perform the following steps to give the local administrator ownership of the file and the ability to rename or delete the file:
1. Right click on the file c:\windows\syswow64\msv1_0.dll and select Properties. 2. Click the Security tab and then click the Advanced button. 3. Click the Owner tab and then click the Edit... button. 4. In the Change Owner To section select the new owner and click the OK button. 5. A Windows Security dialog box appears confirming taking ownership of the file. Click OK to close the Windows Security dialog box. 6. Click OK to close the Advanced Settings dialog box. Click OK to close the Security Properties dialog box. 7. Right click on the file c:\windows\syswow64\msv1_0.dll and select Properties. 8. Click the Security tab and then click the Advanced button. 9. Click the Edit... button to open the Permissions dialog box. 10. Click the Windows account that is the new owner. 11. Click the Full control checkbox in the Allow column. Click OK to close the Permissions dialog box. Click OK to close the Properties dialog box.