Sponsored Link: Click here to run a free scan for System Errors and Optimize PC performance

Page 1 of 1
Windows 7 Home Premium hanging on shutdown Rate Topic: -----
  • Neowinian
  • Icon
  • Group: Registered
  • Posts: 15
  • Joined: 05-May 04
I installed my 64bit audiophile 2496 drivers in Windows 7 Home Premium. After pressing shut down or restart, all my applications are closed but it hangs on the shut down screen.

With some research I found the solution as stated below...

M-Audio audiophile Delta 249 conflict Joepsz, a poster to Microsoft’s TechNet forums, has discovered a fix that involves stopping the “Audiosrv” and “AudioEndpointBuilder” processes associated with the M-Audio audiophile Delta 249, which exhibits a conflict with Windows 7. The fix is as follows:

1. Create a .bat file (create txt file and change extention to .bat)
2. Right Click on file > “edit” and enter following info:
* net stop “Audiosrv”
* net stop “AudioEndpointBuilder”
3. Save file as “Audio stop”(or whatever you want) to your main drive ie: C:\Audio stop
4. Open “run” from start menu and enter “gpedit.msc” (without quotes) and hit “OK”
5. Now navigate from right pain of window “User Configuration” > “Windows Settings” > “scripts (Logon/Logoff)” > “Logoff”
6. From window that opens from clicking “Logoff” Click “Add” then browse to where you saved “Audio Stop.bat” earlier and double click on it.
7. Hit “Apply” and close.


The problem is that Home Premium version doesn't have the Group Policy Editor (gpedit.msc) program, and there doesn't appear to be any other way to create a logon or logoff script.

Does anyone know a way around this?

Thanks
0
  • Top
  • We love your monies
  • Group: Treasury
  • Joined: August 2003
Register Today
  • Neowinian²
  • Icon
  • Group: Registered
  • Posts: 189
  • Joined: 14-March 03
Upgrade to Professional or Ultimate
0
  • Top
  • Resident Elite
  • Icon
  • Group: Registered
  • Posts: 1,100
  • Joined: 11-January 09
task scheduler?

This post has been edited by yxz: 25 October 2009 - 13:37

0
  • Top
  • Neowinian
  • Icon
  • Group: Registered
  • Posts: 15
  • Joined: 05-May 04
I tried the task scheduler but there doesn't seem to be a trigger when it comes to shutting down. I think there was one for logging off or ending a session, but I don't think it would be the same as a logoff script.
0
  • Top
  • Resident Elite
  • Icon
  • Group: Registered
  • Posts: 1,100
  • Joined: 11-January 09
run this in an elevated cmd
schtasks.exe /create /tn killaudio /sc onevent /ec System /mo "*[System[Provider[@Name='USER32'] and EventID=1074]]" /tr c:\killaudio.bat /np /rl highest

dont know if it works
0
  • Top
  • Neowinian
  • Icon
  • Group: Registered
  • Posts: 15
  • Joined: 05-May 04
yxz, I tried to run that command but unfortunately it didn't work.

I also tried editing the registry by following what this site says


Note that implies midification of the Registry, it is recommended to make backup before proceeding

Open notepad and copy the code below:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\State\Machine\Scripts]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\State\Machine\Scripts\Shutdown]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\State\Machine\Scripts\Startup]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\State\Machine\Scripts\Startup\0]
"GPO-ID"="LocalGPO"
"SOM-ID"="Local"
"FileSysPath"="C:\\Windows\\System32\\GroupPolicy\\Machine"
"DisplayName"="Stratégie de groupe locale"
"GPOName"="Stratégie de groupe locale"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\State\Machine\Scripts\Shutdown\0]
"GPO-ID"="LocalGPO"
"SOM-ID"="Local"
"FileSysPath"="C:\\Windows\\System32\\GroupPolicy\\Machine"
"DisplayName"="Stratégie de groupe locale"
"GPOName"="Stratégie de groupe locale"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\State\Machine\Scripts\Startup\0\0]
"Script"="C:\\script1.bat"
"Parameters"=""
"ExecTime"=hex(b):00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00



