wrapper | OpenSCManager failed - Access is denied. (0x5) - archiva

I am trying to install Archiva on windows 8.1 pro (64 bit) and I am continuously getting the same error as below
wrapper | OpenSCManager failed - Access is denied. (0x5).
I logged in as administrator only. But still I am getting the same error. Most of the answers for the same problem I am seeing it for VISTA and 7 etc.. But not for Windows8.1 Pro (64 bit)

You need to run that command as an administrator.
Right-click on the command prompt entry in the start menu / task bar
Select "Run as Administrator"
Navigate to the Archiva installation directory
Then run:
bin\archiva install
net start archiva

Click on Start
Click All Programs
Click on Accessories
Right click on Command Prompt icon
Click Properties
Click on the Shortcut tab on the top
Click the Advanced button at the bottom
Click on the check box that says:
Run as Administrator
Click OK
Go to the folder having the batch file
Enter the command which was giving
Access denied
error
It will execute successfully.

I'm not sure this is supported by the wrapper.
Maybe the way to go for you is to use the war within a servlet container.
Have a look here: http://archiva.apache.org/docs/2.1.0/adminguide/webapp.html
HTH

pleas open Command Prompt run as administrator mode and then go to
{tinydms-home}/bin
then
tinydms install
to installing

Type cmd as shown below:
Run as administrator as shown below:

Sometimes, reopening the console or restarting the computer solves this problem for me. I hope it works

Related

'flutter' is not recognized as an internal or external command

I added the route to the bin to the PATH but CMD still doesn't recognize it. I have Windows 10.
echo %PATH%;
where the bin is located;
I tried to write flutter commands in CMD, but it gave "'flutter' is not recognized as an internal or external command" feedback
hi I think this link will help https://www.fluttercampus.com/guide/200/flutter-is-not-recognized-as-an-internal-or-external-command/
try reinstalling flutter too and then run this command => flutter doctor
and I suggest using git-bash instead of cmd
Go to properties by right clicking computer icon.
click on Advanced system settings. (left side of the window)
opens Environment Variables
double click on path
Click on New and paste the path of the bin folder located in the flutter sdk folder.
example : C:\src\flutter\bin
Click OK OK and OK
Restart your pc (Recommend)

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.

PhoneGap command not recognized

I have followed the directions on PhoneGap's website and installed PhoneGap using the command prompt on Windows. However, after it has installed I try to run the command 'phonegap' and I get an error saying that 'phonegap' is not recognized as an internal or external command, operable program or batch file. How do I fix this? Thanks.
You might need to add phonegap to your classpath variable, in order to let the prompt know where the phonegap .exe file is located.
Try writing the full path of the exe file, if that runs, then what I mentioned above should solve your problem.
EDIT
Just looked at the install page at phonegap.com (http://phonegap.com/install/). Very scarce on the information I would say.. But I still recommend investigating the above.
The Problem with enthronement variable for default path of your your current user. Follow the steps.
Click the Start menu and type "regedit" on the search box. This will launch the Windows Registry Editor program.
Enter to the following Registry entry: HKEY_CURRENT_USER\Software\Microsoft\Windows Script Host\Settings
Select the "Enabled" entry in the right side window. If this entry is there, right-click and select "New" followed by "DWORD Value." Name the value "Enabled."
Right-click the "Enabled" entry and click "Modify."
Change the number in the "Value" box to "1." This will re-enable WSH.
close all opened cmd windows and open a new window.
Just try to run CMD as administrator. Hopefully that will solve your problem. This solved mine.
Even though this is a very old question, I'm going to post a solution that worked for me on Windows Vista/7/8. The problem is that by default the command prompt in which the npm command is run is not elevated. So launch a command prompt as administrator and then run npm command. If it is not elevated then the environment variables wont be set properly.
In windows 7 platform, when the latest version of phonegap (3.4) installed it hosts in path like this:
C:\Users\\AppData\Roaming\npm
Sometimes you should add this address to the PATH environment manually.
Go to System Properties-> Advanced -> Environment Variables
Select PATH variable from list and then edit it

Error installing Netbean in Windows 8

I have tried everything possible to install Netbean 7.3.1 on my Windows 8 OS supporting laptop. However, it was not going through from here https://netbeans.org/downloads/index.html.
This is the message I got after downloading all the software from mentioned link when tried to install for each download:
CRITICAll nullnull
I downloaded JDK (Name of the file: jdk-7u25-nb-7_3_1-windows-x64) and when I tried installing JDK I got an error says:
cannot find bundled JVM to run installer
Please can anyone share step-by-step instructions?
Open command prompt in the directory where your netbeans setup file is located. (to open cmd prompt, press shift and right click anywhere in the directory window and hit 'open command prompt here')
Now type the following command in command prompt
netbeans-8.0-windows.exe --tempdir C:\Temp --userdir C:\NBI
hit enter.
This is apparently a bug, though not in netbeans. Check out comments 9 and 10 for a possible work-around.