Author Topic: Trouble installing new drivers (Win8.1)  (Read 12494 times)

0 Members and 1 Guest are viewing this topic.

Offline vexx32

  • Newbie
  • *
  • Join Date: Jan 2014
  • Posts: 5
  • Karma: 0
    • View Profile
Trouble installing new drivers (Win8.1)
« on: January 01, 2014, 04:52:39 am »
Hey all, I'm coming out of a long-term period of general system brokenness, gradually patching one thing up at a time. It used to be that a lot of things were broken -- Event Viewer, Windows Update, driver installation, just to name a few. The last is what I've yet to figure out how to fix. Most of the tools that apply common fixes did about half the job, but the thing was still fairly broken and I've had to do a considerable amount of manual work, fiddling about like crazy with permissions on a lot of system files and folders (granting access to local or network service, trustedinstaller and so forth, restoring ownership to either system or trustedinstaller as applicable when done, etc.).

This last one... I can't dig up a thing. Nothing anywhere online whatsoever. No precedent as far as I can find. The error is nondescriptive and provides no error code, so it's a bit hard to search for it. An assessment using Sysinternals Process Monitor is pretty inconclusive, too... No obvious failure points. I stumbled across this first when attempting to set up my printer shortly after installing Win8.1, around two months ago. The setup program reaches a screen where you're supposed to plug in the printer (which I do), and then simply sits there apparently doing nothing until I choose to Cancel the installation or kill the setup process. An examination with Process Monitor shows that it is just continually performing the same steps over and over, and I can't find a failure point.

Since then, I've done a Refresh, two repair installations (all three of which failed to fix any of the issues I was having, which is why I had to fiddle around myself) and it's still being difficult. I'd blame the driver itself, but upon fixing up Windows Update it's offered two drivers for installation, one labelled Important, the other an Optional update. They both fail, with error 0x8007000D. The suggested solutions for that recommend using the dism /online /scanhealth command, which just finds absolutely nothing wrong whatsoever. Installing any driver manually (via right-clicking an INF file and opting to Install it) gives an unusually plain pop up message saying "The data is invalid.", with a different but somewhat similar chain of events to the printer setup program (although the printer setup was repeating the steps over and over). Exact same thing happens when installing any driver via the Add New Hardware wizard. Exactly what's causing it, I don't know, though I suspect there're probably some system permissions either in the registry or some system files/folders somewhere that have been corrupted somehow. Primary irritating result at present is that I cannot use my printer, which I am rather peeved about. The underlying issue is a little more worrying, though.

Before you shout "It's a virus!" I'll just have to stop you right there and say that no, it isn't. With about 99.999999% certainty. I've run online scanners, boot-time scanning modules, scanned from safe mode, used anti-rootkit tools (every damn one I can find), scanned the MBR sector of the hard disk, contacted some specialists and provided logfiles I have trouble deciphering myself for their examination and been told there's not a trace of malware on this system, used pretty much every tool I can get my hands on without having to pay an arm and a leg to get access to... If I haven't found it by now, then it's either hiding so damn well that quite literally nothing can weed it out (I don't know, I've heard occasional accounts of viruses hiding in some modified firmware in the motherboard itself or something, but I really doubt it) or it's embedded so deeply in the OS that nothing can recognise it. In any case... as far as it's possible to tell, this isn't something cause by an infection... or at least, the infection is no longer on the system. Maybe something got broken before I managed to get rid of an infection a little while ago or something... but if it did, it's something that Microsoft's own built in recovery tools don't cover, including a system Refresh and a Repair install, which is twofold strange.

Anyway, apologies for being verbose, but I hope the info helps...

What else... Well, since it's kind of driver related, I guess a DxDiag might be of some limited use; I'll attach that...

