Failing to run: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe /setup

Question

Wednesday, February 9, 2011 9:59 PM

Hi,

I am trying to run

devenv.exe /setup

in order to fix the splash screen problem as suggested in http://blogs.msdn.com/b/vsnetsetup/archive/2010/05/11/the-visual-studio-2010-help-about-dialog-box-and-the-splash-screen-shows-registered-username-and-registered-organization-as-microsoft.aspx?wa=wsignin1.0 

I get an error message: "Operation can not be completed".

Additional information:

I am trying to run it from a cmd window.

I am on windows 7, 64 bit.

My VS 2010 works fine otherwise (i.e. it starts ok  from the start menu).

 

i guess i must be doing something stupid...

thanks

alberto

All replies (14)

Thursday, February 24, 2011 3:16 PM ✅Answered

If you can run devenv /resetsettings, but not devenv /setup. What's that suppose to mean? i think if i were you, i'll think this issue is about devenv program or other VS components which were currupted. Well, "Operation cannot be completed" Generally, this issue happens often with permission or your account needs to be elevator privileges.  i suggest you can check some ingredients. Firstly, ensure if your account has Full Control to access VS and its components. Secondly, i'll reinstall VS first and check whether something happen during installing. Meanwhile, if it doesn't work, i think reinstall OS is the fastest way to let you get a new journey. -))

Thanx,


Friday, February 11, 2011 3:27 AM

Hi acherubini,

Thank you for posting.

I checked this blog and changed the username according to his steps. It looks well on my machine.

My machine is 64 bit Windows 7. Here are my procedures.

1. Modify HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\Registration\UserName value from Microsoft to Larcolais.

2. Restart VS and everything looks in order.

 

In addition, it looks your issue was caused by devenv.exe. I recommend you can check the following suggestions.

1. devenv.exe /ResetSettings

2. To repair your VS and try it again.

 

If you have any findings, please feel free to let me know.

 

Best Regards,

Larcolais

Larcolais Gong[MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.


Monday, February 14, 2011 2:19 AM

Hi,

Any update?

Best Regards,

Larcolais

Larcolais Gong[MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.


Monday, February 14, 2011 8:20 AM

the field

Modify HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\Registration\UserName

is already set to my name.

But when Visual Studio starts up, in the initial splash screen it still shows up "Microsoft".

According to the blog, to fix the splash screen one should run devenx.exe /setup: if I try that, it tells me "operation not completed"

I see that now you suggest devenv.exe /ResetSettings: but if I do  that, I will loose my VisualStudio settings won't I?

alberto


Tuesday, February 15, 2011 8:56 AM | 1 vote

Hi acherubini,

Thank you for your feedback.

Here’s the screenshot. After I followed this blog’s steps one by one and didn’t run /Setup command, I can change this UserName.

If you want to run devenv.exe /setup command, I think you should elevator your user account privilege to run it. I suggest you can right click Visual Studio Command Prompt 2010 and click run as administrator and try it again. Does it work?

Hope this helps.

Best Regards,

Larcolais

Larcolais Gong[MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.


Tuesday, February 15, 2011 9:26 AM

Hi Larcolais,

I still do not manage to see the splash screen with my name and organisation, only the help/about.

I have followed the steps in the blog one by one.

At the end, it says:

"

Steps to fix the splash screen: 

On a x86 bit (32 bit OS) computer follow the below path: 
"C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe" /setup 

On a x64 bit (64 bit OS) computer follow the below path: 
"C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe" /setup 

"

can you explain that? do I need to do it or not?

thanks

alberto


Wednesday, February 16, 2011 9:08 AM

Hi acherubini,

/Setup command switch can force VS to merge the resource metadata from all VSPackages available. Based on my experience, I didn’t need to type this command on my machine. If you followed the above steps and cannot see the correct result, you can use this command switch to force VS merge these metadata and check if your concern was solved or not.

Thanks,

Larcolais

Larcolais Gong[MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.


Wednesday, February 16, 2011 9:42 AM

can you explain how to run the /setup command? I have tried many times already (that is why this thread)

I try from a cmd console, I go to the right directory, type

 devenv.exe /setup

and I get error message:

"operation can not be completed"

what is wrong? s

thank you

alberto


Thursday, February 17, 2011 2:06 PM

Hi acherubini,

 

devenv is available from the command-line at \VS installation root>\Common7\IDE or from the VS command prompt.

 

In addition, you can open Visual Studio Command Prompt (2010) and try to type this command.

 

Best Regards,

Larcolais

Larcolais Gong[MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.


Thursday, February 17, 2011 7:18 PM

OK so I tried from VS command prompt as well, and i get the same results.

to repeat: I can run devenv, but if I run devenv /setup, i get the error message mentioned.

Hence i cannot use it to fix the VS2010 splash screen.

can you explain please:

1) why devenv /setup does not work

2) how do i fix the splash screen

 

thank you

alberto


Thursday, February 17, 2011 7:51 PM

I have sorted out the splash screen myself, by deleting

vs000223.dat

as suggested here: 

http://t800t8.blogspot.com/2010/04/how-to-change-registered-owner-and.html

which was recently pointed to here:

http://blogs.msdn.com/b/vsnetsetup/archive/2010/05/11/the-visual-studio-2010-help-about-dialog-box-and-the-splash-screen-shows-registered-username-and-registered-organization-as-microsoft.aspx#10130655

so this fixes the splash screen.

Still, can you please explain to me why my devenv /setup does not run?

thank you

alberto


Monday, February 21, 2011 2:19 AM

some part of devenv commands cannot be executed, I think firstly you should check the permissions. Secondly, try to reinstall VS again. I think your question is about some components of VS were corrupted.

Thanx,


Wednesday, February 23, 2011 9:06 AM

Hi,

I'll mark CupOverTheTable reply as Answered. If you have any question, please feel free to let me know.

Best Regards,

Larcolais

Larcolais Gong[MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.


Wednesday, February 23, 2011 9:02 PM

sorry, but it is not an answer:

on his first suggestion: what permissions should I check? how do I do it?

on his second: I have already re-installed VS

alberto