What Application is required for Programming a game for a Nokia 7650

Hello, I am new to all this and I would like to program a game on a Nokia 7650, I have downloaded a few games and transfered them via infrared to my phone (JAD and JAR files)which are pretty cool. All I know they are either written in Java or C++.I understand C++, is faster but more difficult to program so I would like to begin using Java. Please advise me what Java Application I need on my PC to write a Game for the Nokia 7650, there are so many Applications on the Java Site, I have no idea which one to download.I am not interested writting a game on the pc only the mobile. Many thanks.

.I am not interested writting a game on the pc only the mobile. Many thanksYou still 'write' the game on the PC, you simply deploy it on the mobile :)
1) Learn java
2) Learn how to write games
3) Learn the mobile phone API, and how to write small, efficient programs
4) start writing mobile games
if you've never done any programming before, then you've got >1years work there :S

Similar Messages

  • What application do I use to do coding for PHP?

    Ok i am going to start learning some PHP coding etc
    I have Apple Mac Computer
    What application is best to download or use for PHP?
    What do you all recommend?
    thanks

    For simple stuff TextWrangler would be a good choice,
    But if you plan on doing more (and the etc after some PHP coding etc seems to indicate that you might) then you might as well jump into Xcode.
    Besides getting you up to speed on Xcode so if you make the jump into OS X and/or IOS programming you'll be ready, you'll have source code control from the start, which is part of Xcode. SCC can be a huge help when learning a language, try what you like, totally screw up, no problem you can always go back to what worked.
    It;s a real benefit to learning.

  • Extremely HOT for just play game for 10 minutes

    The BB Curve 9360 was extremely HOT for just play game for 10 minutes!!!!!!! The battery bar drop extremely FAST.
    Really best CHEAT products from RIM on HOT and FAST!!!!!!!!
    Customers SUCKS!!!!!!!!
    EDIT: Subject Title edited to reflect new topic.

    That would be why. The 13inch MBP has integrated graphics meaning the one processor is doing the power of the CPU and the GPU. This causes the system to heat up fast causing the fan to kick in. This is nomal with the 13inch. The best thing you can do is by a cooling pad to help out a little.

  • What are some, good, cool, and fun games for Mac OS 9?

    Hello I would like to know some good games for Mac OS 9. Any good game suggestions are appreciated. I would also like to know if there are any good games for kids ages 3 to 9. But like I said any suggestions are appreciated.
    Thanks!

    Hi, cgeuss1621 -
    ...i guess the page is gone.
    The link to the bungie site worked for me. Here's the supplemental page for it for the downloads -
    http://source.bungie.org/get/
    ...i was wondering if it would be possible to run marathon on snow leopard or if you can it off the disc
    No OS 9 program can be run directly in any version of OSX. OSX 10.4 and earlier can use OS 9 as Classic, which provides an environment in which many OS 9 programs can be run; however, any program which needs direct access to the machine's hardware (such as many games do) will not run well, if at all, in Classic.
    Both Snow Leopard and Leopard do not support Classic at all.

  • New ALchemy settings for some major games for Win7 (64-bit)...

    [color="#ff0000"]Update 2/0/0 - Added Sid Meier's Civilization V: Ok this game is so hard to find in the registry because it uses a completely radically new type of installer that basically is a hybrid installer based on pulling the steam client game updates for Civ V and the data from the actual Civ V install DVD. The definiti've install location is similar to other steam apps are installed @ location C:\Program Files (x86)\Steam\steamapps\common\sid meier's civilization v. (The blue part is common for the majority of all steam installed games locations. Finding this for Civ V was not so easy, however.
    Here is the actual entry you should add to your ALchemy.ini file and is the ONLY location that points to the aforementioned correct install path in the entire HKLM tree that is valid. This is truly a very very unique and bizarre and radically new way to find and detect correct install path strings without resorting to using the GAMEUX path (which is different on everyones computer). This path is indentical for all Civ V installs and therefore the most valid. The ALchemy team needs to address these new radical ways that game companies are injecting the install string into the registry in the future or ALchemy will start to break big time. Notice its the Uninstall path that actually functions as the only correct static install path for the game. Its a dual use path. Very clever!
    [Sid Meier's Civilization V]
    RegPath=HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Mi crosoft\Windows\CurrentVersion\Uninstall\Steam App 8930\InstallLocation
    SubDir=
    Duration=5
    Preset=
    GamePath=
    RootDirInstallOption=FALSE
    Buffers=4
    MaxVoiceCount=28
    DisableDirectMusic=FALSE
    [color="#ff0000"]Update 2/0/0 - Added Star Wars Galaxies Trading Card Game: A nice game if you have SWG that uses gorgeous sound while playing. Here is the ALchemy.ini addition.
    [Star Wars Galaxies Trading Card Game]
    RegPath=HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Wind ows\CurrentVersion\App Paths\SWGTCGGame.exe\Path
    Preset=
    GamePath=
    SubDir=
    RootDirInstallOption=FALSE
    Buffers=4
    Duration=25
    MaxVoiceCount=28
    DisableDirectMusic=FALSE
    [color="#ff0000"]Update 2/0/0 - Added Star Trek Online: The only correct and static install path for this wonderful game.
    [Star Trek Online]
    RegPath=HKEY_CURRENT_USER\Software\Cryptic\Star Trek Online\InstallLocation
    Preset=
    GamePath=
    SubDir=
    RootDirInstallOption=FALSE
    Buffers=4
    Duration=25
    MaxVoiceCount=28
    DisableDirectMusic=FALSE
    [color="#ff0000"]Update 2/0/0 - Added A few oldies but goodies: Some older games I have managed to get to work with ALchemy. The sound in these older games is UNREAL in how good they sound now!
    [Fallout Tactics]
    RegPath=HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\4 Degrees East\Fallout Tactics\ProgramFolder
    Preset=
    GamePath=
    SubDir=
    RootDirInstallOption=FALSE
    Buffers=4
    Duration=25
    MaxVoiceCount=28
    DisableDirectMusic=FALSE
    [UFO Afterlight]
    RegPath=HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\AL TAR\UFO Afterlight\Path
    Preset=
    GamePath=
    SubDir=
    RootDirInstallOption=FALSE
    Buffers=4
    Duration=25
    MaxVoiceCount=28
    DisableDirectMusic=FALSE
    [UFO Extraterrestrials]
    RegPath=HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Tr i Synergy\UFO Extraterrestrials\installed to
    Preset=
    GamePath=
    SubDir=
    RootDirInstallOption=FALSE
    Buffers=4
    Duration=25
    MaxVoiceCount=28
    DisableDirectMusic=FALSE
    The original post:
    I was playing around with the D:\Program Files (x86)\Creative\ALchemy\ALchemy.ini file to force ALchemy to run with all the games on my computer. After I changed the reg paths in this .ini file all the games I had on my computer started working with ALchemy running in Windows 7 64-bit. Windows 7 registry paths for some major game titles I play are NOT in the standard location that the ALchemy.ini file has them as which is why they never get registered. I run a 64-bit version of Windows 7 so the path is slightly different then the default ones in the .ini file. Here is what I added/changed and all these games now register with ALchemy and work! Game heading bolds are my addition in this post and not how they look like in the .ini file to help see the game titles better.
    I tend to shy away from any GAMEUX registry strings (for example: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\GameUX\S--5-2-837354825-494596859-745999896-00\{AFF227C-B0BB-49A5-8DFF-E87FDB864D}\ConfigApplicationPath) as they may be different for one computer to the next as they look identical to a SID string which changes radically as it is created when the game is installed. The strings should be static so they would appear identical on my computer as they would on yours. Having a string in the install path that looks like above just gives me the creeps that it is not valid. Since I only have my computer to compare this against I am not positi've of this. Just to be sure stay away from GameUX strings that are alphanumeric in nature as they can change from computer to computer or reinstall to reinstall making ALchemy fail. More on this at the bottom of this post.
    [Cabal]
    RegPath=HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Mi crosoft\Windows\CurrentVersion\Uninstall\CABAL Online_is\InstallLocation
    Preset=
    [Dragon Age Origins]
    RegPath=HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Bi oWare\Dragon Age\Path
    Preset=
    [Dungeons & Dragons Online: Eberron Unlimited]
    RegPath=HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Tu rbine\DDO\InstallLocation
    Preset=
    [Sid Meier's Civilization IV]
    RegPath=HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Fi raxis Games\Sid Meier's Civilization 4\INSTALLDIR
    Duration=5
    Preset=
    [Sid Meier's Civilization IV: Beyond the Sword]
    RegPath=HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Fi raxis Games\Sid Meier's Civilization 4 - Beyond the Sword\INSTALLDIR
    Duration=5
    Preset=
    [Sid Meier's Civilization IV: Warlords]
    RegPath=HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Fi raxis Games\Sid Meier's Civilization 4 - Warlords\INSTALLDIR
    Duration=5
    Preset=
    [Sid Meier's Pirates!]
    RegPath=HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\At ari\Sid Meier's Pirates!\INSTALL_PATH
    Preset=
    [Star Wars Galaxies]
    RegPath=HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Wind ows\CurrentVersion\App Paths\SwgClient_r.exe\Path
    Preset=
    [Wizard0]
    RegPath=HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Ki ngsIsle Entertainment, Inc.\Wizard0\InstallPath
    Preset=
    [World of Warcraft]
    RegPath=HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Bl izzard Entertainment\World of Warcraft\InstallPath
    Duration=0
    Preset=
    I left the Preset= in all of them to have default settings. You can change or add the additional options to your pleasure but I find the defaults to work just fine. Here are all the settings for the options from the top of the .ini file.
    ;Creative ALchemy titles
    ;Format/Options:
    ;? [TITLE]
    ;? RegPath <-- registry path containing string to executable or executable's directory (use this when available; alternati've is GamePath)
    ;? GamePath <-- Directory to look for app (use if RegPath can't be used)
    ;? Buffers <-- #buffers to use (default is 4)
    ;? Duration <-- buffer duration (default is 25)
    ;? DisableDirectMusic <-- disable DirectMusic support (default is False)
    ;? MaxVoiceCount <-- maximum number of voices to support (default is 28)
    ;? SubDir <-- subdirectory offset off of path pointed to by RegPath for library support (default is empty string)
    ;? RootDirInstallOption <-- option to install translator support in both RegPath and SubDir directories (default is False)
    Notice if you do a clean reinstall of your games in Windows 7 the game paths are in actuality in the reg path of \Wow6432Node and not just the raw HKLM\Software location due to the way the 64-bit architecture restructures its registry keys to work with 32-bit games (as many of these still are in fact).
    The duration and such you can play with but I just left the settings as they were and changed the executable path location that ALchemy needs to find and work with the game is all. If you reinstall Star Wars Galaxies the new Station Launcher will put the game folder under its location and therefore it may be different in your registry. SWG (and Cabal to some extent) is the only game in this list that specifically points to an abnormal location in the registry for the install path due to the way it is launched from a voicechat type of application (The Station Launcher). But at least it works this way, so I don't care too much. I even got my classic game Sid Meier's Pirates! to work with ALchemy, yay! For Cabal I used the uninstall location for the true install path. I assume as long as the path is valid, it will work and it shows up in the ALchemy window, yay!
    [color="#ff0000"]Please verify these paths in your registry do in fact have these valid regitry entries using regedit or regedt32 and not just modify the .ini file as I have shown above.
    GameUX strings
    There is one game I can not find any verifiable path for in the registry and that's Sid Meier's Colonization =(? If anyone has a clue where this path is stored or how to edit the .ini file to reflect the correct location and work with ALchemy please let me know! I have tried this location:
    [Sid Meier's Colonization]
    RegPath=HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Wind ows\CurrentVersion\GameUX\S--5-2-837354825-494596859-745999896-00\{AFF227C-B0BB-49A5-8DFF-E87FDB864D}\ConfigApplicationPath
    Preset=
    ...but it does not seem to like the GameUX registry path at all and won't detect it. Probably because its a specialized SID (in other words, the SID will be different on my computer then it is on yours) and ALchemy does not know how to transpose SID registry entries for it to work. GameUX is basically the registry location for all your Games as they are stored under the Start > Game location of your desktop. So if anyone can figure out how to include Direct3D games that are older but do not have a valid installation registry entry please let us know! Of course I could just use the full true path in this .ini file but I am not sure how that would look like and I don't want to break ALchemy for the games it does work with. So I stuck with just valid registry entries.
    I own an X-Fi XtremeGamer sound card with version .4.02 of ALchemy running on Windows 7 64-bit as of this post.

    ?pmc64 wrote:
    Why are you adding new games to alchemy No new games use eax and surround sound should work properly without it. The alchemy team doesnt need to do anything for the future of the program because it's for legacy games. You really don't? need to add wow6432node because it should read it anyways on 64 bit systems. At least it does with the 6 games i have installed. That steam regpath will work on any steam game. you just need to change the app number. About the only games that I have that need it are the old gold source games and far cry because for some reason the original reg path isnt on there. You really should update your alchemy version to 43.06 because the previous versions have problems with windows 7 and some games wont work right unless you change a .dll file to a older one.
    A few things about your post.
    ) Alchemy does not automatically detect the registry path settings as you have been misled for a lot of games you have to manually tell it where it goes. Hence this post.
    2) You are completely missing the point of ALchemy, which is to add the depth of audio in games (yes even new ones) which is lacking without them using just EAX.
    3) ALchemy is for new games not just legacy ones. hence why I have added the keys for both.
    4) I have had numerous ppl tell thank me for posting this thread and their games now are read by ALchemy. If you choose to not follow this thread its you choice. No worries =)
    5) My updater does not show any version besides 4.02 and I dont look for something even newer in some obscure forum post or whatnot. Official beta drivers from Creative tend to be less then stellar in performace (if any indicitation is by how their li've drivers are its even worse in their beta flavors). When I do the auto update it returns:
    Status: No updates are necessary for your Creative product.
    Your system already has the latest versions installed.

  • What is the required book cover image size for ePub?

    Hi all
    I am trying to follow the insturcitons in the Publisher Setup guide for uploading my ePub file to the iBook store. Having gone through this process with Amazon I am gobsmacked by how unhelpful the guidance is from Apple.
    It is asking me for a cover image but I cannot see anything telling the required spec for this - on Amazon they tell you min and max dimensions and what the required dpi is but (unless I've missed a whole bunch of instrucitons somewhere!) I see no such info in the guide or in the iTunes connect screens.
    Can someone please help me here?  After googling I found these forum pages and saw that someone had said the cover image must be at least 600dpi and max height of 740 pixels - is that right? (odd as on Amazon you only need 72dpi!)
    Just in case anyone can help here too - my ePub file already has the cover image included in it - do I therefore need to separetely add this standalone cover image?
    Really grateful if anyone can help on this.
    Many thanks
    Karen Inglis

    From Apple about book covers:
    JPEG with “.jpg” extension (quality unconstrained) or PNG with “.png” extension
    RGB (screen standard)
    600 pixels minimum along the larger axis. For an average trade paperback, this could be 400x600minimum size, as the books are generally taller than they are wide.
    Covers may not reference pricing, the physical edition, or include any other wording that may notnecessarily be true for the digital edition.
    Yes, a separate cover file is needed for display. My experience is if you have a cover for Amazon that is 600 px or greater on the longest side, you are fine with Apple.
    Step back and take a breath. We all go through this the first time.
    - Fabe

  • What are the requirements to restrict internet usage for my users?

    Am I requested to install a 3rd party software in order to restrict my users going to internet? Is there a software that comes with Mac OS X server that gives me this facility?
    Basically I just want to restrict my users for certain hours during the day, these permissions should be applied on user bases or groups.
    Thanks in advance.

    Any suggestions or recommendations?
    Is Squid my only way to go or there are other applications you recommend?

  • What internet security/anti-virus programs are good for macs?

    Should I install Norton Internet Security on my Mac?

    Please don't. You really don't need anti-virus software. Visit The XLab FAQs and read the FAQ on anti-virus software and malware. Also, see Viruses, Trojans, Malware - and other aspects of Internet Security.
    If you must use such software then use ClamXav 2.2.2.

  • Looking for fun FREE games for my iPhone 4.

    I got my iPhone yesterday and admittedly, I am a little bit addicted.
    I'd love to hear about your favourite games THAT YOU DID NOT PAY FOR. (Not yelling just emphasising the point) I don't have a huge income at the moment so I won't be paying for any apps right now.

    Some vendors drop their prices down to free for 24 hours, in order to drum up business, and get noticed on iTunes. Here are three sites, that post links to the free (or dramatically reduced price) on a daily basis. Note: This is all genre of applications... not just games
    http://dealnews.com/Electronics/Phones-Cell-Phones/Apple-i-Phone-Deals-491.html
    http://freeappalert.com/
    http://freeappaday.com/index.php

  • Looking for old skool games for iphone?

    Just wondering if anyone knows of C64 or Amiga games available for iphones?
    If there arent any there should be!

    I've just finished old school beat'em up game. You can watch trailer here: http://madjohn.motionvfx.com/

  • What config is required to set up Transportaion planning for the delivery?

    Hi experts,
    I am trying create shipment for delivery.It not picking the delivery for shipment.I checked the status in delivery and Transportaion planning is not showing as 'A'.What config is required to set up TP for the delivery?
    Please advise

    please define your transportation planning point , shipment type
    u can define ur transportation planning point in IMG- enterprise structure - Logistics execution
    and shipment type u can define under IMG- Log Execution - shipment - define shipment types
    Maintain ur delivery type etc  relevant for transportation in
    IMG- logistic execution- shipments-maintain transportation relevance
    Pls do reward if this information is of helpful to you
    regards
    AMI

  • What equipment is required to calibrate PXI cards.

    I need to know what all is required, hardware and software wise, for me to calibrate the following NI items in my cal lab:
    PXI-1045, PXI-6508, PXI-6552, PXI-8331, and PXI 6251.
    What I have now is an old version 2.0 of Calibration Executive and the software that came with these cards (NI-488.2, GPIB-VXI/C Legacy Documentation and NI-VISA Libraries Version 3.0). My software guy also has the NI Developer Suite from 2003. In the lab we have calibrators (5700,5720,4708,9500) and meters (34401,3458,1281,8508) and scopes (TDS) and PC controllers running XP with NI PCI-GPIB cards.
       I realize I will need to get an upgrade for the Cal Exec, I need to know what all else is required to decide if it is going to be justifiable to gear up for this capability. Any information, including prices, is appreciated.

    Hi Poornima -  
    The SCXI chassis and equipment are used to condition signals sent to and from the DUT.  After being conditioned, the signals are sent to your DAQ device to be digitized and read into the computer.  As such, the SCXI chassis only needs to be cabled to the DAQ device.  You can do this using a shielded E-series cable (SH68-68-EP) and an adapter block (SCXI-1349).  These will connect the leftmost device in your SCXI chassis to your DAQ card, which must reside in the rightmost slot of your PXI chassis.  There is detailed information about SCXI connections in the "SCXI Quick Start Guide", which can be found in the Start Menu documentation for DAQ.
     The GPIB connections will be made in your PXI chassis.  Either the embedded controller of the chassis or a PXI-GPIB card will have the port connections needed.
    There are also detailed text instructions for making the connections in the "Calibration Executive Help" file, which you can find in the program's Start menu group.  Inside this file, browse the tree to "Device Calibration Procedures » Modular Instruments » High-Speed Digital".  The instructions given here explain step-by-step how to connect your equipment for both scenarios (combo chassis and separate SCXI chassis).
    David Staab, CLA
    Staff Systems Engineer
    National Instruments

  • Buying new games for the ipod Nano 5G

    When I looked at the requirement for the games in the iTunes store the overall description said that these games (clickwheel) can be played on the 5th Gen. Nano, but when I look at the requirements for each individual game it says that the games are only compatible with the 3rd and 4th Gen. Nanos. Which is it?

    According to the Frequently Asked Questions (FAQ) for iPod Click Wheel Games site, under the topics *"What are the requirements?"* and *"Which games are available for iPod?"* the ipod nano 5th generation is not listed.
    Post a request for Nano 5th generation games on Apple's Product Feedback site.

  • Downloading Games for E65

    I just bought a Nokia E65 and there was a booklet called 'Add-on application guide for E series'. I want to download "Snakes" for my E65 and the booklet says to go to www.nokia-asia.com/support, so thats what i did. I found the E65 model on the first page to download software but snakes wasnt there. So i went to the software tab at the top but the E65 isnt listed in that section. So basically i want to know were i can download "Snakes" for my E65. Does anyone know? Thanks

    Download link for the SNAKE game.
    http://europe.nokia.com/A4151102
    Punkwigs game is great...feeling in the 70's!

  • What permissions are needed on the client side for RunspaceFactory.CreateRunspace?

    Hi.
    I am running a remote powershell command from an IIS application to an Exchange server getting the below error. Everything works fine if the IIS application pool identity is in the local administrators group on the IIS server so we can rule out issues with
    firewall or anything on the Exchange server. It is a problem with lack of privileges on the local server. 
    So my question is: What permissions are required on the local server for RunspaceFactory.CreateRunspace? I find good documentation on the permissions required on the server side, but nothing about the client side.
    The last Win32 error code after failure is 1008.
    An internal error occurred. 
    at at System.Management.Automation.Remoting.Client.WSManClientSessionTransportManager.Initialize(Uri connectionUri, WSManConnectionInfo connectionInfo) 
    at System.Management.Automation.Remoting.Client.WSManClientSessionTransportManager..ctor(Guid runspacePoolInstanceId, WSManConnectionInfo connectionInfo, PSRemotingCryptoHelper cryptoHelper) 
    at System.Management.Automation.Remoting.ClientRemoteSessionDSHandlerImpl..ctor(ClientRemoteSession session, PSRemotingCryptoHelper cryptoHelper, RunspaceConnectionInfo connectionInfo, URIDirectionReported uriRedirectionHandler) 
    at System.Management.Automation.Remoting.ClientRemoteSessionImpl..ctor(RemoteRunspacePoolInternal rsPool, URIDirectionReported uriRedirectionHandler) 
    at System.Management.Automation.Internal.ClientRunspacePoolDataStructureHandler..ctor(RemoteRunspacePoolInternal clientRunspacePool, TypeTable typeTable) 
    at System.Management.Automation.Runspaces.Internal.RemoteRunspacePoolInternal..ctor(Int32 minRunspaces, Int32 maxRunspaces, TypeTable typeTable, PSHost host, PSPrimitiveDictionary applicationArguments, RunspaceConnectionInfo connectionInfo) 
    at System.Management.Automation.Runspaces.RunspacePool..ctor(Int32 minRunspaces, Int32 maxRunspaces, TypeTable typeTable, PSHost host, PSPrimitiveDictionary applicationArguments, RunspaceConnectionInfo connectionInfo) 
    at System.Management.Automation.Runspaces.RunspaceFactory.CreateRunspacePool(Int32 minRunspaces, Int32 maxRunspaces, RunspaceConnectionInfo connectionInfo, PSHost host, TypeTable typeTable, PSPrimitiveDictionary applicationArguments) 
    at System.Management.Automation.RemoteRunspace..ctor(TypeTable typeTable, RunspaceConnectionInfo connectionInfo, PSHost host, PSPrimitiveDictionary applicationArguments) 
    at System.Management.Automation.Runspaces.RunspaceFactory.CreateRunspace(RunspaceConnectionInfo connectionInfo, PSHost host, TypeTable typeTable, PSPrimitiveDictionary applicationArguments) 
    at System.Management.Automation.Runspaces.RunspaceFactory.CreateRunspace(RunspaceConnectionInfo connectionInfo) 

    Thanks Daniel.
    I see that the IIS server has a GPO setting 'Allow log on locally' to the local administrators group for this server. I will order add of the IIS app pool identity to this list.
    I tried the process monitor comparing runs with and without the app pool identity as local administrator. The runs are identical up to the point where one does something useful and the other closes 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WSMAN'.
    There are no failures.
    I am not using my runspace objects for multiple threads. I dispose after use.
    I will end up with the below if I change. Comments?
    public static PowershellResult RunPowerShellCommandExchange2010(string exchangeServer, string command, ICollection<KeyValuePair<string, object>> parameters, string usr, string pwd) {
    WindowsImpersonationContext impersonationContext = null;
    try {
    impersonationContext = WindowsIdentity.Impersonate(IntPtr.Zero);
    GetProcessInformation();
    try {
    var connectionInfo = GetExchange2010ConnectionInfo(exchangeServer, usr, pwd);
    using (var runspace = RunspaceFactory.CreateRunspacePool(1, 1, connectionInfo)) {
    using (PowerShell powershell = PowerShell.Create()) {
    var psCommand = new PSCommand();
    if (parameters != null) {
    psCommand.AddCommand(command);
    foreach (KeyValuePair<string, object> parameter in parameters) {
    if (parameter.Value == null) psCommand.AddParameter(parameter.Key);
    else psCommand.AddParameter(parameter.Key, parameter.Value);
    } else {
    //if parameters argument is null the command will be treated as script
    psCommand.AddCommand(new Command(command, true));
    powershell.Commands = psCommand;
    runspace.Open();
    powershell.RunspacePool = runspace;
    var resultPSObjects = powershell.Invoke();
    var psResult = new PowershellResult {
    PSObjects = resultPSObjects,
    Errors = powershell.Streams.Error.ToList()
    return psResult;
    } catch (Exception ex) {
    var windowsIdentity = WindowsIdentity.GetCurrent();
    int errorCode = Marshal.GetLastWin32Error();
    if (windowsIdentity != null) throw new Exception(string.Format("Failed to run Exchange powershell command '{0}' as user {1} passing executing user {2} due to: {3} at {4}. Server: {5}. Last error code: {6}", command, windowsIdentity.Name, usr, ex.Message, ex.StackTrace, exchangeServer, errorCode), ex);
    throw new Exception(string.Format("Failed to run Exchange powershell command '{0}' as unknown user passing executing user {1} due to: {2} at {3}. Server: {4}. Last error code: {5}", command, usr, ex.Message, ex.StackTrace, exchangeServer, errorCode), ex);
    } finally {
    if (impersonationContext != null) {
    impersonationContext.Undo();
    Tore Olav Kristiansen

Maybe you are looking for

  • Viewing .3g2 video on IPT

    My friend took a video on his phone and emailed it to me in the .3g2 format. It plays on my ipod touch from the Mail program, but it won't play the sound. When I open it on my computer it does have sound. Any ideas? Is there a different format that w

  • No defineded RFC destination for global trade service----urgency!!!!

    how can i resolve this problem for [<b>STOP]</b> Message, just on one sever, not connect any other R/3 system, when i execute mb1c,input  a material information, and try to save the input messages , the system pop up the [<b>stop</b>] error:     <b>

  • How do I update podcasts on windows computer?It used to do it automatically each time I tunes was opened

    how do i update podcasts on my computer?  they used to put current versions each time i opened I tunes

  • Screensaver comes on very often even when disabled

    Something has happened with my system where the screensaver will come on every few minutes. I have turned off hot corners, told my display to never sleep when connect to power (which it is), and set the screen saver to never come on. Does anyone have

  • Scale-to-fit with margins

    Hi, Is there any way to order large prints (16x20 or 20x30) scaled to fit the page with a margin for matting and framing? I typically crop my photos to odd sizes, then export to another application (GraphicConverter) to scale and add margins, then im