[BSOD] USB hub

Page 3 of 3 FirstFirst 123

  1. Posts : 436
    Windows 7 Build 7048 x64
       #21

    Jag said:
    Ok, running it in WinXP compatibility mode did the trick: now it doesn't open a new window and i can read what is has to say :). I had to add " signs to my command line.

    I made the batch file (i didn't understand the path c:\Program Files\, i had to change it to c:\Progra~1, oldskool ) and it works.
    Then i made a script the way you told me and it works as well. I added it to the logg off scripts.
    But now when i logoff, i see an error message very shortly which i cannot read. And the device isn't unloaded.

    I tried finding the error in a log file, didn't find it. But i don't really where to look for it :) (i don't know that much about Windows).
    That's great news! We have progress

    About the error, let's move back a bit. Have you tried running the script independently? If you are able to run it on its own and the device is unloaded, then there's nothing wrong with the script. Expect windows security flags and try to run it as administrator. If you're unable to successfully run the script on its own, just a few "path" tweaks might do the trick. Yes, i like the Progra~1, that's cool
      My Computer


  2. Jag
    Posts : 29
    Windows 7 x86
    Thread Starter
       #22

    Sorry for the late reaction.

    The script works fine when i run it. But i don't know how to run it as administrator. I don't see this option in the properties.

    But when i shut down, an error appears (for a very short time). And the device isn't removed since it still crashes unfortunatly.
      My Computer


  3. Posts : 436
    Windows 7 Build 7048 x64
       #23

    Jag said:
    Sorry for the late reaction.

    The script works fine when i run it. But i don't know how to run it as administrator. I don't see this option in the properties.

    But when i shut down, an error appears (for a very short time). And the device isn't removed since it still crashes unfortunately.
    Right, my bad, you can't run a script as administrator it already runs with elevated privileges.

    I've tried to search for programs that run tasks during shut downs and tested several of them and was not satisfied with the results.

    Here's another workaround for you :)

    Instead of running the script at logoff, create a shortcut of the .bat file on your desktop (or anywhere you'd like). Now in your .bat file, add the following at the very last line;
    Shutdown /s

    This will then be executed after the previous command completes.

    Now you can then go customize the icon and make it like a Shutdown button and place it anywhere you like and you just click on this shortcut to shutdown your computer.

    If you want to add more shutdown parameters, you can open a command prompt and type shutdown and you'll be shown what else you can do with it.

    If you try this route, don't forget to remove the script in the logoff policy.

    Cheers
      My Computer


  4. Jag
    Posts : 29
    Windows 7 x86
    Thread Starter
       #24

    Ah, i was afraid it would come to that . That would be a workaround for shutting down and restarting manually, but it isn't for the most common way a crash occurs: the computer going in standby (S3 or S4). And since it's a laptop, it would be nice to be able to use stand by.

    Right now my work around is to not use the usb hub. It's unfortunate that i have to use a seperate WLAN dongle (i can't activate the internal WLAN usign the function keys). But most of the time two usb ports is enough.

    Thank you for your good help!
      My Computer


  5. Posts : 436
    Windows 7 Build 7048 x64
       #25

    You're most welcome

    I'm sure that once Windows 7 goes mainstream, all these will soon be properly resolved.

    Cheers
      My Computer


 
Page 3 of 3 FirstFirst 123

Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 19:23.
Find Us