Windows Forum / Windows XP / Customization / February 2007
Regsvr32 cmd in run--->open dialogue box
|
|
Thread rating:  |
Chad Harris - 15 Dec 2005 14:26 GMT I'm on a XP Pro SP2 box.When I use a Regsvr32 ( the command-line tool that registers dynamic-link libraries (dlls) and ActiveX controls in the registry) instead of registering I get the open with dialogue box, i.e. "Choose program you want to open this file". I ran SFC to service pack level meaning I point SFC to the HD to take advantage of also having access to XP SP2 install files ala Mark Liron http://www.updatexp.com/scannow-sfc.html but it did not correct this. Has anyone encountered this and does anyone have any ideas on fixing this?
Tia,
Chad Harris
Ramesh, MS-MVP - 15 Dec 2005 16:50 GMT Hi Chad,
How about this command-line:
%windir%\system32\regsvr32.exe %windir%\system32\shell32.dll
Does it work?
 Signature Ramesh, Microsoft MVP Windows XP Shell/User
Windows XP Troubleshooting http://www.winhelponline.com
> I'm on a XP Pro SP2 box.When I use a Regsvr32 ( the command-line tool that > registers dynamic-link libraries (dlls) and ActiveX controls in the [quoted text clipped - 8 lines] > > Chad Harris Chad Harris - 16 Dec 2005 01:43 GMT Ramesh--
Appreciate the help. That cmd doesn't seem to work at the cmd prompt but would in the run box, but on my box it still gives me the same dialogue box from the run box. I ran SFC no joy. I thought about reinstalling SP2 over itself. I've fixed SFC that way before.
I wondered if there is any reg key or value that controls this, and also what should you get from that cmd and isn't it true that a %windir% won't work at the cmd line?
Best regards,
Chad _____________________________________________________________
> Hi Chad, > [quoted text clipped - 17 lines] >> >> Chad Harris Ramesh, MS-MVP - 16 Dec 2005 03:30 GMT Chad,
The %windir% thing works fine from Command Prompt (CMD.EXE)
 Signature Ramesh, Microsoft MVP Windows XP Shell/User
Windows XP Troubleshooting http://www.winhelponline.com
> Ramesh-- > [quoted text clipped - 33 lines] >>> >>> Chad Harris Chad Harris - 16 Dec 2005 17:21 GMT Ramesh -- You are right. I had been told wrongly that a %windir% wouldn't work at the cmd prompt. It did.
My problem is that I can make a resvr cmd (I don't know about all) work at the cmd prompt and I cannot make any resvr32 reregister of a .dll or other cmd work at the run box.
1) Do you know a way to fix this--and was your "%windir%" thing to help fix this? 2) What is the purpose of the %windir% cmd--I appreciate it but I'm trying to learn so I can context it in the future. It was %windir%\system32\regsvr32.exe %windir%\system32\shell32.dll to run at the cmd prompt.
Many thanks,
Chad
> Chad, > [quoted text clipped - 37 lines] >>>> >>>> Chad Harris Ramesh, MS-MVP - 16 Dec 2005 17:38 GMT Chad,
%Windir% is nothing but your path to Windows folder. That was not a fix, but a test to determine if the registration is successful if the full path (to regsvr32.exe) is mentioned.
From your post I undersand that "regsvr32 somefile.dll" does not work. But, does this work from Start, Run dialog?
%windir%\system32\regsvr32.exe %windir%\system32\shell32.dll
 Signature Ramesh, Microsoft MVP Windows XP Shell/User
