-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Works on Windows 7 X64? #6
Comments
First, have you tried running the script in "verbose" mode? If not, run the script with Otherwise, if you invoke
With
And see if the device ID appears in the output. |
Hello kevin, The script is running from the following BAT: @echo off @cscript.exe RemoveDevices.js popd I remember that I've tried running it even with SYSTEM credentials. It lists devices being removed, but they remain as nothing happened. System was unstable, with some hardware issues too. I'll try your tips when possible since I don't have access to the system right now. Thanks & best regards |
The version of cscript that's being used (32 vs 64 bit) will affect other things, and varies based on the shell that runs your batch file. I don't recall which cmd.exe gets invoked for batch files off the top of my head, but looking into that might help. |
In order to get the script to run correctly on Windows 7 x64, you have to use a new version of DevCon.exe |
Works great. I have DevCon.exe version AMD64 v.6.1.7600.16385 in the removedevices.js folder. I found out that I had to run the utility this way: Wscript.exe "[path to]\removedevices.js" (from here: http://superuser.com/questions/488763/how-to-run-js-file-from-a-command-line-on-windows) |
Hello!
I've tried to run the script on a Windows 7 X64 and had no luck, even using the recommended devcon version
The script runs, says that had removed hundreds of devices and when we run it again, all the devices are still there.
Any help would be greatly appreciated :)
The text was updated successfully, but these errors were encountered: