View Single Post
  #11 (permalink)  
Old April 23rd 07, 07:55 PM posted to microsoft.public.windows.vista.file_management
Ilia Sacson [MS]
external usenet poster
 
Posts: 68
Default lnk file association

Could you post the regfile you are trying to apply, or point to where you've
got it? I'd like to try it myself.

Do you have spyware protection tools, uninstall monitors or registry
cleaners running?

Process Explorer
(http://www.microsoft.com/technet/sys...sExplorer.mspx)
can list all handles opened by all processes. You can give it a try, and see
if anything references keys mentioned in your reg file.

Process Explorer can kill pretty much any process dead. For example, if you
kill explorer with it, it won't respawn. You can try killing explorer with
it (or whatever you find opens them subkeys) and then apply the reg file
from command line.

Ilia

"Daemonfyre" wrote in message
...
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 he
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" wrote in message
...
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" wrote in message
...
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" wrote in
message
...
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?