Windows XP Troubleshooting http://www.winhelponline.com
Ramesh -- You are right. I had been told wrongly that a %windir% wouldn't work at the cmd prompt. It did.
My problem is that I can make a resvr cmd (I don't know about all) work at the cmd prompt and I cannot make any resvr32 reregister of a .dll or other cmd work at the run box.
1) Do you know a way to fix this--and was your "%windir%" thing to help fix this? 2) What is the purpose of the %windir% cmd--I appreciate it but I'm trying to learn so I can context it in the future. It was %windir%\system32\regsvr32.exe %windir%\system32\shell32.dll to run at the cmd prompt.
Many thanks,
Chad
Chad Harris - 17 Dec 2005 17:24 GMT Ramesh--
1) Your cmd %windir%\system32\regsvr32.exe %windir%\system32\shell32.dll does work. But if I try to regegister per a KB like this one: http://support.microsoft.com/default.aspx?scid=kb;en-us;902932 I get the "what file do you want to open with dialogue box." However, thes cmds to regegister or any to unregister will work from the cmd prompt. So now I guess it becomes a bit academic since I can do it, (I reinstalled SP2 over SP2) and originally I had a problem that I used an old clean tool to uninstall One Care (provided by One Care team)and I clicked it by mistake (brilliant I know because I thought I was using something in a list to uninstall Winrar) and because it was an old batch file it partially uninstaled One Care and I had to do a lot of work to get it cleaned out and back in. I have One Care working perfectly now. I had to try to reregister in steps I had to take to get One Care completely cleaned out and back in.
So the bottom line is that I should be able to reregister .dlls in the run box. I cannot. I can at the cmd prompt. I can run the cmd you gave me fine from the run box. I hope that helps you help me fix regsvr32 cmds *from the run box.* Appreciate the help as much as we appreciate your great site.
Thanks,
Chad _______________________________________
> Chad, > [quoted text clipped - 29 lines] > > Chad Ramesh, MS-MVP - 18 Dec 2005 04:48 GMT Chad,
Type this command in Start, Run:
cmd /k cd /d %systemdrive%\
Then, use this DIR command in the Command Prompt:
dir regsvr32* /s /a >list.txt
Exit Command Prompt, and then open "%systemdrive%\list.txt" from Start/Run.
* Post the contents here *
 Signature Ramesh, Microsoft MVP Windows XP Shell/User
