technx Posted October 25, 2009 Share Posted October 25, 2009 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 Link to comment https://www.neowin.net/forum/topic/837776-windows-7-home-premium-hanging-on-shutdown/ Share on other sites More sharing options...
Sonic2k Posted October 25, 2009 Share Posted October 25, 2009 Upgrade to Professional or Ultimate Link to comment https://www.neowin.net/forum/topic/837776-windows-7-home-premium-hanging-on-shutdown/#findComment-591752164 Share on other sites More sharing options...
yxz Posted October 25, 2009 Share Posted October 25, 2009 (edited) task scheduler? Edited October 25, 2009 by yxz Link to comment https://www.neowin.net/forum/topic/837776-windows-7-home-premium-hanging-on-shutdown/#findComment-591752190 Share on other sites More sharing options...
technx Posted October 25, 2009 Author Share Posted October 25, 2009 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. Link to comment https://www.neowin.net/forum/topic/837776-windows-7-home-premium-hanging-on-shutdown/#findComment-591752262 Share on other sites More sharing options...
yxz Posted October 25, 2009 Share Posted October 25, 2009 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 Link to comment https://www.neowin.net/forum/topic/837776-windows-7-home-premium-hanging-on-shutdown/#findComment-591752280 Share on other sites More sharing options...
technx Posted October 25, 2009 Author Share Posted October 25, 2009 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 Link to comment https://www.neowin.net/forum/topic/837776-windows-7-home-premium-hanging-on-shutdown/#findComment-591752362 Share on other sites More sharing options...
SfIsHeR1701 Posted October 25, 2009 Share Posted October 25, 2009 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 Link to comment https://www.neowin.net/forum/topic/837776-windows-7-home-premium-hanging-on-shutdown/#findComment-591752412 Share on other sites More sharing options...
yxz Posted October 25, 2009 Share Posted October 25, 2009 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 Link to comment https://www.neowin.net/forum/topic/837776-windows-7-home-premium-hanging-on-shutdown/#findComment-591752452 Share on other sites More sharing options...
mduren2445 Posted October 25, 2009 Share Posted October 25, 2009 http://www.m-audio.com/index.php?do=suppor...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! Link to comment https://www.neowin.net/forum/topic/837776-windows-7-home-premium-hanging-on-shutdown/#findComment-591752488 Share on other sites More sharing options...
technx Posted October 25, 2009 Author Share Posted October 25, 2009 this should workschtasks.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 Link to comment https://www.neowin.net/forum/topic/837776-windows-7-home-premium-hanging-on-shutdown/#findComment-591752492 Share on other sites More sharing options...
yxz Posted October 25, 2009 Share Posted October 25, 2009 (edited) the scheduled task works here (runs the .bat at user logoff) what exactly doesnt work? does the "fix" even work? Edited October 25, 2009 by yxz Link to comment https://www.neowin.net/forum/topic/837776-windows-7-home-premium-hanging-on-shutdown/#findComment-591752574 Share on other sites More sharing options...
technx Posted October 25, 2009 Author Share Posted October 25, 2009 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 Link to comment https://www.neowin.net/forum/topic/837776-windows-7-home-premium-hanging-on-shutdown/#findComment-591752884 Share on other sites More sharing options...
yxz Posted October 25, 2009 Share Posted October 25, 2009 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 Link to comment https://www.neowin.net/forum/topic/837776-windows-7-home-premium-hanging-on-shutdown/#findComment-591753074 Share on other sites More sharing options...
technx Posted October 25, 2009 Author Share Posted October 25, 2009 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? Link to comment https://www.neowin.net/forum/topic/837776-windows-7-home-premium-hanging-on-shutdown/#findComment-591753288 Share on other sites More sharing options...
yorkshire-dan Posted November 19, 2009 Share Posted November 19, 2009 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! Link to comment https://www.neowin.net/forum/topic/837776-windows-7-home-premium-hanging-on-shutdown/#findComment-591867500 Share on other sites More sharing options...
Recommended Posts