but it didn't work either
0
  • Top
  • Neowinian
  • Icon
  • Group: Registered
  • Posts: 17
  • Joined: 17-April 09
Have you contacted the manufacturer of the card? Perhaps they already have a fix, you might have to wait until the manufacturer comes out with an up to date driver which resolves this issue
0
  • Top
  • Resident Elite
  • Icon
  • Group: Registered
  • Posts: 1,100
  • Joined: 11-January 09
this should work
schtasks.exe /create /tn killaudio /sc onevent /ec System /mo "*[System[Provider[@Name='Microsoft-Windows-Winlogon'] and EventID=7002]]" /tr c:\killaudio.bat /np /rl highest
0
  • Top
  • Neowinian
  • Icon
  • Group: Registered
  • Posts: 46
  • Joined: 02-March 06
http://www.m-audio.c...serie_ID=1#tabs

as you figured out windows 7 is hanging on the driver and they do not seem to have a windows 7 driver yet

you could

try the vista sp2 driver

sign up for their beta driver and see if that works

unistall and wait for a win 7 driver

or try what you suggested

good luck!
0
  • Top
  • Neowinian
  • Icon
  • Group: Registered
  • Posts: 15
  • Joined: 05-May 04

View Postyxz, on Oct 25 2009, 14:32, said:

this should work
schtasks.exe /create /tn killaudio /sc onevent /ec System /mo "*[System[Provider[@Name='Microsoft-Windows-Winlogon'] and EventID=7002]]" /tr c:\killaudio.bat /np /rl highest


I tried to run that command in an elevated cmd window and changed the appropiate path and file name, but it didn't work.

SfIsHeR1701, theses windows 7 drivers are in beta and I think they are already aware of this, its the top post in the beta drivers forum
0
  • Top
  • Resident Elite
  • Icon
  • Group: Registered
  • Posts: 1,100
  • Joined: 11-January 09
the scheduled task works here (runs the .bat at user logoff)
what exactly doesnt work?
does the "fix" even work?

This post has been edited by yxz: 25 October 2009 - 15:50

0
  • Top
  • Neowinian
  • Icon
  • Group: Registered
  • Posts: 15
  • Joined: 05-May 04

View Postyxz, on Oct 25 2009, 16:12, said:

the scheduled task works here (runs the .bat at user logoff)
what exactly doesnt work?
does the "fix" even work?


I've tried thre fix manually by using the net stop command on the service to stop it, and it works fine, windows shuts down without hanging.

I just need a way to have the batch file triggered on shut down only, and not on user logoff or switching. I hope that clarifies things
0
  • Top
  • Resident Elite
  • Icon
  • Group: Registered
  • Posts: 1,100
  • Joined: 11-January 09
another method:

type event in the start menu search
click event viewer
click windows logs
click system
search event id 1074
right click event
click attach task to this event
0
  • Top
  • Neowinian
  • Icon
  • Group: Registered
  • Posts: 15
  • Joined: 05-May 04
yxz,

I also tried that method and it does not work. But thank you for continuing to offer solutions. I think task scheduler is the key to solving this, I just don't know how to get it to run prior to shut down.

mduren2445,

I tried the vista sp2 driver and that also causes the same hanging at shut down.


Is there any way to get the Group Policy Editor onto the Home Premium version?
0
  • Top
  • Resident One Post Wonder
  • Icon
  • Group: Registered
  • Posts: 1
  • Joined: 19-November 09
Hi there - I've got the EXACT same problem with my Tascam US-122 soundcard. I'm also using 7 Home Premium.

The only simple way round that I figured out is to just unplug the USB connection to the soundcard prior to shutting down. When I do this, the comp shuts down no problem. Leave it in, it hangs. Obv if you've for an internal soundcard that's not so easy....

Haven't found another solution as yet.....

Just thought that might be helpful - you are not alone!
0
  • Top
Page 1 of 1