Windows XP Troubleshooting http://www.winhelponline.com
Ramesh--
1) Your cmd %windir%\system32\regsvr32.exe %windir%\system32\shell32.dll does work. But if I try to regegister per a KB like this one: http://support.microsoft.com/default.aspx?scid=kb;en-us;902932 I get the "what file do you want to open with dialogue box." However, thes cmds to regegister or any to unregister will work from the cmd prompt. So now I guess it becomes a bit academic since I can do it, (I reinstalled SP2 over SP2) and originally I had a problem that I used an old clean tool to uninstall One Care (provided by One Care team)and I clicked it by mistake (brilliant I know because I thought I was using something in a list to uninstall Winrar) and because it was an old batch file it partially uninstaled One Care and I had to do a lot of work to get it cleaned out and back in. I have One Care working perfectly now. I had to try to reregister in steps I had to take to get One Care completely cleaned out and back in.
So the bottom line is that I should be able to reregister .dlls in the run box. I cannot. I can at the cmd prompt. I can run the cmd you gave me fine from the run box. I hope that helps you help me fix regsvr32 cmds *from the run box.* Appreciate the help as much as we appreciate your great site.
Thanks,
Chad _______________________________________
Chad Harris - 18 Dec 2005 16:19 GMT Ramesh--thanks much for sticking with me. I'm glad to try anything you suggest.
I did what you asked (I wasn't sure about whether to include the quotes in the last run command but it seemed like from your others that you would not have put them there if you had not wanted them used. I figured if they did not work, I would try it without them but a notepad sprang up and here's what it says:
It's titled list. The contents are pasted here:
Volume in drive C has no label. Volume Serial Number is A849-42BD
Directory of C:\Documents and Settings\CHAD HARRIS
10/05/2005 02:44 PM 0 regsvr32 1 File(s) 0 bytes
Directory of C:\Documents and Settings\CHAD HARRIS\Desktop
12/15/2005 09:26 AM 1,281 Regsvr32 cmd in run---_open dialogue box.nws 1 File(s) 1,281 bytes
______________________________________________________________________________
> Chad, > [quoted text clipped - 41 lines] > Chad > _______________________________________ Ramesh, MS-MVP - 18 Dec 2005 16:52 GMT Hi Chad,
Saw this guy (a 0 byte file with no extension) ?
- - - - - Directory of C:\Documents and Settings\CHAD HARRIS
10/05/2005 02:44 PM 0 regsvr32 1 File(s) 0 bytes - - - - -
Go to the above location using Windows Explorer, and delete the "regsvr32" file. Your problem should be fixed.
 Signature Ramesh, Microsoft MVP Windows XP Shell/User
Windows XP Troubleshooting http://www.winhelponline.com
Ramesh--thanks much for sticking with me. I'm glad to try anything you suggest.
I did what you asked (I wasn't sure about whether to include the quotes in the last run command but it seemed like from your others that you would not have put them there if you had not wanted them used. I figured if they did not work, I would try it without them but a notepad sprang up and here's what it says:
It's titled list. The contents are pasted here:
Volume in drive C has no label. Volume Serial Number is A849-42BD
Directory of C:\Documents and Settings\CHAD HARRIS
10/05/2005 02:44 PM 0 regsvr32 1 File(s) 0 bytes
Directory of C:\Documents and Settings\CHAD HARRIS\Desktop
12/15/2005 09:26 AM 1,281 Regsvr32 cmd in run---_open dialogue box.nws 1 File(s) 1,281 bytes
______________________________________________________________________________
Chad Harris - 18 Dec 2005 19:16 GMT Ramesh many thanks but want to understand why fix worked. In other words what was broken and how did the fix fix it?
This worked great Ramesh Thanks a bunch. I have two questions though so I can understand this (Sorry I missed this answer and guess that was what David Candy was referring to by his post of a google link--I'm not sure):
1) What was the information you got on the first commands--what do you call it--I know the list prompted you to tell me to delete the Regsvr 32 file at that location which I did. 2) What did deleting the regsvr 32 file at - Directory of C:\Documents and Settings\CHAD HARRIS do to fix it. Was it corrupt? Because it worked at cmd but not at run. Now thanks to you it works again at run.
I really appreciate the fix. Just trying to understand the reasoning behind why it worked.
Many thanks Ramesh.
Chad
> Hi Chad, > [quoted text clipped - 38 lines] > > ______________________________________________________________________________ Ramesh, MS-MVP - 19 Dec 2005 02:49 GMT Chad,
1. "You typed regsvr32 and cmd found a file by that name" - is the best phrase, as explained by David. When you typed regsvr32, the 0 byte is being called. BTW, the commands gave me the list of files that have "regsvr32" in their file name.
2. The 0 byte regsvr32 file (with no extension) is not required in any location.
 Signature Ramesh, Microsoft MVP Windows XP Shell/User
Windows XP Troubleshooting http://www.winhelponline.com
Ramesh many thanks but want to understand why fix worked. In other words what was broken and how did the fix fix it?
This worked great Ramesh Thanks a bunch. I have two questions though so I can understand this (Sorry I missed this answer and guess that was what David Candy was referring to by his post of a google link--I'm not sure):
1) What was the information you got on the first commands--what do you call it--I know the list prompted you to tell me to delete the Regsvr 32 file at that location which I did. 2) What did deleting the regsvr 32 file at - Directory of C:\Documents and Settings\CHAD HARRIS do to fix it. Was it corrupt? Because it worked at cmd but not at run. Now thanks to you it works again at run.
I really appreciate the fix. Just trying to understand the reasoning behind why it worked.
Many thanks Ramesh.
Chad
> Hi Chad, > [quoted text clipped - 6 lines] > 1 File(s) 0 bytes > - - - - - Dave Patrick - 18 Dec 2005 19:25 GMT Ramesh, very nice.
 Signature Regards,
