LOL - Whoops! File Association problem in W2K3

Discussion in 'Software' started by zebulebu, Aug 7, 2007.

  1. zebulebu

    zebulebu Terabyte Poster

    3,748
    330
    187
    Hee hee - I've landed myself in a pickle here. Just got asked by someone how to add a command prompt to the context menu of a folder and dug this out of my memory:

    Go to Tools - Folder Options - Filetypes - then added cmd.exe under 'None - Folder' and it works fine.

    Unfortunately, I stupidly didn't bother to check one of the machines I added this to and have royally screwed a user's machine by adding the context menu entry not to the 'Folder' but to the 'File Folder' entry. Now, whenever the poor sod double-clicks a folder to open it a Command Shell is spawned :oops:

    Does anyone have any idea how to reverse it - changes made on this menu can't be altered from the GUI and there isn't an entry immediately obvious in the registry - if I wanted to manually remove the entry from the CORRECT location I would just navigate to HKLM\Software\Classes\Folder and remove it from there - I've just tested this and it works. Without there being a reg key that refers specifically to 'File Folder' in that hive I'm assuming I've altered something in the Shell, but can't figure out what it is.

    I've run a RegMon trace on the machine whilst the user double clicked a folder but it hasn't given me much of a breadcrumb trail - there are thousands of entries pointing to cmd.exe, but none lead back to something that looks like a 'smoking gun' entry in the resgistry.

    Has anyone else ever been daft enough to do this? I know - I know - it'll teach me to be more careful when dredging old bodges out of the depths of my mind - but if anyone else has done something like this in the past and can point me in the right direction for a quick fix thaty (hopefully) doesn't involve flattening the box and reinstalling it, I'd be eternally grateful!

    Cheers
     
    Certifications: A few
    WIP: None - f*** 'em
  2. Sparky
    Highly Decorated Member Award 500 Likes Award

    Sparky Zettabyte Poster Moderator

    10,718
    543
    364
    Nightmare! :biggrin

    Is it worth installing regmon on a virtual server and making the same change to see if it throws up some clues?
     
    Certifications: MSc MCSE MCSA:M MCSA:S MCITP:EA MCTS(x5) MS-900 AZ-900 Security+ Network+ A+
    WIP: Microsoft Certs
  3. Fergal1982

    Fergal1982 Petabyte Poster

    4,196
    172
    211
    If you can tell me exactly what steps you performed, I can do it on one of my VMs. but ill need guidance on how to capture it with regmon, it seems to be spazzing when i run it.
     
    Certifications: ITIL Foundation; MCTS: Visual Studio Team Foundation Server 2010, Administration
    WIP: None at present
  4. Sparky
    Highly Decorated Member Award 500 Likes Award

    Sparky Zettabyte Poster Moderator

    10,718
    543
    364
    Is that a technical term? :biggrin
     
    Certifications: MSc MCSE MCSA:M MCSA:S MCITP:EA MCTS(x5) MS-900 AZ-900 Security+ Network+ A+
    WIP: Microsoft Certs
  5. juice142

    juice142 Megabyte Poster

    764
    11
    62
    Silly, I know, but is it XP? If it's local, will system restore do the job?

    Just a shot! :biggrin

    Cheers,

    J.
     
    Certifications: BSc (Hons), A+, Network+
    WIP: 70-270, MCSA
  6. Fergal1982

    Fergal1982 Petabyte Poster

    4,196
    172
    211
    It is indeed.

    Meyer's* defines it as:


    *Legal note: Some (or all) portions of this statement may be entirely ficticious.
     
    Certifications: ITIL Foundation; MCTS: Visual Studio Team Foundation Server 2010, Administration
    WIP: None at present

Share This Page

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.