Windows developer license (permissions) - powershell

I tried to set up a Windows Developer license on my computer, but it fails.
I am running Visual Studio 2012.
When I click Project -> Store -> "Acquire Developer License" It gives me an info dialog and says, "If you agree to these terms and want to install a developer license, click 'I agree'. The 'I agree' button has a Windows admin shield.
When I click that 'I agree' button and wait nothing happens.
My next attempt was to do this from the command line, so I brought up PowerShell and typed:
Show-WindowsDeveloperLicenseRegistration
And I get:
Show-WindowsDeveloperLicenseRegistration : You need administrator
privileges to acquire or remove a developer license.
So I right click Windows PowerShell and click "Run As Administrator" and wait ... and wait ... nothing happens.
I'm getting the feeling the Windows Store is not ready for prime time.

Apparently I don't restart Windows 8 frequently enough, which #Ken helped me figure out.
Restarting fixed it.
Getting the license from VS was easy once I was able to run it as administrator.

Related

Visual Studio Code fails to start on Windows 7

I installed Visual Studio Code 32 bit version (1.71.1) on a Windows 7 machine. I checked the box that said to launch it after I click Finish. The "wait" mouse cursor showed for a second or two, then nothing.
I tried double clicking the desktop icon with the same results. No error message. Not indication that it attempted to start. I did change the desktop icon to "Run as administrator" and that got me the prompt to allow changes to the system, but again, nothing comes up.
Any idea of what is going on? Is there a specific .NET version I need to have?

Why Visual Studio code and most of the applications are not installing in fresh windows 10?

I am trying to install Visual Studio Code in my fresh windows 10 but it is throwing an error Setup was unable to create a directory
Error 5: Access is denied
Since your UAC(User Account Control) is turned off, and you are running the install as Admin (because you already are admin), it seems like a permission issue and not a UAC issue. Try this:
Create a folder name "Temp" under C:\ // This step is important, the
folder has to exist.
Right click the Computer in Start menu and select Properties. Click
Advanced System Setting. In System Properties windows, click
Advanced tab.
Click Environment Variables button. Under User
variables list, double click TMP.
Change Variable value: from
"%USERPROFILE%\AppData\Local\Temp" to "C:\Temp".
Try to install.

App built with Install4j does not launch post installation on Windows 10 machine

When I install an java/swing application built with Install4j on Windows 10, it gets installed under default folder C:\Program Files(x86)\MyApp folder but when I try to launch by doing double click on Launcher then it gives an error dialogue with permission issue message :"Windows can not access the specified device, path or file. You may not have appropriate permission to access them". When I launch the same by doing a right click on launcher and then choosing the option "Run as administrator" then it launches fine. I checked the permission on the launcher file for the user I logged in and it was there. Kindly suggest me how to go about this. Is this an user configuration issue on the Windows 10 machine or something else. This problem has been seen recently.

VSCODE Installation crashes on 64 bit Win7 Sp1

VSCODE Installation crashes on my 64 bit Win7 Sp1.
I guess the reason is likely that I only have one drive (C:\).
VSCODE might want to access some path on D:\.
some details,
I doubleclick the installation exe file. It shows a dialog saying "update has stopped working" with two options, "debug" and "close program". After I click "close program", another dialog shows up and says "Installation has failed" and a few other texts telling me to check the setup log for more info or contact the author. I've also tried run as administrator. Nothing changes.

How to charge an Android Emulator while working in eclipse?

I have already tried with following process:
Click Start, and then click Control Panel.
2 .On the Control Panel Home page, click Programs.
In the Programs and Features section, click Turn Windows features on or off.
If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
In the Windows Features list, select Telnet Client, and then click OK.
After successful installations, run the same telnet command.
iii). Type:
power capacity 100
After following the mentioned process, emulator stops working?
If anyone could help me in this regard, please leave a comment.
Is it only the power command that makes the emulator stop? Try running other commands on telnet and let me know
If it is only power that does not work then try this
In your avd manager check the details of your emulator. See to it that hw.battery is yes and then run your emulator again and try using the power capacity 100 command from telnet localhost. It should work
use telnet command:
power status discharging