Dave Patrick ....Please no email replies - reply in newsgroup. Microsoft Certified Professional Microsoft MVP [Windows] http://www.microsoft.com/protect
| Hi Chad, | [quoted text clipped - 9 lines] | Go to the above location using Windows Explorer, and delete the "regsvr32" | file. Your problem should be fixed. Ramesh, MS-MVP - 19 Dec 2005 02:44 GMT Thanks Dave!
 Signature Ramesh, Microsoft MVP Windows XP Shell/User
Windows XP Troubleshooting http://www.winhelponline.com
Ramesh, very nice.
 Signature Regards,
Dave Patrick ....Please no email replies - reply in newsgroup. Microsoft Certified Professional Microsoft MVP [Windows] http://www.microsoft.com/protect
"Ramesh, MS-MVP" wrote:
| Hi Chad, | [quoted text clipped - 9 lines] | Go to the above location using Windows Explorer, and delete the "regsvr32" | file. Your problem should be fixed. Chad Harris - 18 Dec 2005 16:54 GMT Ramesh--
I'm curious what this List/Report is and could the entry 1,281 Regsrv32 cmd in run mean that analagous to Event Viewer that there are so many cmds I've done from run to reregister and unregister .dlls that it's saturated or full and they need to be cleaned/purged "to make room." In other words, what does these commands and the resulting list tell us and what can we do with this information to fix. _________________________________________________________________________ It's titled list. The contents are pasted here:
Volume in drive C has no label. Volume Serial Number is A849-42BD
Directory of C:\Documents and Settings\CHAD HARRIS
10/05/2005 02:44 PM 0 regsvr32 1 File(s) 0 bytes
Directory of C:\Documents and Settings\CHAD HARRIS\Desktop
12/15/2005 09:26 AM 1,281 Regsvr32 cmd in run---_open dialogue box.nws 1 File(s) 1,281 bytes ____________________________________________________________________________
Thanks,
Chad
> Chad, > [quoted text clipped - 41 lines] > Chad > _______________________________________ David Candy - 18 Dec 2005 17:07 GMT The second one is a newsgroup post you've saved.
Here http://groups.google.com.au/groups?as_q=&num=100&scoring=r&hl=en&as_epq=Regsvr32 +cmd+in+run&as_oq=&as_eq=&as_ugroup=microsoft.public.windowsxp.*&as_usubject=&as _uauthors=&lr=lang_en&as_drrb=q&as_qdr=&as_mind=1&as_minm=1&as_miny=1981&as_maxd =19&as_maxm=12&as_maxy=2005&safe=off
It's by you.
 Signature -------------------------------------------------------------------------------------------------- Goodbye Web Diary http://margokingston.typepad.com/harry_version_2/2005/12/thank_you_and_g.html#co mments =================================================
> Ramesh-- > [quoted text clipped - 71 lines] >> Chad >> _______________________________________ Ramesh, MS-MVP - 18 Dec 2005 17:18 GMT Going to buy a Set-Top-Box this month, so I can watch Aus series. Missed the Aus/WI series already, and Lara's century. :(
 Signature Ramesh, Microsoft MVP Windows XP Shell/User
Windows XP Troubleshooting http://www.winhelponline.com
The second one is a newsgroup post you've saved.
Here http://groups.google.com.au/groups?as_q=&num=100&scoring=r&hl=en&as_epq=Regsvr32 +cmd+in+run&as_oq=&as_eq=&as_ugroup=microsoft.public.windowsxp.*&as_usubject=&as _uauthors=&lr=lang_en&as_drrb=q&as_qdr=&as_mind=1&as_minm=1&as_miny=1981&as_maxd =19&as_maxm=12&as_maxy=2005&safe=off
It's by you.
 Signature -------------------------------------------------------------------------------------------------- Goodbye Web Diary http://margokingston.typepad.com/harry_version_2/2005/12/thank_you_and_g.html#co mments =================================================
