Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Windows could notstart Windows Installer Service, can't find specified file


  • Please log in to reply
7 replies to this topic

#1 Thaqalain

Thaqalain

  • Members
  • 23 posts
  • OFFLINE
  •  
  • Local time:11:51 AM

Posted 26 January 2018 - 11:13 PM

Windows could not start Windows Installer Service,

Error 2: System can't find specified file.

---------

 

This happened despite I rebooted after unregitsering and regserver on CMD as Admin. 

Here is log:

----------------------------

Windows ® Installer. V 5.0.16299.15 
 
msiexec /Option <Required Parameter> [Optional Parameter]
 
Install Options
</package | /i> <Product.msi>
Installs or configures a product
/a <Product.msi>
Administrative install - Installs a product on the network
/j<u|m> <Product.msi> [/t <Transform List>] [/g <Language ID>]
Advertises a product - m to all users, u to current user
</uninstall | /x> <Product.msi | ProductCode>
Uninstalls the product
Display Options
/quiet
Quiet mode, no user interaction
/passive
Unattended mode - progress bar only
/q[n|b|r|f]
Sets user interface level
n - No UI
b - Basic UI
r - Reduced UI
f - Full UI (default)
/help
Help information
Restart Options
/norestart
Do not restart after the installation is complete
/promptrestart
Prompts the user for restart if necessary
/forcerestart
Always restart the computer after installation
Logging Options
/l[i|w|e|a|r|u|c|m|o|p|v|x|+|!|*] <LogFile>
i - Status messages
w - Nonfatal warnings
e - All error messages
a - Start up of actions
r - Action-specific records
u - User requests
c - Initial UI parameters
m - Out-of-memory or fatal exit information
o - Out-of-disk-space messages
p - Terminal properties
v - Verbose output
x - Extra debugging information
+ - Append to existing log file
! - Flush each line to the log
* - Log all information, except for v and x options
/log <LogFile>
Equivalent of /l* <LogFile>
Update Options
/update <Update1.msp>[;Update2.msp]
Applies update(s)
/uninstall <PatchCodeGuid>[;Update2.msp] /package <Product.msi | ProductCode>
Remove update(s) for a product
Repair Options
/f[p|e|c|m|s|o|d|a|u|v] <Product.msi | ProductCode>
Repairs a product
p - only if file is missing
o - if file is missing or an older version is installed (default)
e - if file is missing or an equal or older version is installed
d - if file is missing or a different version is installed
c - if file is missing or checksum does not match the calculated value
a - forces all files to be reinstalled
u - all required user-specific registry entries (default)
m - all required computer-specific registry entries (default)
s - all existing shortcuts (default)
v - runs from source and recaches local package
Setting Public Properties
[PROPERTY=PropertyValue]
 
Consult the Windows ® Installer SDK for additional documentation on the
command line syntax.
 
Copyright © Microsoft Corporation. All rights reserved.
Portions of this software are based in part on the work of the Independent JPEG Group.

Edited by Thaqalain, 26 January 2018 - 11:16 PM.


BC AdBot (Login to Remove)

 


#2 dc3

dc3

    Bleeping Treehugger


  • Members
  • 30,391 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Sierra Foothills of Northern Ca.
  • Local time:03:51 AM

Posted 27 January 2018 - 10:49 AM

Have you tried starting this service in Services?

 

Please run System File Checker.

The sfc /scannow command scans all protected system files and replaces corrupted and incorrect versions with correct Microsoft versions.

Important:  There will be a short message at the end of the scan informing you of the results.  If you receive the message "no integrity violations were found" you don't need to do anything else, no corrupt files were found.  You should watch the scan to see the results at the end of the scan.

This needs to be run using an Administrator account.  

Click/tap on the Taskbar Search icon (magnifing glass) and type cdm.

PLrbrFc.png

You will see Command Prompt under Best match, right click on Command Prompt and select Run as administrator.

Copy and paste the command below in the Command Prompt, then press Enter.

sfc /scannow

This scan will take a while to run, please do not abort the scan as this can result in damage to the operating system.

If integrity issues are found in the scan please post the CBS log using the instructions below.

To find sfc /scannow log open the Command Prompt, copy and paste the command below, then press Enter.

copy %windir%\logs\cbs\cbs.log %userprofile%\Desktop\cbs.txt

This will place the log on your desktop.  Copy and paste the log at the host website I've suggested below.

This log usually is very large, for this reason you should use a host website like Dropbox to post the log.  You can start a free 30 day trial.  Once you have loaded the log at Dropbox post a link to the website.
 


Family and loved ones will always be a priority in my daily life.  You never know when one will leave you.

 

 

 

 


#3 Thaqalain

Thaqalain
  • Topic Starter

  • Members
  • 23 posts
  • OFFLINE
  •  
  • Local time:11:51 AM

Posted 27 January 2018 - 06:14 PM

I run STC /SCANNOW several times, re-running it atm. Windows Installer Service is not working despite it's being Unregistered and then Regserver. 



#4 Thaqalain

Thaqalain
  • Topic Starter

  • Members
  • 23 posts
  • OFFLINE
  •  
  • Local time:11:51 AM

Posted 27 January 2018 - 07:25 PM

System hanging up within few moments to few minutes so sometimes SFC /Scannow is aborted as I need to press hard restart. Please review the attachments as I am not getting enough time to post due to sudden freezing of system/screen/mouse or cursor. Can't even install Java latest update despite using Java Supported page about Unistall/Install App, so far it failed to install latest Java as MSI (Windows Installer is not found or not working). 

Attached Files


