Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista file management

Vista - lnk file association

Reply
 
Old 04-19-2007   #1 (permalink)
Daemonfyre


 
 

lnk file association

Long story short, I'm another one of the dozens of people whose shortcuts and
start menu files have turned into unassociated .lnk files. I've looked at
several other threads and tried the fix that they point to, namely the .reg
fix file. However, whenever I try to merge the file I get an error message
that reads:

Cannot import C:\lnk_vista.reg: Not all data was successfully written to the
registry. Some of the keys are open by the system or other processes.

I've tried closing every program in the task manager that will stay closed
and it still gives the error message. I've tried moving the file from C:\ to
the desktop, tried running regedit and merging the file through that and no
luck. Could it have something to do with the fact that I manually assigned
an association to the .lnk extension through the Default Programs option? If
so then is there any way to dis-associate them so they can be properly
re-associated? Or does anyone know any other way to fix this problem?

My System SpecsSystem Spec
Old 04-19-2007   #2 (permalink)
Ilia Sacson [MS]


 
 

Re: lnk file association

Daemonfyre,

Have you verified that you have the right to modify these regkeys? You may
have to take ownership of the keys your regfile modifies and then grant
yourself (or your group such as Admins) full access. Apply the change
recusrively (to the key and all subkeys). The keys are probably
HKEY_CLASSES_ROOT\.lnk and HKEY_CLASSES_ROOT\lnkfile.

Thanks,
Ilia

"Daemonfyre" <Daemonfyre@discussions.microsoft.com> wrote in message
news:EECADD30-8E76-40CA-987F-345B8E78B1AF@microsoft.com...
> Long story short, I'm another one of the dozens of people whose shortcuts
> and
> start menu files have turned into unassociated .lnk files. I've looked at
> several other threads and tried the fix that they point to, namely the
> .reg
> fix file. However, whenever I try to merge the file I get an error
> message
> that reads:
>
> Cannot import C:\lnk_vista.reg: Not all data was successfully written to
> the
> registry. Some of the keys are open by the system or other processes.
>
> I've tried closing every program in the task manager that will stay closed
> and it still gives the error message. I've tried moving the file from C:\
> to
> the desktop, tried running regedit and merging the file through that and
> no
> luck. Could it have something to do with the fact that I manually
> assigned
> an association to the .lnk extension through the Default Programs option?
> If
> so then is there any way to dis-associate them so they can be properly
> re-associated? Or does anyone know any other way to fix this problem?


My System SpecsSystem Spec
Old 04-20-2007   #3 (permalink)
Daemonfyre


 
 

Re: lnk file association

Yes, I went in and verified each item under the key individually, all were
set to admin group(which is me, as this is my home comp and I'm the only
user) except one that was set to "TrustedInstaller" I set all of them
specifically to my profile, rebooted and tried again, no luck, still gives
the error message.

"Ilia Sacson [MS]" wrote:

> Daemonfyre,
>
> Have you verified that you have the right to modify these regkeys? You may
> have to take ownership of the keys your regfile modifies and then grant
> yourself (or your group such as Admins) full access. Apply the change
> recusrively (to the key and all subkeys). The keys are probably
> HKEY_CLASSES_ROOT\.lnk and HKEY_CLASSES_ROOT\lnkfile.
>
> Thanks,
> Ilia
>
> "Daemonfyre" <Daemonfyre@discussions.microsoft.com> wrote in message
> news:EECADD30-8E76-40CA-987F-345B8E78B1AF@microsoft.com...
> > Long story short, I'm another one of the dozens of people whose shortcuts
> > and
> > start menu files have turned into unassociated .lnk files. I've looked at
> > several other threads and tried the fix that they point to, namely the
> > .reg
> > fix file. However, whenever I try to merge the file I get an error
> > message
> > that reads:
> >
> > Cannot import C:\lnk_vista.reg: Not all data was successfully written to
> > the
> > registry. Some of the keys are open by the system or other processes.
> >
> > I've tried closing every program in the task manager that will stay closed
> > and it still gives the error message. I've tried moving the file from C:\
> > to
> > the desktop, tried running regedit and merging the file through that and
> > no
> > luck. Could it have something to do with the fact that I manually
> > assigned
> > an association to the .lnk extension through the Default Programs option?
> > If
> > so then is there any way to dis-associate them so they can be properly
> > re-associated? Or does anyone know any other way to fix this problem?