David Candy - 18 Dec 2005 18:44 GMT Good. I only watched a bit of it yesterday trying to distract. I'm going to the morgue in a few hours to identify dad's body.
Brett Lee RuLz
 Signature -------------------------------------------------------------------------------------------------- Goodbye Web Diary http://margokingston.typepad.com/harry_version_2/2005/12/thank_you_and_g.html#co mments =================================================
> Going to buy a Set-Top-Box this month, so I can watch Aus series. Missed the > Aus/WI series already, and Lara's century. :( [quoted text clipped - 5 lines] > > It's by you. Chad Harris - 18 Dec 2005 18:58 GMT David How does your list reiterating my post with a google link help explain what the list Ramesh's cmd producted means???
David my question went to solving the original prob that Regsrv32 commands don't work in the run box but do at cmd prompt. If I had a solution I would not have posted. Ramesh gave me a cmd to get a list. I got the list. If I could use the information in the list to fix the original problem I would have and I think you know I would have.
This by you makes no sense and lends nothing toward using the list Ramesh's cmd generated: I know what I posted without the google group link. It's above these posts.
David in the hood it would be "Say Wha?" This means what? LOL _________________________________________________________________________________________________ Post by David Candy in response to what the list gen by Ramesh's command is to do to resolve regsrv32 prob:
The second one is a newsgroup post you've saved.
Here http://groups.google.com.au/groups?as_q=&num=100&scoring=r&hl=en&as_epq=Regsvr32 +cmd+in+run&as_oq=&as_eq=&as_ugroup=microsoft.public.windowsxp.*&as_usubject=&as _uauthors=&lr=lang_en&as_drrb=q&as_qdr=&as_mind=1&as_minm=1&as_miny=1981&as_maxd =19&as_maxm=12&as_maxy=2005&safe=off
It's by you.
The second one is a newsgroup post you've saved.
Here http://groups.google.com.au/groups?as_q=&num=100&scoring=r&hl=en&as_epq=Regsvr32 +cmd+in+run&as_oq=&as_eq=&as_ugroup=microsoft.public.windowsxp.*&as_usubject=&as _uauthors=&lr=lang_en&as_drrb=q&as_qdr=&as_mind=1&as_minm=1&as_miny=1981&as_maxd =19&as_maxm=12&as_maxy=2005&safe=off
It's by you.
 Signature -------------------------------------------------------------------------------------------------- Goodbye Web Diary http://margokingston.typepad.com/harry_version_2/2005/12/thank_you_and_g.html#co mments =================================================
> Ramesh-- > [quoted text clipped - 78 lines] >> Chad >> _______________________________________ Chad Harris - 18 Dec 2005 19:18 GMT David not sure what you mean here but at first I missed Ramesh's fix which worked and now I'm trying to understand what it fixed--i.e.a corrupt regsvr32 file that got replaced at Directory of C:\Documents and Settings\CHAD HARRIS
Thanks.
Chad _______________
The second one is a newsgroup post you've saved.
Here http://groups.google.com.au/groups?as_q=&num=100&scoring=r&hl=en&as_epq=Regsvr32 +cmd+in+run&as_oq=&as_eq=&as_ugroup=microsoft.public.windowsxp.*&as_usubject=&as _uauthors=&lr=lang_en&as_drrb=q&as_qdr=&as_mind=1&as_minm=1&as_miny=1981&as_maxd =19&as_maxm=12&as_maxy=2005&safe=off
It's by you.
 Signature -------------------------------------------------------------------------------------------------- Goodbye Web Diary http://margokingston.typepad.com/harry_version_2/2005/12/thank_you_and_g.html#co mments =================================================
