Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Anybody know anything about autoplay/autorun in XP?


  • Please log in to reply
9 replies to this topic

#1 davexnet

davexnet

  • Members
  • 19 posts
  • OFFLINE
  •  
  • Local time:09:47 AM

Posted 18 March 2014 - 06:01 PM

I get a delay after inserting a disk into the CD drive before the Autoplay box comes up,

as much as one minute.

 

On a second optical reader in the same PC, there is no delay - Autoplay window comes up in 5 or 6 seconds.

 

These are both internal IDE devices.

 

Any thoughts on a possible culprit?


Edited by davexnet, 18 March 2014 - 06:02 PM.


BC AdBot (Login to Remove)

 


#2 JohnC_21

JohnC_21

  • Members
  • 23,644 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:12:47 PM

Posted 18 March 2014 - 06:34 PM

My first guess would be a failing drive. You could take out the drive, disassemble and clean the laser to see if it helps. If not you will probably need a new drive. You have to pull open the tray and then remove the faceplate. Then the case can be take apart and the laser is visible.

 



#3 davexnet

davexnet
  • Topic Starter

  • Members
  • 19 posts
  • OFFLINE
  •  
  • Local time:09:47 AM

Posted 18 March 2014 - 11:05 PM

Thanks for your suggestion.  It doesn't appear to be hardware problem.  If I insert the disk into the drive

with the Autorun delay, I can open my computer/explore the contents and it responds immediately.  Only the autorun/

autoplay mechanism is delayed.

 

The PC in question is dual boot; I have Vista in another partition - when I boot up in there,

both drives  respond as normal, no delay at all.  The delay is only in XP.

 

One other thing I tried, I cleaned up the CDROM class lowerfilters - probably something left over from an

old install - that didn't affect it either.



#4 JohnC_21

JohnC_21

  • Members
  • 23,644 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:12:47 PM

Posted 19 March 2014 - 08:03 AM

I am pretty sure AutoRun was disabled in a security fix to prevent malware from running automatically when a CD or USB stick was attached.

 

As far as AutoPlay in XP goes, see if this fix will work. It worked for me when the Autoplay Box never appeared.

 



#5 davexnet

davexnet
  • Topic Starter

  • Members
  • 19 posts
  • OFFLINE
  •  
  • Local time:09:47 AM

Posted 19 March 2014 - 10:58 AM

I am pretty sure AutoRun was disabled in a security fix to prevent malware from running automatically when a CD or USB stick was attached.

 

As far as AutoPlay in XP goes, see if this fix will work. It worked for me when the Autoplay Box never appeared.

 

I have tried MS's Autofix program, but myself, as well as a number of others judging by loads of forum posts,

get this frustrating error as seen below. 

In my situation, the Autoplay box does eventually appear; it's reaction is very slow Vs. it being disabled.

 

Test [Drive Notification] - Instance [E:\, Drive Type: 5]:
    Result [Legacy Notification]: OK
    Result [AutoPlay V2 Notification]: Problems {
        Service (Silent)
        Shell (Deaf) }
    >> Repair << [Autoplay V2 Event]
      Step: No steps to take.
      Result: This AutoPlay setting cannot be fixed. Either the device is malfunctioning, or the wizard cannot determine the problem.

>> Required action: The wizard found problems but cannot fix them -> None



#6 Roodo

Roodo

  • Members
  • 760 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:10:47 AM

Posted 19 March 2014 - 12:30 PM

In the services panel goto "shell hardware detection' is the startup automatic.

 

Control panel>administrative tools>services.



#7 davexnet

davexnet
  • Topic Starter

  • Members
  • 19 posts
  • OFFLINE
  •  
  • Local time:09:47 AM

Posted 20 March 2014 - 02:36 PM

In the services panel goto "shell hardware detection' is the startup automatic.

 

Control panel>administrative tools>services.

Checked it, it's set as it should be and it's running..  I just can't figure out why one drive behaves differently than the other -

but just in this install of XP.



#8 JohnC_21

JohnC_21

  • Members
  • 23,644 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:12:47 PM

Posted 20 March 2014 - 02:56 PM

In Device Manager right click the CD drive with the problem and select Uninstall. Then Reboot.

#9 davexnet