Edited by Thaqalain, 27 January 2018 - 07:31 PM.


#5 dc3

dc3

    Bleeping Treehugger


  • Members
  • 30,391 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Sierra Foothills of Northern Ca.
  • Local time:03:51 AM

Posted 28 January 2018 - 12:33 PM

Did you go to Services and try to restart the Windows Installer service?

 

There is one Dependency for this service, that is the Remote Procedure Call.  I would suggest checking to see if it is running.

 

At this point I believe it's time to do a Reset.

 

A Windows 10 Reset will reinstall the operating system.  You have the option to keep your personal files or remove them.  Any third party programs that you installed will be uninstalled during this process.

1. Press the Windows key OS4o0pO.png and the I key to open Settings. and the I key to open Settings.

2. Click/tap on Update & Security

O7p5cKL.png

 Then Recovery, and Get Started.

VoWZmo6.png

3. You will now have the option to Keep my files or Remove everything.  Click/tap on the option you want.

4. You will now receive the message Getting things ready, Windows will list the programs which you will need to reinstall.  You may find it beneficial to copy these programs for a reference later.  When the list of programs is shown click/tap on Next.

5. You will now receive the message Ready to reset this PC, select Reset.

The installation will continue without any need to make any other selections.


Family and loved ones will always be a priority in my daily life.  You never know when one will leave you.

 

 

 

 


#6 jenae

jenae

  • Members
  • 403 posts
  • OFFLINE
  •  
  • Local time:08:51 PM

Posted 28 January 2018 - 06:33 PM

Hi, using Dc3's advice will likely solve your problem though it is not usually needed. Your first post indicates that you did not register the msiexec correctly, what you called a log is in effect the windows installer SDK documentation, and you should not have seen it.

 

Press the win + x keys together, the windows power menu will open, select Powershell(admin) from the options, an elevated powershell window will open.

 

At the prompt type:- cmd (press enter) an elevated cmd prompt window will open within powershell. Copy and paste each of these cmds:-

 

%windir%\system32\msiexec.exe /unregister
%windir%\system32\msiexec.exe /regserver
 
Press enter after each cmd, you will not see any indication they have worked, this is normal.
 
If you have a 64bit machine you also need to run these two cmds:-
 
%windir%\syswow64\msiexec.exe /unregister
%windir%\syswow64\msiexec.exe /regserver
 
Press enter, again no indication will appear.
 
Restart computer
 
Now if still no joy, open another powershell cmd (as shown) and firstly type:- cmd (press enter)  next copy the following cmd, right click anywhere in the cmd window the cmd will append to the prompt, press enter.
 
reg query "HKLM\SYSTEM\CurrentControlSet\Services\msiserver" /s > 0 & notepad 0
 
A notepad will open, please copy paste the contents here.
 
BTW the windows installer service has a manual start by default, it does have a dependency on RPC  service name RpcSs, and it is running, it is an essential service without it windows itself would not be running.


#7 Thaqalain

Thaqalain
  • Topic Starter

  • Members
  • 23 posts
  • OFFLINE
  •  
  • Local time:11:51 AM

Posted 28 January 2018 - 07:06 PM

 

Hi, using Dc3's advice will likely solve your problem though it is not usually needed. Your first post indicates that you did not register the msiexec correctly, what you called a log is in effect the windows installer SDK documentation, and you should not have seen it.

 

Press the win + x keys together, the windows power menu will open, select Powershell(admin) from the options, an elevated powershell window will open.

 

At the prompt type:- cmd (press enter) an elevated cmd prompt window will open within powershell. Copy and paste each of these cmds:-

 

%windir%\system32\msiexec.exe /unregister
%windir%\system32\msiexec.exe /regserver
 
Press enter after each cmd, you will not see any indication they have worked, this is normal.
 
If you have a 64bit machine you also need to run these two cmds:-
 
%windir%\syswow64\msiexec.exe /unregister
%windir%\syswow64\msiexec.exe /regserver
 
Press enter, again no indication will appear.
 
Restart computer
 
Now if still no joy, open another powershell cmd (as shown) and firstly type:- cmd (press enter)  next copy the following cmd, right click anywhere in the cmd window the cmd will append to the prompt, press enter.
 
reg query "HKLM\SYSTEM\CurrentControlSet\Services\msiserver" /s > 0 & notepad 0
 
A notepad will open, please copy paste the contents here.
 
BTW the windows installer service has a manual start by default, it does have a dependency on RPC  service name RpcSs, and it is running, it is an essential service without it windows itself would not be running.

 

 

%windir%\syswow64\msiexec.exe : The module '%windir%' could not be loaded. For more information, run 'Import-Module
%windir%'.
At line:1 char:1
+ %windir%\syswow64\msiexec.exe \unregister
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (%windir%\syswow64\msiexec.exe:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CouldNotAutoLoadModule
 
Note: Please find attached records which are actually run by modified commands using forward slashes only on CMD-ADMIN. In fact I run above commands several times in CMD(Admin). I noticed there are several files missing and msiexec.exe is one of them  as shown below.
O23 - Service: @%SystemRoot%\system32\msimsg.dll,-27 (msiserver) - Unknown owner - C:\Windows\syswow64\msiexec.exe/V (file missing)

Attached Files


Edited by Thaqalain, 28 January 2018 - 08:11 PM.


#8 jenae

jenae

  • Members
  • 403 posts
  • OFFLINE
  •  
  • Local time:08:51 PM

Posted 28 January 2018 - 08:29 PM

Hi, your best approach now is to follow Dc3's advice, post #5.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users