Results 1 to 8 of 8

Thread: [URGENT] Problem with editing Registry

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2009
    Posts
    76

    [URGENT] Problem with editing Registry

    When I try to Import a registry file I get this error.

    Cannot import J:\Users\Mad Geek\Desktop\avi_fix_w7.reg: Not all data was successfully written to the registry. Some keys are open by the system or other processes.
    The content of the file is

    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_CLASSES_ROOT\.AVI]
    @="WMP11.AssocFile.AVI"
    "PerceivedType"="video"
    "Content Type"="video/avi"
    
    [HKEY_CLASSES_ROOT\.AVI\PersistentHandler]
    @="{098f2470-bae0-11cd-b579-08002b30bfeb}"
    
    [HKEY_CLASSES_ROOT\.AVI\ShellEx\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}]
    @="{9DBD2C50-62AD-11D0-B806-00C04FD706EC}"
    
    [HKEY_CLASSES_ROOT\.AVI\ShellEx\{e357fccd-a995-4576-b01f-234630154e96}]
    @="{9DBD2C50-62AD-11D0-B806-00C04FD706EC}"
    
    [HKEY_CLASSES_ROOT\WMP11.AssocFile.AVI]
    @="Video Clip"
    "EditFlags"=hex:00,00,11,00
    "FriendlyTypeName"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,\
      00,6f,00,6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,\
      32,00,5c,00,75,00,6e,00,72,00,65,00,67,00,6d,00,70,00,32,00,2e,00,65,00,78,\
      00,65,00,2c,00,2d,00,39,00,39,00,30,00,35,00,00,00
    "PreferExecuteOnMismatch"=dword:00000001
    
    [HKEY_CLASSES_ROOT\WMP11.AssocFile.AVI\DefaultIcon]
    @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
      00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,77,00,6d,00,\
      70,00,6c,00,6f,00,63,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,37,00,33,00,31,\
      00,00,00
    
    [HKEY_CLASSES_ROOT\WMP11.AssocFile.AVI\shell]
    @="Play"
    
    [HKEY_CLASSES_ROOT\WMP11.AssocFile.AVI\shell\Enqueue]
    @="&Add to Windows Media Player list"
    "MUIVerb"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,\
      6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\
      00,75,00,6e,00,72,00,65,00,67,00,6d,00,70,00,32,00,2e,00,65,00,78,00,65,00,\
      2c,00,2d,00,39,00,38,00,30,00,30,00,00,00
    
    [HKEY_CLASSES_ROOT\WMP11.AssocFile.AVI\shell\Enqueue\command]
    "DelegateExecute"="{45597c98-80f6-4549-84ff-752cf55e2d29}"
    
    [HKEY_CLASSES_ROOT\WMP11.AssocFile.AVI\shell\open]
    "LegacyDisable"=""
    
    [HKEY_CLASSES_ROOT\WMP11.AssocFile.AVI\shell\open\command]
    @=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,\
      00,65,00,73,00,25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,\
      4d,00,65,00,64,00,69,00,61,00,20,00,50,00,6c,00,61,00,79,00,65,00,72,00,5c,\
      00,77,00,6d,00,70,00,6c,00,61,00,79,00,65,00,72,00,2e,00,65,00,78,00,65,00,\
      22,00,20,00,2f,00,70,00,72,00,65,00,66,00,65,00,74,00,63,00,68,00,3a,00,38,\
      00,20,00,2f,00,4f,00,70,00,65,00,6e,00,20,00,22,00,25,00,4c,00,22,00,00,00
    
    [HKEY_CLASSES_ROOT\WMP11.AssocFile.AVI\shell\Play]
    @="&Play"
    "MUIVerb"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,\
      6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\
      00,75,00,6e,00,72,00,65,00,67,00,6d,00,70,00,32,00,2e,00,65,00,78,00,65,00,\
      2c,00,2d,00,39,00,39,00,39,00,31,00,00,00
    
    [HKEY_CLASSES_ROOT\WMP11.AssocFile.AVI\shell\Play\command]
    @=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,\
      00,65,00,73,00,25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,\
      4d,00,65,00,64,00,69,00,61,00,20,00,50,00,6c,00,61,00,79,00,65,00,72,00,5c,\
      00,77,00,6d,00,70,00,6c,00,61,00,79,00,65,00,72,00,2e,00,65,00,78,00,65,00,\
      22,00,20,00,2f,00,70,00,72,00,65,00,66,00,65,00,74,00,63,00,68,00,3a,00,38,\
      00,20,00,2f,00,50,00,6c,00,61,00,79,00,20,00,22,00,25,00,4c,00,22,00,00,00
    "DelegateExecute"="{ed1d0fdf-4414-470a-a56d-cfb68623fc58}"
    
    [HKEY_CLASSES_ROOT\WMP11.AssocFile.AVI\shellex\{8895b1c6-b41f-4c1c-a562-0d564250836f}]
    @="{031EE060-67BC-460d-8847-E4A7C5E45A27}"
    
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.AVI\UserChoice]
    "Progid"="WMP11.AssocFile.AVI"

    What I feel is it is because of permission settings for the .AVI key. I searched the net but didn't found a working example. I do found articles on how to take Ownership but that doesn't help.

    Can any one help me in getting this thing done, in VB.NET
    < advertising link removed by moderator >

  2. #2

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Sep 2009
    Posts
    76

    Re: [URGENT] Problem with editing Registry

    Indeed it is......

    I didn't found a working example thats why I asked for help. (Google result)
    < advertising link removed by moderator >

  4. #4
    PowerPoster cicatrix's Avatar
    Join Date
    Dec 2009
    Location
    Moscow, Russia
    Posts
    3,654

    Re: [URGENT] Problem with editing Registry

    Quote Originally Posted by riteshtechie View Post
    Indeed it is......

    I didn't found a working example thats why I asked for help. (Google result)

    If it is a system process you wouldn't be able to release these resources.
    If you want to learn how to do that it's one thing, if you simply want to apply these changes - it won't work. The resources are LOCKED, not belong to another user. This means that while the locking process continues working you won't be able apply changes. You should terminate the locking process first, but if it is a system process you won't be able to do so, or if you will the system will crash.

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Sep 2009
    Posts
    76

    Re: [URGENT] Problem with editing Registry

    Thanks for your reply, so what do you suggest what i should do. I ahve to update the regedit anyhow
    < advertising link removed by moderator >

  6. #6

  7. #7

    Thread Starter
    Lively Member
    Join Date
    Sep 2009
    Posts
    76

    Re: [URGENT] Problem with editing Registry

    Even if its work, than also it is of no use. Since no one will use my application if they had to reboot in safe mode so any other alternatives.
    < advertising link removed by moderator >

  8. #8
    PowerPoster cicatrix's Avatar
    Join Date
    Dec 2009
    Location
    Moscow, Russia
    Posts
    3,654

    Re: [URGENT] Problem with editing Registry

    Well, from what I see in your registry keys they shouldn't be locked.
    Try to find out which particular process is locking which registry key.
    Maybe there are some remnants of your app still in memory which have leacked and left the resources locked.
    Try to reboot and run reg file again.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width