>
>

My System SpecsSystem Spec
Old 04-20-2007   #4 (permalink)
Ilia Sacson [MS]


 
 

Re: lnk file association

Have you tried to do it in safe mode? Do you have any spyware
protectors/registry watchers running?
Ilia

"Daemonfyre" <Daemonfyre@discussions.microsoft.com> wrote in message
news:9AFAEBE2-CCE6-47C2-9544-0056CFEC5DD8@microsoft.com...
> Yes, I went in and verified each item under the key individually, all were
> set to admin group(which is me, as this is my home comp and I'm the only
> user) except one that was set to "TrustedInstaller" I set all of them
> specifically to my profile, rebooted and tried again, no luck, still gives
> the error message.
>
> "Ilia Sacson [MS]" wrote:
>
>> Daemonfyre,
>>
>> Have you verified that you have the right to modify these regkeys? You
>> may
>> have to take ownership of the keys your regfile modifies and then grant
>> yourself (or your group such as Admins) full access. Apply the change
>> recusrively (to the key and all subkeys). The keys are probably
>> HKEY_CLASSES_ROOT\.lnk and HKEY_CLASSES_ROOT\lnkfile.
>>
>> Thanks,
>> Ilia
>>
>> "Daemonfyre" <Daemonfyre@discussions.microsoft.com> wrote in message
>> news:EECADD30-8E76-40CA-987F-345B8E78B1AF@microsoft.com...
>> > Long story short, I'm another one of the dozens of people whose
>> > shortcuts
>> > and
>> > start menu files have turned into unassociated .lnk files. I've looked
>> > at
>> > several other threads and tried the fix that they point to, namely the
>> > .reg
>> > fix file. However, whenever I try to merge the file I get an error
>> > message
>> > that reads:
>> >
>> > Cannot import C:\lnk_vista.reg: Not all data was successfully written
>> > to
>> > the
>> > registry. Some of the keys are open by the system or other processes.
>> >
>> > I've tried closing every program in the task manager that will stay
>> > closed
>> > and it still gives the error message. I've tried moving the file from
>> > C:\
>> > to
>> > the desktop, tried running regedit and merging the file through that
>> > and
>> > no
>> > luck. Could it have something to do with the fact that I manually
>> > assigned
>> > an association to the .lnk extension through the Default Programs
>> > option?
>> > If
>> > so then is there any way to dis-associate them so they can be properly
>> > re-associated? Or does anyone know any other way to fix this problem?

>>
>>


My System SpecsSystem Spec
Old 04-20-2007   #5 (permalink)
Daemonfyre


 
 

Re: lnk file association

Tried in safe mode, no luck. Also tried in safe mode with command prompt,
still no change. And I've gone through every program that's listed in the
task manager that would close and stay closed and tried it again, still no
luck. It just keeps giving me that error message.

"Ilia Sacson [MS]" wrote:

> Have you tried to do it in safe mode? Do you have any spyware
> protectors/registry watchers running?
> Ilia
>
> "Daemonfyre" <Daemonfyre@discussions.microsoft.com> wrote in message
> news:9AFAEBE2-CCE6-47C2-9544-0056CFEC5DD8@microsoft.com...
> > Yes, I went in and verified each item under the key individually, all were
> > set to admin group(which is me, as this is my home comp and I'm the only
> > user) except one that was set to "TrustedInstaller" I set all of them
> > specifically to my profile, rebooted and tried again, no luck, still gives
> > the error message.
> >
> > "Ilia Sacson [MS]" wrote:
> >
> >> Daemonfyre,
> >>
> >> Have you verified that you have the right to modify these regkeys? You
> >> may
> >> have to take ownership of the keys your regfile modifies and then grant
> >> yourself (or your group such as Admins) full access. Apply the change
> >> recusrively (to the key and all subkeys). The keys are probably
> >> HKEY_CLASSES_ROOT\.lnk and HKEY_CLASSES_ROOT\lnkfile.
> >>
> >> Thanks,
> >> Ilia
> >>
> >> "Daemonfyre" <Daemonfyre@discussions.microsoft.com> wrote in message
> >> news:EECADD30-8E76-40CA-987F-345B8E78B1AF@microsoft.com...
> >> > Long story short, I'm another one of the dozens of people whose
> >> > shortcuts
> >> > and
> >> > start menu files have turned into unassociated .lnk files. I've looked
> >> > at
> >> > several other threads and tried the fix that they point to, namely the
> >> > .reg
> >> > fix file. However, whenever I try to merge the file I get an error
> >> > message
> >> > that reads:
> >> >
> >> > Cannot import C:\lnk_vista.reg: Not all data was successfully written
> >> > to
> >> > the
> >> > registry. Some of the keys are open by the system or other processes.
> >> >
> >> > I've tried closing every program in the task manager that will stay
> >> > closed
> >> > and it still gives the error message. I've tried moving the file from
> >> > C:\
> >> > to
> >> > the desktop, tried running regedit and merging the file through that
> >> > and
> >> > no
> >> > luck. Could it have something to do with the fact that I manually
> >> > assigned
> >> > an association to the .lnk extension through the Default Programs
> >> > option?
> >> > If
> >> > so then is there any way to dis-associate them so they can be properly
> >> > re-associated? Or does anyone know any other way to fix this problem?
> >>
> >>

