Launch Jar from Program file

Hello world,
I need some help. I have a folder that contains my Jar file and some other files. My questions is, how do I make my Jar appear in the Programs or All Programs, (depending on which MS windows you are using) when the computer starts up? I tried putting the folder that contains the jar into the Program Files folder and restarted my computer, but the Jar did not show in the programs.
Please guys, help me out here.
Thanks.

right click on your jar file, select copy from the pop-up menu, then click on the desktop and select paste shortcut, now you have a shortcut to your jar, now drag the shortcut over to the start button and let the dialog popup, drag it over the folder you want, then drop it in the list inside the folder--this will work on 98, Me, 2000, and XP but I do not know about ealier versions or windows.
After you have made the shortcut you can do a right click on the start button and just explor to the folder you want and drag or paste the shortcut to the folder you want it to show in. This will work in all versions of windows 95 through XP.

Similar Messages

  • Download doesn't work; i keep getting "unable to find firefox.exe" even when I open from program files folder; working onwindows xp with service pack 3

    download doesn't work; i keep getting "unable to find firefox.exe" even when I open from program files folder; working onwindows xp with service pack 3

    As you can see below, when I right click, I have no such option.  In the User Account Settings, I'm operating as the "System Administrator".
    Any other suggestions?

  • I cannot uninstall Firefox, either through Control Panel Add/Remove or by running helper.exe from Program Files.

    Nothing happens when I click on REMOVE for Mozilla Firefox from the Add/Remove screen of Control Panel. I then tried to run helper.exe from the Mozilla Firefox folder in Program Files, but that wouldn't run either. Any suggestions?
    == This happened ==
    Just once or twice
    == When I tried to uninstall Firefox

    unistalled foxtab, however the window saying "want to add this pers. button to toolbar" no matter what I do I can't get it off , close firefox, remove or delete or get a new firefox download to replace it in the harddrive etc. Its locked up firefox and I have to use safari to access the web. how do I get this circular message etc. off ?

  • All the tool bars, url box, everything is gone, only blue F-mozilla shows, deleted and reinstalled, even deleted mozilla from program files, reinstalled, still the same, how do I get the original interface back?

    I downloaded a freeware prog., scanned it (nothing malicious) and installed, canceled the ask! tool bar add on, but it put it on anyhow. My mozilla had the minimize toolbars buttons, so I minimized every thing to get a full screen, but now I don't have buttons, I don't have anything accept the home page. I deleted mozilla, deleted the program file, reinstalled twice, but still the same messed up opening page with no url, no tool bars, no buttons, nothing... I left scanning the entire computer and am at school....
    == This happened ==
    Every time Firefox opened
    == Ask! tool bar was added on the browser (even thou I unchecked that option)

    Hit the '''Alt''' key to show the Menu bar, then open View > Toolbars and select Menu bar, so it has a check-mark.

  • Launch Reader from PDF file in Google Chrome browser PDF viewer

    Hello!
    So I have a fillable PDF form which runs document level JavaScript to essentially render itself inactive (hides fields, etc.) if opened in anything other than Reader or Acrobat. This works great, especially in Google Chrome has known problems with submitting fillable PDF forms properly.
    Here is an example form: https://luxsci.com/forms/6296/2251/Qlg5/Medical_Center_Intake_Form.pdf
    Open in Chrome and it's unusable, there's a warning layer, and a JavaScript alert. Open in Reader or Acrobat and it renders fine and submit works great.
    When the file is downloaded in Chrome it's saved locally, i.e. Chrome displays the file URL as: file:///C:/Users/David/Downloads/Medical_Center_Intake_Form%20(3).pdf
    I am trying to make the process of opening the file from Chrome in reader as simple as possible for the end user. As such, I am wondering if there is a way to add a button which will launch Reader on the end-user's desktop/laptop and open this file?
    Any advice would be greatly appreciated!
    Thanks!

    Thanks for your comments, but that isn't the issue. We provide form processing services and have developed an effective workaround via document level JS to render the form unusable and non-submittable (is that a word?!) if opened in anything other than Adobe Reader or Acrobat. The complaint we are trying to deal with is that non-tech savvy users can't figure out how to open the PDF in Reader when Chrome auto opens it for them in the built-in broken Chrome PDF viewer.
    While I could certainly provide instructions for how to install/enable the Adobe Reader plugin in Chrome, the point is to avoid requiring the non tech savvy end-user to do anything other than click a button to open the file in Reader. So asking them to install/configure the adobe PDF plugin in their browser is not a feasible solution. So what I want is this:
    -PDF opens in Chrome's built-in PDF viewer and user sees notice that they can't use the form in the current program.
    -User can click a button saying "Open this file in Adobe Reader"
    -Clicking the button launches the local computer's Reader application, and opens the file. The PDF is then rendered normally and can be filled out and submitted as normal.
    I don't really think it's possible because of browser security restrictions against launching executables, but since the browser is just showing an embedded locally downloaded PDF file, I thought maybe there's a way...
    Thanks!

  • Launch jar from html!!!

    Ok everyone i am running into deep problems from the time i have been trying to launch this pure java application jarfile from the html browser. Everythin works fine except for Mozilla firefox in Linux. firefox somehow doesnt recognise the system default for opening jar files(unlike its windows counterpart). Since we cant specify a command line(java -jar) for default opening as in the case of browsers like konquerer, i have to manually locate the .exe file which will launch the jar file. But again java.exe(inside the correspondin JRE) doesnt work, so i dunno which exe file to use for launching the jar file.
    A similar problem is observed in mac which has firefox as the default browser. there, we dont even have an option of opening the jar file directly and on clickin the jar file link from html , the browser pops up a window for only downloading jar file into the system. This doesnt serve the purpose as the whole idea is to launch the jar file directly
    Any kinda help for both the above problems will be deeply appreciated!!!

    When you say "new flex window" are you talking about the Flash Projector running on the desktop?

  • SJWS SP3 - Not including some jars from war file

    I have a problem when deploying my application using the new Java Web Server SP3 that when my application is deployed my weblogic.jar and j2ee.jar are not included in the classpath that is created.
    I have turned on finest detail logging and it does not say why these jar files are not being included in the path.
    They are in the war files lib dir just like all the other jars(about 14 of them).
    The only way I can get the app to run under SJWS is to add these other two files manualy to the classpath in the server.xml file.
    This app runs fine under JRun 4.0 with no issues.
    Why is this server dropping these jars and not even telling me it did it? What can I do to make it include these files in the proper classpath?
    Thx

    Here are the log entries.
    finer: WebappLoader[/vc]: WEB3107: Deploy WAR /WEB-INF/lib/weblogic.jar to
    C:\Sun\WebServer6.1\https-mis-lt-23974.corporate\webapps\XXXXXXX\WEB-INF\lib\weblogic.jar
    finer: WebappLoader[/vc]: WEB3107: Deploy JAR /WEB-INF/lib/j2ee.jar to
    C:\Sun\WebServer6.1\https-mis-lt-23974.corporate\webapps\XXXXXXX\WEB-INF\lib\j2ee.jarAs you can see it see's the two jar files from my WAR file.
    But when I try and run the app, have a look at the CLASSPATH it created. The two jar's are missing. WHY??????????????
    info: for host 127.0.0.1 trying to GET /vc/login/jsp/login_redirect.jsp, service
    -j2ee reports: WEB2798: [] ServletContext.log(): WEB4077: Classpath from the ser
    vlet context is:
    C:/Sun/WebServer6.1/https-mis-lt-23974.corporate/webapps/XXXXXXX/WEB-INF/lib/NetComponents.jar;
    C:/Sun/WebServer6.1/https-mis-lt-23974.corporate/webapps/XXXXXXX/WEB-INF/lib/aseclient.jar;
    C:/Sun/WebServer6.1/https-mis-lt-23974.corporate/webapps/XXXXXXX/WEB-INF/lib/client.jar;
    C:/Sun/WebServer6.1/https-mis-lt-23974.corporate/webapps/XXXXXXX/WEB-INF/lib/dbswing.jar;
    C:/Sun/WebServer6.1/https-mis-lt-23974.corporate/webapps/XXXXXXX/WEB-INF/lib/dx.jar;
    C:/Sun/WebServer6.1/https-mis-lt-23974.corporate/webapps/XXXXXXX/WEB-INF/lib/xxx-xxxxtags.jar;
    C:/Sun/WebServer6.1/https-mis-lt-23974.corporate/webapps/XXXXXXX/WEB-INF/lib/xxx-xxxxxtags.jar;
    C:/Sun/WebServer6.1/https-mis-lt-23974.corporate/webapps/XXXXXXX/WEB-INF/lib/internetbeans.jar;
    C:/Sun/WebServer6.1/https-mis-lt-23974.corporate/webapps/XXXXXXX/WEB-INF/lib/jbcl.jar;
    C:/Sun/WebServer6.1/https-mis-lt-23974.corporate/webapps/XXXXXXX/WEB-INF/lib/jcert.jar;
    C:/Sun/WebServer6.1/https-mis-lt-23974.corporate/webapps/XXXXXXX/WEB-INF/lib/jnet.jar;
    C:/Sun/WebServer6.1/https-mis-lt-23974.corporate/webapps/XXXXXXX/WEB-INF/lib/log4j.jar;
    C:/Sun/WebServer6.1/https-mis-lt-23974.corporate/webapps/XXXXXXX/WEB-INF/lib/regexp.jar;
    C:/Sun/WebServer6.1/https-mis-lt-23974.corporate/webapps/XXXXXXX/WEB-INF/lib/xerces.jar;
    /C:/Sun/WebServer6.1/bin/https/jar/webserv-rt.jar;/C:/j2sdk1.4.2_04/lib/tools.jar;
    /C:/Sun/WebServer6.1/bin/https/jar/webserv-ext.jar;
    /C:/Sun/WebServer6.1/bin/https/jar/webserv-jstl.jar;
    /C:/Sun/WebServer6.1/bin/https/jar/ktsearch.jar;
    /C:/app/XXXXXXX/;
    /C:/j2sdk1.4.2_04/jre/lib/ext/dnsns.jar;
    /C:/j2sdk1.4.2_04/jre/lib/ext/ldapsec.jar;
    /C:/j2sdk1.4.2_04/jre/lib/ext/localedata.jar;
    /C:/j2sdk1.4.2_04/jre/lib/ext/sunjce_provider.jar

  • My laptop says, "Firefox can't fid the file at jar:///C:/Program Files/Mozilla Firefox/chrome/en-US.jar!/locale/branding/browserconfig.properties

    I was working on syncing my PC and my HP laptop. Everything was fine, but when I tried to connect to Mozilla again on my laptop, I got the above error message. I tried to connect with Internet Explorer and was taken to the Mozilla download page. I downloaded Mozilla again, and it still doesn't work. Internet Explorer should be independent, so something is really wrong

    Just go to preferences and set your home page again.

  • Runtime Error: abnormal shutdown of c:\program files\...\labview.exe

    Okay.  I've just upgraded to labview 8.0 last week and have been using it without error until the program hung when I opened it one day.  To remedy the situation and after waiting a while, I "ctrl+alt+del"ed it and forcebly closed the application.  From then on, the main lab view program will not function.  I get a runtime error saying that the program (c:\program files\...\labview.exe) was shutdown adnormally and to consult with the software manufacturer. Other NI applications function without error (ie: Measurement and Automation Explorer, Previous versions of labview, etc).
    I tried to reinstall the upgrade to no avail.  Leason learned:  ctrl+alt+del is evil.  If you have any ideas, I would greatly appreciate any input and I will relay the results.  Thanks in advance. 

    Hi Wiztrek,
    This does indeed sound like an odd error/situation. We'll do our best to get it sorted out for you though! A few questions for you:
    1. What kind of computer is this? Laptop, server, desktop, etc?
    2. What OS? Service Pack (if applicable)?
    3. When does it happen? You mentioned the splash screen -- is that as far as it gets?
    Something you could try (and this is a shot in the dark) is to rename or delete the LabVIEW.ini file (it's in the same directory as LabVIEW.exe). If that doesn't work, I think a reinstall is best to try to fix it. Remove LabVIEW 8.0 from your computer via Add/Remove Programs. Then completely delete the "LabVIEW 8.0" folder from "Program Files/National Instruments" on your harddrive.  
    When you run the installer again (after rebooting of course), make note of any errors you receive (if any). Try following the steps outlined in this KnowledgeBase -- we might get something useful out of the install log:
    How Do I Generate an Error Log File for a Software Installation?
    I hope this helps shed some light on the issue - let us know what you find out!
    Charlie S.
    Visit ni.com/gettingstarted for step-by-step help in setting up your system

  • Unable to uninstall Apple mobile device support from Programs and features using Windows 7 on PC.

    I've uninstalled all Apple software and reinstalled iTunes but everytime I try to connect my device to the PC I get a message saying to uninstall iTunes and AMDS but the AMDS is not uninstalling properly even after I've cleared iTunes from Program files and tried stop/starting AMDS through administrator tools.
    Help please.

    Others might find this process useful for issues with iTunes 11.1.4.62....
    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall move on to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • Firefox said it would update itself on launch, and then promptly vanished from my program list and desktop, though the file remains in cdrive program files, how do I restore functionality?

    I fired it up on switching on the computer, firefox then posted the usual installing updates, firefox will start in a few seconds message, and then the icon promptly vanished from my desktop screen and the program list in the startup menu, though the program files are still listed on the hard drive. I waited awhile, and then rebooted the computer, to find its still vanished.

    The unix commands you need are:
    GetFileInfo
    SetFileInfo
    and maybe find
    for cryptic details use the man command
    Macintosh-HD -> Applications -> Utilities -> Terminal
    man SetFileInfo
    You may use the SetFileInfo command to set the file type & the program which will open the file.
    # This little gem will do a get info on all files in a directory.
    mac $ ls  | xargs -I {} GetFileInfo "{}"
    file: "/Users/mac/playdoc/oddadocodd"
    type: ""
    creator: ""
    attributes: avbstclinmedz
    created: 05/01/2011 14:53:22
    modified: 05/01/2011 14:53:22
    file: "/Users/mac/playdoc/one.docx"
    type: ""
    creator: ""
    attributes: avbstclinmedz
    created: 05/01/2011 13:57:48
    modified: 05/01/2011 13:57:48
    file: "/Users/mac/playdoc/oneLineFile"
    type: "TEXT"
    creator: "!Rch"
    attributes: avbstclinmedz
    created: 05/07/2011 14:27:17
    modified: 05/07/2011 14:27:17
    file: "/Users/mac/playdoc/oneLineFile.txt"
    type: "TEXT"
    creator: "!Rch"
    attributes: avbstclinmedz
    created: 05/07/2011 14:27:49
    modified: 05/07/2011 14:27:49
    file: "/Users/mac/playdoc/three.docx"
    type: ""
    creator: ""
    attributes: avbstclinmedz
    created: 05/01/2011 13:58:03
    modified: 05/01/2011 13:58:03
    file: "/Users/mac/playdoc/two.docx"
    type: ""
    creator: ""
    attributes: avbstclinmedz
    created: 05/01/2011 13:57:56
    modified: 05/01/2011 13:57:56
    file: "/Users/mac/playdoc/weirder.doc.docx"
    type: ""
    creator: ""
    attributes: avbstclinmedz
    created: 05/01/2011 14:50:03
    modified: 05/01/2011 14:50:03
    # well, ! is a funnie character so we escape it.
    mac $ SetFile -t TEXT -c \!Rch two.docx
    mac $ GetFileInfo two.docx
    file: "/Users/mac/playdoc/two.docx"
    type: "TEXT"
    creator: "!Rch"
    attributes: avbstclinmedz
    created: 05/01/2011 13:57:56
    modified: 05/01/2011 13:57:56
    mac $
    mac $ date
    Sat May  7 14:40:56 EDT 2011
    mac $

  • Launch Wine programs from menu: FIle not Found

    I have installed eMule with wine, and get the "File not found" message when running it from the menu.
    This was discussed in THIS thread, but none of the possible solutions work for me
    Original:
    env WINEPREFIX="/home/daerunarch/.wine" wine C:\\windows\\command\\start.exe /Unix /home/daerunarch/.wine/dosdevices/c:/users/Public/Start\ Menu/Programs/eMule/eMule.lnk
    Doesn't work
    Edited the menu entry with alacarte:
    wine 'C:\Program Files\eMule\emule.exe'
    doesn't work
    wine '.wine/drive_c/Program Files/eMule/emule.exe'
    doesnt' work
    wine "/home/username/.wine/drive_c/Program Files/eMule/emule.exe"
    doesn't work
    wine "/home/username/.local/share/applications/wine/Programs/eMule/eMule.desktop"
    dosen't work
    Also all the previous begining with "env WINEPREFIX=" instead of "wine". Nothing worked o_0 What should I try now?
    Last edited by Daerun (2011-02-13 23:36:46)

    Null, the problem is not running from gnome menu. I can make it run from console, and it shows these messages, just in case there's some hint here:
    wine '.wine/drive_c/Program Files/eMule/emule.exe'
    wine: cannot find L"C:\\windows\\system32\\winemenubuilder.exe"
    err:wineboot:ProcessRunKeys Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (2)
    fixme:heap:HeapSetInformation (nil) 1 (nil) 0
    fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),4,3,(nil),0,(nil)) - stub!
    err:ole:CoGetClassObject class {5c63c1ad-3956-4ff8-8486-40034758315b} not registered
    err:ole:CoGetClassObject class {5c63c1ad-3956-4ff8-8486-40034758315b} not registered
    err:ole:create_server class {5c63c1ad-3956-4ff8-8486-40034758315b} not registered
    fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
    err:ole:CoGetClassObject no class object {5c63c1ad-3956-4ff8-8486-40034758315b} could be created for context 0x17
    err:winediag:WSASocketW Failed to create a socket of type SOCK_RAW, this requires special permissions.
    err:winediag:IcmpCreateFile Failed to use ICMP (network ping), this requires special permissions.
    err:listview:LISTVIEW_WindowProc unknown msg 108a wp=00000000 lp=0033c914
    fixme:richedit:ME_HandleMessage EM_GETLANGOPTIONS: stub
    fixme:richedit:ME_HandleMessage EM_SETLANGOPTIONS: stub
    fixme:richedit:ME_HandleMessage EM_SETMARGINS: stub
    fixme:richedit:ME_HandleMessage EM_GETLANGOPTIONS: stub
    fixme:richedit:ME_HandleMessage EM_SETLANGOPTIONS: stub
    fixme:richedit:ME_HandleMessage EM_SETMARGINS: stub
    fixme:richedit:ME_HandleMessage EM_GETLANGOPTIONS: stub
    fixme:richedit:ME_HandleMessage EM_SETLANGOPTIONS: stub
    fixme:richedit:ME_HandleMessage EM_SETMARGINS: stub
    fixme:richedit:ME_HandleMessage EM_SETMARGINS: stub
    fixme:shell:IAutoComplete2_fnInit ACO_FILTERPREFIXES not supported
    err:listview:LISTVIEW_WindowProc unknown msg 108a wp=00000000 lp=0033ca34
    err:listview:LISTVIEW_WindowProc unknown msg 108a wp=00000000 lp=0033ca38
    err:listview:LISTVIEW_WindowProc unknown msg 108a wp=00000000 lp=0033ca4c
    err:listview:LISTVIEW_WindowProc unknown msg 108a wp=00000000 lp=0033ca1c
    err:listview:LISTVIEW_WindowProc unknown msg 108a wp=00000000 lp=0033ca1c
    err:listview:LISTVIEW_WindowProc unknown msg 108a wp=00000000 lp=0033ca1c
    err:listview:LISTVIEW_WindowProc unknown msg 108a wp=00000000 lp=0033ca1c
    err:listview:LISTVIEW_WindowProc unknown msg 108a wp=00000000 lp=0033ca1c
    err:listview:LISTVIEW_WindowProc unknown msg 108a wp=00000000 lp=0033ca48
    err:listview:LISTVIEW_WindowProc unknown msg 108a wp=00000000 lp=0033ca48
    fixme:shell:IAutoComplete2_fnInit ACO_FILTERPREFIXES not supported
    err:listview:LISTVIEW_WindowProc unknown msg 108a wp=00000000 lp=0033c9e8
    err:listview:LISTVIEW_WindowProc unknown msg 108a wp=00000000 lp=0033c9e8
    fixme:richedit:ME_HandleMessage EM_GETLANGOPTIONS: stub
    fixme:richedit:ME_HandleMessage EM_SETLANGOPTIONS: stub
    fixme:richedit:ME_HandleMessage EM_SETMARGINS: stub
    Karol, that command didn't do anything for me...
    Turvyc, I know about aMule and have used it, but stuck to eMule because of some features it didn't have. If I can't run eMule I might as well return to aMule, as I know how to migrate configurations.

  • An error The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered after launching a ps1 script from cmd file.

    I'm trying to load sharepoint script from *.cmd file. 
    I have Sharepoint 2010 installed on Windows 7 x64 and SQL server 2008r2.
    My cmd file is: 
    Powershell -v 2 -NonInteractive -NoLogo -File 1.ps1
    My sharepoint file 1.ps1 is:
    $snapin="Microsoft.SharePoint.PowerShell"
    if ($action -eq $null -or $action -eq '')
    {<br />
    # Action by default is complete uninstallation.
    $action='uninstall'
    $uninstall = $true
    else
    $action = $action.ToLower()
    switch($action)
    { $_ -eq "uninstall" } { $uninstall = $true; break }
    { $_ -eq "removesolution" } { $removeSolution = $true; break }
    { $_ -eq "deactivatecorpus" } { $deactivateCorpus = $true; break }
    { $_ -eq "deactivatesupport" } { $deactivateSupport = $true; break }
    default { Write-Host -f Red "Error: Invalid action: $action "; Exit -1 }
    Check the Sharepoint snapin availability.
    if (Get-PSSnapin $snapin -ea "silentlycontinue")
    Write-Host "PS snapin $snapin is loaded."
    elseif (Get-PSSnapin $snapin -registered -ea "silentlycontinue")
    Write-Host "PS snapin $snapin is registered."
    Add-PSSnapin $snapin
    Write-Host "PS snapin $snapin is loaded."
    else
    Write-Host -f Red "Error: PS snapin $snapin is not found."
    Exit -1
    $url = "http://pc1/sites/GroupWork/"
    $site= new-Object Microsoft.SharePoint.SPSite($url )
    $loc= [System.Int32]::Parse(1033)
    $templates= $site.GetWebTemplates($loc)
    foreach ($child in $templates){ write-host $child.Name " " $child.Title}<br />
    $site.Dispose()
    The script works fine from the Sharepoint 2010 management shell after launching the shell from the start menu (or from windows cmd by entering powershell -v 2):
    PS C:\2> .\1.ps1 
    PS snapin Microsoft.SharePoint.PowerShell is loaded.
    GLOBAL#0 Global template
    STS#0 Team Site
    STS#1 Blank Site
    STS#2 Document Workspace
    MPS#0 Basic Meeting Workspace
    MPS#1 Blank Meeting Workspace
    MPS#2 Decision Meeting Workspace
    MPS#3 Social Meeting Workspace
    MPS#4 Multipage Meeting Workspace
    CENTRALADMIN#0 Central Admin Site
    WIKI#0 Wiki Site
    BLOG#0 Blog
    SGS#0 Group Work Site
    TENANTADMIN#0 Tenant Admin Site
    {248A640A-AE86-42B7-90EC-45EC8618D6B4}#MySite2 MySite2
    {95629DC2-03B1-4C92-AD70-BC1FEAA49E7D}#MySite1 MySite1
    {7F01CFE4-F5E2-408B-AC87-E186D21F624C}#NewSiteTemplate NewSiteTemplate
    PS C:\2>
    I have an access to the database Sharepoint_Config from current domain user and from other 2 users. All users have db_owner rights to the Sharepoint_Config database. But
    i've loaded in windows from the user which is dbo in the database (dbo with windows authentication with domain\username for the current user). The dbo user has do_owner rights in the Sharepoint_Config database. I've tried to login under other users and launch
    the cmd file but without success.
    My PowerShell has version 2.0: 
    PS C:\2> $psversiontable
    Name Value
    CLRVersion 2.0.50727.5477
    BuildVersion 6.1.7601.17514
    PSVersion 2.0
    WSManStackVersion 2.0
    PSCompatibleVersions {1.0, 2.0}
    SerializationVersion 1.1.0.1
    PSRemotingProtocolVersion 2.1
    After launching the script from 1.cmd file i get an errors:
    C:\2>Powershell -v 2 -NonInteractive -NoLogo -File 1.ps1
    PS snapin Microsoft.SharePoint.PowerShell is registered.
    The local farm is not accessible. Cmdlets with FeatureDependencyId are not regis
    tered.
    Could not read the XML Configuration file in the folder CONFIG\PowerShell\Regist
    ration.
    Could not find a part of the path 'C:\2\CONFIG\PowerShell\Registration'.
    No xml configuration files loaded.
    Unable to register core product cmdlets.
    Could not read the Types files in the folder CONFIG\PowerShell\types.
    Could not find a part of the path 'C:\2\CONFIG\PowerShell\types'.
    "No Types files Found."
    Could not read the Format file in the folder CONFIG\PowerShell\format.
    Could not find a part of the path 'C:\2\CONFIG\PowerShell\format'.
    No Format files Found.
    PS snapin Microsoft.SharePoint.PowerShell is loaded.
    New-Object : Exception calling ".ctor" with "1" argument(s): "The Web applicati
    on at http://Pc1/sites/GroupWork/ could not be found. Verify t
    hat you have typed the URL correctly. If the URL should be serving existing con
    tent, the system administrator may need to add a new request URL mapping to the
    intended application."
    At C:\2\1.ps1:48 char:18
    + $site= new-Object <<<< Microsoft.SharePoint.SPSite($url )
    + CategoryInfo : InvalidOperation: (:) [New-Object], MethodInvoca
    tionException
    + FullyQualifiedErrorId : ConstructorInvokedThrowException,Microsoft.Power
    Shell.Commands.NewObjectCommand
    Please help me. I don't understand why the script is launched from the sharepoint management shell but doesn't work from the cmd file.

    I have an answer for my problem:  for solving a problem I've made several steps:
    1. Run farm installation under AD admin credentials - runas /user:Domain1\DomainAdmin1 "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN\psconfigui.exe".
    This user has been added as farm administrator in the wizard.
    This user has been added as DBO in the SQL Server. (This is the main difference with my previous attempts)
    2. Execute a command Add-SPShellAdmin Domain1\UserAccount1 in
    the Management Shell of Sharepoint.
    3. Run SQL server and add Sharepoint_Shell_Access to the Domain1\UserAccount1
    (my main account) in the Config database
    4. Run CMD file only from Start->Run menu. 
    runas /user:Domain1\UserAccount1 "C:\1.cmd".
    Do not use Total Commander command prompt or file list for executing *.cmd of *.bat files without root administrator account.
    Thanks all for help.

  • Launching Web Start Program from an Applet?

    Hi,
    I need to launch web start program from an applet.
    How can I do that?
    I have tried opening a new web page pointing to the jnlp file from an applet. But, that does not seem to start the web start.
    Thanks in advance
    rg

    I am new to this so may be my questions will appear stupid to a pro, but this is an erro I am getting at compile:
    Can't make static reference to method java.lang.Process exec(java.lang.String) in class java.lang.Runtime.
         Runtime.exec("test.exe");
    What could be the problem?
         ^

  • Unable to install MySQL J Connector, its unable to launch jar file in OS mavericks 10.9.. please

    Hello all,
    i am referring following link to create connector for connection between mysql and sqldeveloper,
    while installing jar file for mysql J conncetor its telling unable to launch jar file.
    This is the latest OS and they have java preferences from utility folder and gave java control panel instead in system prefernces which is picking the runtime latest java version from oracle site.
    Please refer "http://reviews.cnet.com/8301-13727_7-57533880-263/java-preferences-missing-after -latest-os-x-java-update/" for the same.
    Please suggest ASAP.
    Thanks
    AbhiNU

    sorry i missed link in above descriptin
    http://mysql-dba-journey.blogspot.com/2009/05/installing-oracle-sql-developer-or acle.html

Maybe you are looking for

  • Call remote applications

    I am new to Java. I need to write a java application on windows, which calls to execute a native program(fortran program) on a remote unix(SUN), and returns the execution result back locally. rmi is the tool? please give me some direction. thanks.

  • F4 HELP in Abode in WD Abap

    HI GURU; How to create a search help in Abode . i followed the following link to create a search help. i am using form in Wd Abap SAP ECC 6.0 sp 7. http://help.sap.com/saphelp_nw70/helpdata/EN/42/fb2fe500553ee4e10000000a1553f7/content.htm plz help me

  • Look for general blog on Java technologies

    Hello, I am greatly interesting in Java and look for active blog on Java technologies. I found 1000 of blogs posted in this forum but many are very specific or not active anymore. Could you please advise me good java blog with regular posting and int

  • My 4s wifi function is greyed out, how do i enable it

    my 4s wifi function is greyed out, how do i enable it

  • Saving as Quicktime or Final Cut Pro Movie File

    More a general question about compression from Final Cut. Source - HDV 3 min movie I compressed using default settings for Export > Quicktime Movie. (Result - a Final Cut Pro Movie File) Also I used default settings for Export > Using Quicktime Conve