Install device driver silently on Windows XP - windows-xp

Is there a way to programmatically install device driver silently without cat file and without connecting the device on Windows Xp?
I'm using DriverPackageInstall function from Windows Driver Kit. And I can install driver only if device is attached. In other case I get an error: ERROR_NO_SUCH_DEVINST. But that method works fine with Windows Vista.
Another problem is warning dialog that asks user to continue or stop installation because cat file is missing . It shows on both OSes.
Any ideas?

You're not going to get past the signing prompt, as this is baked pretty far into windows, but there is a tool in the DDK called devinst that works well for device installations.
There's Source Code included with it.

The only way to avoid any UI interaction caused by your driver being unsigned is to hackishly preinstall the driver by modifying the registry directly.
Yes, it can be done. You'd have to modify the ACLs on the HKLM\System\CurrentControlSet\Enum registry key run as SYSTEM (by installing yourself as a service or using Sysinternals psexec -s), and add all the registry keys which Windows device installation would usually add - on your own. This will only work if you can predict precisely what your device's Device Instance ID would be -- e.g. in case of a USB device, the precise port it'd be connected to etc.
This is hacky, but the result would be the device being essentially "preinstalled". It'll be a lot of work, and it'll break on Windows Vista.
Microsoft really wants you to go the WHQL way on Windows XP, sorry :(

Related

How do you disable storing install directory in Windows Registry for install4j?

Install4J stores a registry entry under HKEY_LOCAL_MACHINE\SOFTWARE\ej-technologies\allinstdirs* in windows when running an installer. Presumably it does something similar on Linux and MAC.
Is there a way to prevent this, and all other other permanent OS parameters, with a command line option? We run integration tests that actually run the installer and run then the application, but this then pollutes our registries, getting in the way of doing manual installations of the same application on our development machines.
As of 6.1, there no way to prevent this. I have added this to our issue tracker.

Unable to create bootable USB for windows xp installation

I have mistakenly formatted windows xp partition of my hardrive while trying to install lubuntu operating system.
Now I can only have access to my computer through the live USB disk of lubuntu.
I have couple of .iso files of windows xp cd.
But when I tried to create bootable USB drive from it, it doesn't work.
It either shows "bootmgr is missing" message or it show a blinking cursor and nothing happens while booting.
The iso's that I have, contain all the necessary installation files required.
Is there a way to make USB drive boot from it?
I tried softwares like rufus but that too doesn't work with iso that I have.
try to google a software called ultraiso, it can create an installation usb using an installation Windows cd or iso, no matter the Windows is xp or 7 or 8 or Windows Server.
If you can't find it in google, try to find it using another search engine such as www.baidu.com
then using the usb, you can install Windows again in your hard drive

How can I get an interactive login with Windows 10 IoT Core running on a Raspberry Pi?

I just installed Windows 10 onto a Raspberry Pi. It started up fine and I can connect (using PowerShell) from my laptop.
I can connect a keyboard and mouse to the Pi but I can't get a login window. All that I can do is change the timezone and reboot. Is there a way to login directly to the device?
I don't need fancy graphical windows. A command line session (à la Linux or PowerShell) would be fine.
If it isn't possible with the core install, does anyone know if Microsoft, or a third party provider, plans to add this feature?
No there is not a command line presented on the local display. The only way to run commands on Win10 IoT is to use PowerShell as described by Keith in this thread or you can use SSH or Telnet. You can interact with applications run on the device via the local display, keyboard and mouse.
Mark Radbourne [MSFT]
You can use PowerShell remoting from another Windows box to do stuff on Windows 10 IoT Core. I've tested this procedure on Windows 10 PowerShell, works fine. Be sure to follow the step to "Remove-Module PSReadline". I was trying to use setcomputername to rename my RPi2 and the command would fail with a command not found error. Once I removed the PSReadline module, the command started working. Hopefully Jason gets this fixed as PSReadline is just too valuable to remove for long. :-)

Run a program on Mac OS host from Windows running as parallels guest

On a MacBook Pro running Windows 7 in Parallels 7, I need to run a Unix Executable File on the Mac side via a command line invocation on the Windows side. In Windows Explorer, I can use Open on Mac, but I need a way to do this via a batch file or anything else that can be expressed on a command line. I was hoping that Parallels Tools might have a command that can do this, but I can't find anything.
This seems like it should be pretty straightforward, but my searches have turned up nothing.
I also tried creating an alias on the Mac side, which I added to my Applications folder. I was hoping that it would appear in Start > All Programs > Parallels Shared Applications, which might allow me to access it with a batch file. However, I don't see it. I'm not sure what it takes to add new entries to Parallels Shared Applications. Maybe a reboot would do it, but I have not tried that yet.
Thanks for any advice.
It seems like the Platypus app might be able to help with this. It wraps a shell script into a Mac App. Unfortunately I can't get Parallels to provide access to the Platypus generated app the same way it provides access to the other Mac apps.

Where's the application crash dump on an XP SP3 machine?

It used to be that an application crash (unhandled exception) would create a mini dump in the %TEMP% folder on an XP machine, but it looks like Microsoft has changed this logic - maybe with an update.
When a user level application or a service crashes, does it still create a mini-dump? Where does it get saved?
PS: I'm not interested in the BSOD, system, or kernel dump. This pertains to a user level application crash that does not bring down Windows.
I installed the Debugging Tools For Windows and used adplus in -crash mode in order to get the dumps I wanted.
Are you asking about http://msdn.microsoft.com/en-us/windows/hardware/gg487440 ?
Ok, then I think you want to enable Dr Watson
http://www.scribd.com/doc/47267084/Capturing-Application-Crash-Dumps
http://serato.com/howtos/scratchlive/1925/how-to-enable-dr-watson