I know this question is asked before but I could not find any right solution for that
I have install jenkins on my windows 7 as windows service, it works fine with
I just want to give my solution
--prefix=/jenkins
to the end of the argument as show below and restart the jenkins service ALL worked OK for me !Example :
<arguments>-Xrs-Xmx256mDhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "%BASE%\jenkins.war" --httpPort=8080 --prefix=/jenkins</arguments>
http://localhost:8080/jenkins
this should bring up the home page of jenkins As I said in my question above many people have asked this question and had the same problem but all answer have been something from jenkins documentation and actually not solution. so finally I found the problem and write it here probably for some people with the same problem
first I uninstalled jenkins removed all files, folder and everything related to jenking also from windows registry and installed jenking but did not work. reinstalled windows (upgrade) and installed jenking again but did not work. next I clean reinstalled windows and installed jenkins and in this case jenkins works as I expected but I do not know what was wrong with the windows.