davexnet
  • Topic Starter

  • Members
  • 19 posts
  • OFFLINE
  •  
  • Local time:09:47 AM

Posted 21 March 2014 - 01:27 PM

I found the cause of this problem.  It's related to something I've never used, but knew it existed somewhere in the background -

XP's ability to record to a CD using drag and drop.  The first clue was when I used MS's registry monitor tool to keep watch during the

disk insertion so I could compare the drives.(I did it in msconfig/selective mode - made sure shell HW detecion was activated).

If you look at this section you can see the call to autoplayhandlers comes online 31, just a few seconds after the process starts.

 

1    29.12935257    winlogon.exe:472    QueryKey    HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon    BUFFER OVERFLOW        
2    29.12941742    winlogon.exe:472    QueryValue    HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\AllocateFloppies    SUCCESS    "0"    
3    29.12945366    winlogon.exe:472    CloseKey    HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon    SUCCESS        
4    29.12948608    winlogon.exe:472    QueryKey    HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon    BUFFER OVERFLOW        
5    29.12952423    winlogon.exe:472    QueryValue    HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\AllocateCDRoms    SUCCESS    "0"    
6    29.12955093    winlogon.exe:472    CloseKey    HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon    SUCCESS        
7    29.12957954    winlogon.exe:472    QueryKey    HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon    BUFFER OVERFLOW        
8    29.12961578    winlogon.exe:472    QueryValue    HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\AllocateDASD    SUCCESS    "0"    
9    29.12964249    winlogon.exe:472    CloseKey    HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon    SUCCESS        
10    32.12299347    explorer.exe:1096    OpenKey    HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\CD Burning    SUCCESS    Access: 0x1     
11    32.12302399    explorer.exe:1096    QueryValue    HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\CD Burning\CD Recorder Drive    SUCCESS    "\\?\Volume{908b1955-15ea-11e3-a15e-806d6172696f}\"    
12    32.12305832    explorer.exe:1096    CloseKey    HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\CD Burning    SUCCESS        
13    32.12353134    explorer.exe:1096    QueryKey    HKCU    SUCCESS    Name: \REGISTRY\USER\S-1-5-21-1177238915-688789844-854245398-1003_CLASSES    
14    32.12356186    explorer.exe:1096    OpenKey    HKCU\Drive\shellex\FolderExtensions    NOT FOUND        
15    32.12360382    explorer.exe:1096    OpenKey    HKCR\Drive\shellex\FolderExtensions    SUCCESS    Access: 0x8     
16    32.12363815    explorer.exe:1096    QueryKey    HKCR\Drive\shellex\FolderExtensions    SUCCESS    Name: \REGISTRY\MACHINE\SOFTWARE\Classes\Drive\shellex\FolderExtensions    
17    32.12368393    explorer.exe:1096    OpenKey    HKCU\Drive\shellex\FolderExtensions    NOT FOUND        
18    32.12371063    explorer.exe:1096    EnumerateKey    HKCR\Drive\shellex\FolderExtensions    SUCCESS    Name: {fbeb8a05-beee-4442-804e-409d6c4515e9}    
19    32.12373734    explorer.exe:1096    QueryKey    HKCU    SUCCESS    Name: \REGISTRY\USER\S-1-5-21-1177238915-688789844-854245398-1003_CLASSES    
20    32.12376404    explorer.exe:1096    OpenKey    HKCU\Drive\shellex\FolderExtensions\{fbeb8a05-beee-4442-804e-409d6c4515e9}    NOT FOUND        
21    32.12380600    explorer.exe:1096    OpenKey    HKCR\Drive\shellex\FolderExtensions\{fbeb8a05-beee-4442-804e-409d6c4515e9}    SUCCESS    Access: 0x1     
22    32.12383270    explorer.exe:1096    QueryKey    HKCR\Drive\shellex\FolderExtensions\{fbeb8a05-beee-4442-804e-409d6c4515e9}    SUCCESS    Name: \REGISTRY\MACHINE\SOFTWARE\Classes\Drive\shellex\FolderExtensions\{fbeb8a05-beee-4442-804e-409d6c4515e9}    
23    32.12387085    explorer.exe:1096    OpenKey    HKCU\Drive\shellex\FolderExtensions\{fbeb8a05-beee-4442-804e-409d6c4515e9}    NOT FOUND        
24    32.12389374    explorer.exe:1096    QueryValue    HKCR\Drive\shellex\FolderExtensions\{fbeb8a05-beee-4442-804e-409d6c4515e9}\DriveMask    SUCCESS    0x20    
25    32.12391663    explorer.exe:1096    CloseKey    HKCR\Drive\shellex\FolderExtensions\{fbeb8a05-beee-4442-804e-409d6c4515e9}    SUCCESS        
26    32.12400436    explorer.exe:1096    OpenKey    HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\CD Burning    SUCCESS    Access: 0x1     
27    32.12402725    explorer.exe:1096    QueryValue    HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\CD Burning\DriveIndex    SUCCESS    0x7    
28    32.12404633    explorer.exe:1096    CloseKey    HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\CD Burning    SUCCESS        
29    32.12406921    explorer.exe:1096    EnumerateKey    HKCR\Drive\shellex\FolderExtensions    NO MORE ENTRIES        
30    32.12408447    explorer.exe:1096    CloseKey    HKCR\Drive\shellex\FolderExtensions    SUCCESS        
31    34.75412369    explorer.exe:1096    OpenKey    HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers    SUCCESS    Access: 0x1   

 