I'm using the latest version of Avira antivirus -- I'd previously used Avast! but got rid of it when my licence expired, roughly three weeks ago by now, I think. (And damn Avast!'s installation can be intrusive, needing Safe Mode just to remove it.)

If you want a copy of the Process Monitor record for each attempt at installing printer drivers, and/or Windows Update's failure to install the other drivers, let me know. I haven't got recordings of them, but I can get them quickly enough.

Any help would be immensely appreciated. I'm trying to do everything I can short of wiping this hard drive clean and reinstalling everything from absolute scratch. I really don't want to do that, if at all possible.
« Last Edit: January 01, 2014, 05:07:47 am by vexx32 »

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Trouble installing new drivers (Win8.1)
« Reply #1 on: January 01, 2014, 05:32:37 pm »
Actually I dont think it is a virus at all. Viruses aim to make money or steal info. Stopping a printer install does neither. Also I have customers on every version of Windows with the same problem at some point :-)

The printer setup you talked about sounds like an HP setup, which I hate those. It is waiting for the plug and play manager to show that a new device has been detected. So if it is already plugged in before that (The printer) it just sits there. I normally go to the device manager remove the printer if it is there with a yellow ? and the click the scan for changes at the top and that makes windows do its thing and the setup sees it.

When that doesnt work I normally manually make a new printer, tell it I will choose a printer and to browse for the file location and then I install it that way.

On printers that are being a pain in the butt it is normally because one of the files or driver files in the spooler folder is in use, locked or corrupt and killing the spooler service and then cleaning out those files will normally do the trick.

That might be what is happening to you and why nothing has worked yet. You need to go on a file seek and destroy in the spooler folder lol

Shane

Offline vexx32

  • Newbie
  • *
  • Join Date: Jan 2014
  • Posts: 5
  • Karma: 0
    • View Profile
Re: Trouble installing new drivers (Win8.1)
« Reply #2 on: January 01, 2014, 06:01:19 pm »
Sounds like a plan. I unfortunately haven't a clue where this folder is. Care to point me in the right direction? :)

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Trouble installing new drivers (Win8.1)
« Reply #3 on: January 01, 2014, 06:38:58 pm »
Same way on Windows 7 will work on 8, try this :-)

http://www.techidiots.net/notes/windows-7/manually-remove-all-printer-drivers

Shane

Offline vexx32

  • Newbie
  • *
  • Join Date: Jan 2014
  • Posts: 5
  • Karma: 0
    • View Profile
Re: Trouble installing new drivers (Win8.1)
« Reply #4 on: January 01, 2014, 09:03:15 pm »
Done... with apparently no effect. Still failing. :/

On a suspiciously related note, I had previously uninstalled my antivirus, in case it was interfering with the installations, and found just now upon trying to reinstall it that nothing can be copied to the system32\drivers folder -- it merely gives a "you need permission to perform this action" dialog both during the install and also when attempting to copy the file in manually. I've gone over the permissions on the folder and its subfolders multiple times -- SYSTEM, TrustedInstaller, and Administrators all have Full Control, and the ownership is attributed to SYSTEM account... what gives? Seizing ownership also changed nothing, and nothing apart from essential Windows services was using anything in the folder.

Seeing as literally no drivers want to install (video card drivers, fairly standard drivers for a basic webcam don't work if I try to reinstall; had to do a system restore to get that working again, and so forth), it seems that this may be part of the problem? Starting the computer in Safe Mode allows the antivirus to complete its installation, but driver installs either simply don't work in safe mode (I noted that most drivers were simply disabled in safe mode) or there's something else weird going on here...

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Trouble installing new drivers (Win8.1)
« Reply #5 on: January 01, 2014, 11:44:27 pm »
What do you have the user access control set to?

Shane

Offline vexx32

  • Newbie
  • *
  • Join Date: Jan 2014
  • Posts: 5
  • Karma: 0
    • View Profile
Re: Trouble installing new drivers (Win8.1)
« Reply #6 on: January 02, 2014, 12:03:28 am »
It's set to the default setting -- Notify me only when applications make changes to my computer.

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Trouble installing new drivers (Win8.1)
« Reply #7 on: January 05, 2014, 12:53:59 am »
In Windows 8 we cant turn off the UAC like we could before. Even when the bar is all the way down it simply doesnt prompt you but it is still on. The only way to turn it off is by a registry key, which is what I have done on my system. When you do that you cant use the app store, but for now I want to do a test.

I want to totally disable the UAC with the reg setting and turn the bar all the way down, reboot and then have you try your stuff again and see how it goes.

You ok with doing that? If so I will get you the regkey you need.

Shane