> Ramesh-- > [quoted text clipped - 78 lines] >> Chad >> _______________________________________ David Candy - 18 Dec 2005 22:44 GMT You typed regsvr32 and cmd found a file by that name. You were hoping for it to find regsvr32.exe.
 Signature -------------------------------------------------------------------------------------------------- Goodbye Web Diary http://margokingston.typepad.com/harry_version_2/2005/12/thank_you_and_g.html#co mments =================================================
> David not sure what you mean here but at first I missed Ramesh's fix which > worked and now I'm trying to understand what it fixed--i.e.a corrupt [quoted text clipped - 95 lines] >>> Chad >>> _______________________________________ Chad Harris - 19 Dec 2005 01:29 GMT David--
Sorry to be slow on the uptake but I was typing the cmds in run the way I always have and they brought up the Open With dialogue box. Until I deleted that file Ramesh had be delete (the one with 0 bytes and no extension) I couldn't do this in run but could at the cmd prompt. I was trying to understand why, and understand what Ramesh used to get this info and why deleting the resvr32 (if extension showed) it would be .exe file helped me. It worked; I'm trying to undertand why and what it did.
Thanks,
Chad _____________________________________________________
You typed regsvr32 and cmd found a file by that name. You were hoping for it to find regsvr32.exe.
 Signature -------------------------------------------------------------------------------------------------- Goodbye Web Diary http://margokingston.typepad.com/harry_version_2/2005/12/thank_you_and_g.html#co mments =================================================
> David not sure what you mean here but at first I missed Ramesh's fix which > worked and now I'm trying to understand what it fixed--i.e.a corrupt [quoted text clipped - 62 lines] >>> >>> * Post the contents here * David Candy - 18 Dec 2005 22:42 GMT > I'm curious what this List/Report is and could the entry 1,281 Regsrv32 cmd > in run It is the newsgroup post you saved in My Docs. It showed up because you have regsvr in the filename.
 Signature -------------------------------------------------------------------------------------------------- Goodbye Web Diary http://margokingston.typepad.com/harry_version_2/2005/12/thank_you_and_g.html#co mments =================================================
> Ramesh-- > [quoted text clipped - 71 lines] >> Chad >> _______________________________________ D. Spencer Hines - 26 Feb 2007 17:14 GMT > I'm running Ultimate, but I've not looked at it myself. And from what > I've read (here) , you can't fine-tune it like you can with > third-party software such as Acronis TrueImage. -------------------------------------------------------------------------
Yes, any sophisticated, intelligent, user needs more options than that.
Can you defrag system files in Vista?
Can you see precisely which files are fragmented and just defragment those?
Can you pack everything closely together if you choose and take longer to defrag or leave more open spaces and do it quicker?
Can you carefully and selectively backup just individual folders and use either incremental backups or full backups.
Can you backup 20 GB of programs and data over a USB link to an external HDD in less than 20 minutes?
Once you've backed up the built-in HDD, can you then go to your backup files individually and read the text files or look at the graphics files and program files -- as if they were on your HDD, with full ability to read them, look at them, copy and paste them elsewhere?
DSH
> Not necessarily. You might want to buy TrueImage, but not everyone would > need to.
> I want to backup & restore the entire system, so it does the job for me. > There is a 2nd backup option in Vista to backup files on a schedule which [quoted text clipped - 3 lines] > Since then i've used the built in defrag in 2000/XP/Vista & ran it > overnight.
> No complaints here. > > But if you need more features in a imaging app maybe you need 3rd party.
>> So, one should still buy TrueImage Home 10.0. >> [quoted text clipped - 5 lines] >>> It just makes the image within windows while you carry on working & you >>> restore by booting from the Vista DVD & doing a repair.
>>>> On Sun, 25 Feb 2007 11:16:42 -0000, "Richard" <rgdakin@hotmail.co.uk> >>>> spake thusly: [quoted text clipped - 5 lines] >>>> I've read (here) , you can't fine-tune it like you can with >>>> third-party software such as Acronis TrueImage.
|
|
|