>
>

My System SpecsSystem Spec
Old 04-20-2007   #6 (permalink)
Ilia Sacson [MS]


 
 

Re: lnk file association

Hmm. Well, let's do it the hard way then. Please install Process Monitor
from here:
http://www.microsoft.com/technet/sys...ssmonitor.mspx.
This nice program allows monitoring all file, registry and other activity.
Start it up. Then configure it to show registry activity only (the toolbar
button that looks like regedit.exe's icon pressed, other two not pressed),
and open the reg file. The message should ask you if you really mean to add
that stuff to the registry. Do not press anything, go back to Process
Monitor, scroll down to where regedit.exe first appears in the Process Name
column. Right-click, Include..., Process Name. Now you only see what's
regedit doing to the registry. Clear the view by pressing Control+X keys or
the little page and erazer button on the toolbar. Now go back to that
confirmation dialog and press Yes.

Process Monitor should show all the registry operations that regedit tried
to do to change the registry according to the reg file. In the Results
column, search for anything other than SUCCESS or NAME NOT FOUND or REPARSE
or BUFFER OVERFLOW, these are expected. ACCESS DENIED would be good, or
something like that. In the Path column, it should mention where exactly the
access is denied. Then try setting right permissions on these keys.

Ilia

"Daemonfyre" <Daemonfyre@discussions.microsoft.com> wrote in message
news:6811B73C-EEC6-4D16-8F24-203C4EA61092@microsoft.com...
> Tried in safe mode, no luck. Also tried in safe mode with command prompt,
> still no change. And I've gone through every program that's listed in the
> task manager that would close and stay closed and tried it again, still no
> luck. It just keeps giving me that error message.
>
> "Ilia Sacson [MS]" wrote:
>
>> Have you tried to do it in safe mode? Do you have any spyware
>> protectors/registry watchers running?
>> Ilia
>>
>> "Daemonfyre" <Daemonfyre@discussions.microsoft.com> wrote in message
>> news:9AFAEBE2-CCE6-47C2-9544-0056CFEC5DD8@microsoft.com...
>> > Yes, I went in and verified each item under the key individually, all
>> > were
>> > set to admin group(which is me, as this is my home comp and I'm the
>> > only
>> > user) except one that was set to "TrustedInstaller" I set all of them
>> > specifically to my profile, rebooted and tried again, no luck, still
>> > gives
>> > the error message.
>> >
>> > "Ilia Sacson [MS]" wrote:
>> >
>> >> Daemonfyre,
>> >>
>> >> Have you verified that you have the right to modify these regkeys? You
>> >> may
>> >> have to take ownership of the keys your regfile modifies and then
>> >> grant
>> >> yourself (or your group such as Admins) full access. Apply the change
>> >> recusrively (to the key and all subkeys). The keys are probably
>> >> HKEY_CLASSES_ROOT\.lnk and HKEY_CLASSES_ROOT\lnkfile.
>> >>
>> >> Thanks,
>> >> Ilia
>> >>
>> >> "Daemonfyre" <Daemonfyre@discussions.microsoft.com> wrote in message
>> >> news:EECADD30-8E76-40CA-987F-345B8E78B1AF@microsoft.com...
>> >> > Long story short, I'm another one of the dozens of people whose
>> >> > shortcuts
>> >> > and
>> >> > start menu files have turned into unassociated .lnk files. I've
>> >> > looked
>> >> > at
>> >> > several other threads and tried the fix that they point to, namely
>> >> > the
>> >> > .reg
>> >> > fix file. However, whenever I try to merge the file I get an error
>> >> > message
>> >> > that reads:
>> >> >
>> >> > Cannot import C:\lnk_vista.reg: Not all data was successfully
>> >> > written
>> >> > to
>> >> > the
>> >> > registry. Some of the keys are open by the system or other
>> >> > processes.
>> >> >
>> >> > I've tried closing every program in the task manager that will stay
>> >> > closed
>> >> > and it still gives the error message. I've tried moving the file
>> >> > from
>> >> > C:\
>> >> > to
>> >> > the desktop, tried running regedit and merging the file through that
>> >> > and
>> >> > no
>> >> > luck. Could it have something to do with the fact that I manually
>> >> > assigned
>> >> > an association to the .lnk extension through the Default Programs
>> >> > option?
>> >> > If
>> >> > so then is there any way to dis-associate them so they can be
>> >> > properly
>> >> > re-associated? Or does anyone know any other way to fix this
>> >> > problem?
>> >>
>> >>

>>
>>


My System SpecsSystem Spec
Old 04-21-2007   #7 (permalink)
Daemonfyre


 
 

Re: lnk file association

The only thing that's showing anything other than those normal results you
listed is:
HKCU\Software\Microsoft\CTF\DirectSwitchHotkeys

The result is NO MORE ENTRIES. I check and set it's permissions to my
account too but still get the same message.

"Ilia Sacson [MS]" wrote:

> Hmm. Well, let's do it the hard way then. Please install Process Monitor
> from here:
> http://www.microsoft.com/technet/sys...ssmonitor.mspx.
> This nice program allows monitoring all file, registry and other activity.
> Start it up. Then configure it to show registry activity only (the toolbar
> button that looks like regedit.exe's icon pressed, other two not pressed),
> and open the reg file. The message should ask you if you really mean to add
> that stuff to the registry. Do not press anything, go back to Process
> Monitor, scroll down to where regedit.exe first appears in the Process Name
> column. Right-click, Include..., Process Name. Now you only see what's
> regedit doing to the registry. Clear the view by pressing Control+X keys or
> the little page and erazer button on the toolbar. Now go back to that
> confirmation dialog and press Yes.
>
> Process Monitor should show all the registry operations that regedit tried
> to do to change the registry according to the reg file. In the Results
> column, search for anything other than SUCCESS or NAME NOT FOUND or REPARSE
> or BUFFER OVERFLOW, these are expected. ACCESS DENIED would be good, or
> something like that. In the Path column, it should mention where exactly the
> access is denied. Then try setting right permissions on these keys.
>
> Ilia
>
> "Daemonfyre" <Daemonfyre@discussions.microsoft.com> wrote in message
> news:6811B73C-EEC6-4D16-8F24-203C4EA61092@microsoft.com...
> > Tried in safe mode, no luck. Also tried in safe mode with command prompt,
> > still no change. And I've gone through every program that's listed in the
> > task manager that would close and stay closed and tried it again, still no
> > luck. It just keeps giving me that error message.
> >
> > "Ilia Sacson [MS]" wrote:
> >
> >> Have you tried to do it in safe mode? Do you have any spyware
> >> protectors/registry watchers running?
> >> Ilia
> >>
> >> "Daemonfyre" <Daemonfyre@discussions.microsoft.com> wrote in message
> >> news:9AFAEBE2-CCE6-47C2-9544-0056CFEC5DD8@microsoft.com...
> >> > Yes, I went in and verified each item under the key individually, all
> >> > were
> >> > set to admin group(which is me, as this is my home comp and I'm the
> >> > only
> >> > user) except one that was set to "TrustedInstaller" I set all of them
> >> > specifically to my profile, rebooted and tried again, no luck, still
> >> > gives
> >> > the error message.
> >> >
> >> > "Ilia Sacson [MS]" wrote:
> >> >
> >> >> Daemonfyre,
> >> >>
> >> >> Have you verified that you have the right to modify these regkeys? You
> >> >> may
> >> >> have to take ownership of the keys your regfile modifies and then
> >> >> grant
> >> >> yourself (or your group such as Admins) full access. Apply the change
> >> >> recusrively (to the key and all subkeys). The keys are probably
> >> >> HKEY_CLASSES_ROOT\.lnk and HKEY_CLASSES_ROOT\lnkfile.
> >> >>
> >> >> Thanks,
> >> >> Ilia
> >> >>
> >> >> "Daemonfyre" <Daemonfyre@discussions.microsoft.com> wrote in message
> >> >> news:EECADD30-8E76-40CA-987F-345B8E78B1AF@microsoft.com...
> >> >> > Long story short, I'm another one of the dozens of people whose
> >> >> > shortcuts
> >> >> > and
> >> >> > start menu files have turned into unassociated .lnk files. I've
> >> >> > looked
> >> >> > at
> >> >> > several other threads and tried the fix that they point to, namely
> >> >> > the
> >> >> > .reg
> >> >> > fix file. However, whenever I try to merge the file I get an error
> >> >> > message
> >> >> > that reads:
> >> >> >
> >> >> > Cannot import C:\lnk_vista.reg: Not all data was successfully
> >> >> > written
> >> >> > to
> >> >> > the
> >> >> > registry. Some of the keys are open by the system or other
> >> >> > processes.
> >> >> >
> >> >> > I've tried closing every program in the task manager that will stay
> >> >> > closed
> >> >> > and it still gives the error message. I've tried moving the file
> >> >> > from
> >> >> > C:\
> >> >> > to
> >> >> > the desktop, tried running regedit and merging the file through that
> >> >> > and
> >> >> > no
> >> >> > luck. Could it have something to do with the fact that I manually
> >> >> > assigned
> >> >> > an association to the .lnk extension through the Default Programs
> >> >> > option?
> >> >> > If
> >> >> > so then is there any way to dis-associate them so they can be
> >> >> > properly
> >> >> > re-associated? Or does anyone know any other way to fix this
> >> >> > problem?
> >> >>
> >> >>
> >>
> >>

>
>

My System SpecsSystem Spec
Old 04-22-2007   #8 (permalink)
Daemonfyre


 
 

Re: lnk file association

Anyone got any other suggestions or any idea why none of what is supposed to
work is working? I know I'm not the only one having a problem like this,
there's even someone else posting with the exact same problem on the help
page for the file association fixes(commend #4):
http://www.winhelponline.com/articles/105/1/

It's really annoying having to track down .exes or having to go through the
properties menu every time I want to start a program.
My System SpecsSystem Spec
Old 04-22-2007   #9 (permalink)
dean-dean


 
 

Re: lnk file association

Have you tried the .reg file merge with User Account Control disabled?

"Daemonfyre" <Daemonfyre@discussions.microsoft.com> wrote in message
news:190ECEEE-1F46-4B28-A01C-E9A49AD24C05@microsoft.com...
> Anyone got any other suggestions or any idea why none of what is supposed
> to
> work is working? I know I'm not the only one having a problem like this,
> there's even someone else posting with the exact same problem on the help
> page for the file association fixes(commend #4):
> http://www.winhelponline.com/articles/105/1/
>
> It's really annoying having to track down .exes or having to go through
> the
> properties menu every time I want to start a program.


My System SpecsSystem Spec
Old 04-22-2007   #10 (permalink)
Daemonfyre


 
 

Re: lnk file association

No luck, restarted, still gives error message. Tried running the process
monitor too, no changes.

"dean-dean" wrote:

> Have you tried the .reg file merge with User Account Control disabled?
>
> "Daemonfyre" <Daemonfyre@discussions.microsoft.com> wrote in message
> news:190ECEEE-1F46-4B28-A01C-E9A49AD24C05@microsoft.com...
> > Anyone got any other suggestions or any idea why none of what is supposed
> > to
> > work is working? I know I'm not the only one having a problem like this,
> > there's even someone else posting with the exact same problem on the help
> > page for the file association fixes(commend #4):
> > http://www.winhelponline.com/articles/105/1/
> >
> > It's really annoying having to track down .exes or having to go through
> > the
> > properties menu every time I want to start a program.

>
>

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
how to restore .zip file association & file icon in Vista? Vista file management
File association Vista file management
File Association Vista General
File association Vista file management
File association Vista file management


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46