That above was the drive that responds normally.  ON the equivalent registry capture for the slow drive, you don't see the call for autoplayhanlders

until line 1373 - 45 seconds later.  INstead at the beginning you see this:

1    24.22400665    winlogon.exe:472    QueryKey    HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon    BUFFER OVERFLOW        
2    24.22405815    winlogon.exe:472    QueryValue    HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\AllocateFloppies    SUCCESS    "0"    
3    24.22409821    winlogon.exe:472    CloseKey    HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon    SUCCESS        
4    24.22413826    winlogon.exe:472    QueryKey    HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon    BUFFER OVERFLOW        
5    24.22417068    winlogon.exe:472    QueryValue    HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\AllocateCDRoms    SUCCESS    "0"    
6    24.22425270    winlogon.exe:472    CloseKey    HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon    SUCCESS        
7    24.22429085    winlogon.exe:472    QueryKey    HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon    BUFFER OVERFLOW        
8    24.22432327    winlogon.exe:472    QueryValue    HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\AllocateDASD    SUCCESS    "0"    
9    24.22434998    winlogon.exe:472    CloseKey    HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon    SUCCESS        
10    27.21682358    explorer.exe:1096    OpenKey    HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\CD Burning    SUCCESS    Access: 0x1     
11    27.21685791    explorer.exe:1096    QueryValue    HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\CD Burning\CD Recorder Drive    SUCCESS    "\\?\Volume{908b1955-15ea-11e3-a15e-806d6172696f}\"    
12    27.21689796    explorer.exe:1096    CloseKey    HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\CD Burning    SUCCESS        
13    27.21730423    explorer.exe:1096    OpenKey    HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\CD Burning\Current Media    NOT FOUND        
14    27.21737862    explorer.exe:1096    OpenKey    HKLM\Software\Microsoft\COM3    SUCCESS    Access: 0x20019     
15    27.21740723    explorer.exe:1096    QueryValue    HKLM\Software\Microsoft\COM3\REGDBVersion    SUCCESS    F5 03 00 00 00 00 00 00     
16    27.21742821    explorer.exe:1096    CloseKey    HKLM\Software\Microsoft\COM3    SUCCESS      

 

On line 13 you see this, which does not appear in the "good" log,  This gave me a clue, and after this I got out of selective/diagnostic mode

and brought the system up normally.

OpenKey    HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\CD Burning\Current Media    NOT FOUND

 

If you open "my computer" and right click the optical drive/properties, the slow drive had a recording tab, and recording was enabled.

Soon as I disabled the recording, problem was solved,  The other drive did not have a recording tab.

 

I know it's pretty obscure, but perhaps this will be of some use to XP diehards in the future.

 

Attached Files



#10 JohnC_21

JohnC_21

  • Members
  • 23,644 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:12:47 PM

Posted 21 March 2014 - 06:55 PM

That was some nice detective work. Thanks for the update and the detailed steps used to find the problem.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users