How do you configure a VM image to run a custom script ONCE on startup?

Hello,
I am creating a Windows image that will be deployed to the VM depot:
https://vmdepot.msopentech.com/List/Index
When the image is run for the first time, I'd like to run a custom script.  However, I only want this script to run the first time the VM is run (and never again).
How would I do this?
Thanks!
Matt

Hi,
Please see SetupComplete.cmd at
http://technet.microsoft.com/en-us/library/dd744268(v=ws.10).aspx
Anders Bengtsson | Microsoft PFE | blog at http://www.contoso.se

Similar Messages

  • How do you configure the default Webserver  and AppEX in XE(windows)?

    I'm new to XE but an old hat with Oracle Standard and Enterprise editions, Apache and AppEx (htmldb).
    What is the default webserver that comes with XE(windows) and how do you configure it? Where are the httpd config files?
    Also I read in the doco that you need to use Apache if you want to use https. Is there any doco on how to configure XE with Apache?
    Also with respect to AppEx
    where are the physcial files e.g. I can't find the following file or directories. Where is virtual directory /i/ mapped to? Where is this configured?
    http://127.0.0.1:8080/i/htmldb/builder/db_users_ctrl.gif
    regards
    Paul Platt

    Paul,
    for the Apex files see: http://daust.blogspot.com/2006/03/where-are-images-of-application.html
    For configuring the Apache as a proxy to XE:
    HTTPS with Oracle XE ?
    Re: Existing http server
    ~Dietmar.

  • How do you configure a farm name in RDS 2012?

    I understand Remote Desktop Services has undergo some drastric changes.
    How do you configure a farm name in RDS 2012? Or is the concept around farm name changed in another concept?
    Although I have imported a certificate on the RDCH withe the farm name I want to use. When I click on a RemoteApp on the RD Web Access portal, it does not connect to the right farm name.
    Boudewijn Plomp, BPMi Infrastructure & Security

    You don't.  You create a collection.  A client connects to the Connection Broker and then is redirected to the collection it is connecting to.  The collection name is embedded in the connection file that the client downloads from RDWeb or
    the RDWeb feed. 
    A collection is basically at least one RDSH server (for session based desktops) or one virtual machine (virtual machine based desktops). 
    Don Geddes - SR Support Escalation Engineer - Remote Desktop Services - Printing and Imaging

  • How can you get a mirror image of a photo on iPhoto?

    How can you get a mirror image of a photo on iPhoto?

    By using an external editor. Preview is already on your Mac. It's called 'Flip Horizontal'
    In order of price here are some other suggestions:
    Seashore (free)
    The Gimp (free)
    Graphic Coverter ($45 approx)
    Acorn ($50 approx)
    Pixelmator ($50 approx)
    Photoshop Elements ($75 approx)
    There are many, many other options. Search on MacUpdate or the App Store.
    You can set Photoshop (or any image editor) as an external editor in iPhoto. (Preferences -> General -> Edit Photo: Choose from the Drop Down Menu.) This way, when you double click a pic to edit in iPhoto it will open automatically in Photoshop or your Image Editor, and when you save it it's sent back to iPhoto automatically. This is the only way that edits made in another application will be displayed in iPhoto.

  • How do you configure the server in this situation?????????????

    Hi,
    We have Oracle 10.2 and Windows 2003.
    We have Oracle on Cluster (with Windows software).
    When the System are without cluster all it’s OK!!!!!!
    We have 2 Resources Cluster Group: Oracle and Applications.
    We have Oracle in Oracle cluster group.
    We have “W” Drive and a ftp program in Application cluster group.
    We have C drive in both nodes. We have installed Oracle in both nodes but we have “W” drive only associate to the Active Node because is a Cluster resource (Application cluster group).
    All days we receive text files by ftp and we put it on W Drive. This text files are readen with external tables in Oracle.
    We have a problem when oracle fails and it goes to the another node (for ex. node2) because the external tables fail because the files are on Node1 on W Drive. If we move manually Applications cluster resource to Node2 then all it is OK.
    We think to put UNC pathes instead of “W” but it’s not possible (Metalink: Note:290703.1)
    How do you configure the server in this situation?????????????
    Thanks!

    We run a similar configurations and i doubt you have a chance other then reconfigure your setup. The way we do it is to have an ftp client in our database group and periodically transfer the files a second time (not elegant but it's working).
    If that's not an option you might be able to use unc names in your ftp server and set the ftp root to a directory hosted on a disk which is part of the database group.
    Or move to unix (that's what we do now). Than you don't have to bounce your server once in a month to apply security patches...

  • How do you configure spaces in Lion?

    OK, I've found most of what I need to configure Lion but I can't find the preference panel to change the 'all spaces' view to the old style (where you see all the spaces or desktops placed on the screen in equal sizes). The new default 'mission control' view isn't as useful to me. I also don't see where to assign apps to a specific space. Finally, how do you get at the 'spaces' option for a hot corner? Where has all this moved?

    Obviously it's grown into the mission control feature... I don't care what the terms are now, I just want to know where the controls moved to.
    OK, let's try this:
    How do you configure mission control to display spaces in the old tiled format? Or whatever you call spaces/desktops now. For example, the 6 spaces I was using are still there. Apps still open where they were set to (go migration assistant!). Where do you get at the settings for this stuff now?

  • How do you display a new image in  webdynpro view?

    How do you display a new image in  webdynpro view?
    Where is the image stored and how do we specify the image path?

    hi ,
    The UI element Image enables you to integrate graphics into the Web application in a format that is processed by the Web Server u2013 for example, GIF, JPG, and PNG format. Height and width of the graphic can be specified using the properties height and width. The graphic is displayed without borders.
    saveur image   as mime
    with Mime Objects u cn upload doc , jpeg, or giff files from our local system into the webdypnpro system .
    Right click on ur component->mime object->import
    In the transaction sicf/bc/webdynpro , u cn check your component name there you can view the mime objects created by you .
    also refer the SAP online help :
    http://help.sap.com/saphelp_crm50/helpdata/en/46/bb182fab4811d4968100a0c94260a5/content.htm
    to knw more abt mime repositories.
    http://help.sap.com/saphelp_nw04/helpdata/en/f3/1a61a9dc7f2e4199458e964e76b4ba/content.htm
    regards,
    amit

  • How do you weed through duplicate images?

    I love that Aperture allows tasks to be done many different ways. I'd like to hear some ideas on how to do this -
    I am going through and finally getting my old photos from 2002 to current managed in Aperture. Many of the images are a mess on CD backup and more recent images are from the pc (I could get these from an EHD or in iPhoto). Long story short, I have LOTS of duplicate images from one disk to another. I mean the same photo two or three times.
    My library has a top blue folder for the year. The projects within there are almost all by month year (i.e. Apr 2003). As far as I can tell, all of these images are the same - but one project might have an image that another one doesn't have. Should I worry about this or not? I am very detail oriented and anal about it - so set me straight if I need a slap into reality
    Should I just go through my library and view by date and delete the duplicates without regard to which CD they came from? What would you do? How do you weed through duplicate images in this regard?
    I'd love to hear your thoughts!

    I almost thought you hit a winner there... even for general use. I started to read it and realized the import window cannot be resized. Why did I think that? Well, in general, have you ever imported from your camera and then took more pictures? Do you always remember what the last downloaded image was? Wouldn't it be great to resize that import window and see the actual library underneath to check??!
    Anyway, my imports are done so .... last night I did a few months worth and I was in date view within 2003 (not the smart folder at the top under Library) and went through using the 9 key to reject the images that were duplicate. Some of them I could go to the project and reject in larger groups, but mostly it was one by one. It is a painstaking process, but ensures I have every image. Once I know I have it all, I will delete the rejects.
    Keep in mind - my duplicates are not in the same project - they exist in multiple projects, sometimes two or three.
    No other tips out there? I was sure there were enough power users that would have some secret tip to make life easier with Aperture.

  • When making a photo book in Aperture. How do you eliminate having the image numbers under the pictures?

    When making a photo book in Aperture. How do you eliminate having the image numbers under the pictures?

    Click the "Book Actions" cogwheel and select "Page Numbers " -> "Off"
    Regards
    Léonie

  • Trying to install airport 5.6 to configure old UFO airport but doesn't show up in the app utility folder. How do you configure older Airports in OS X 10.7.5??

    trying to install airport 5.6 to configure old UFO airport but doesn't show up in the app utility folder. How do you configure older Airports in OS X 10.7.5??

    David Why? wrote:
    ... How do you configure older Airports in OS X 10.7.5??
    Use the technique described in this thread: I can't install airport utility 5.6
    Though it discusses Mountain Lion, you need to follow the exact same steps for OS X 10.7.5.
    I no longer have any original AEBSs to test. You may need an even earlier version of AirPort Utility. If AirPort Utility 5.6 cannot configure yours, let me know and I will attempt to find the correct version for you. You will need to use the same "extraction" technique described above.
    Edit: If 5.6 does not work try this one: AirPort Utility 5.5.3
    Important: If you elect to drag that version to your Utilities folder, be sure to give it a unique name. I suggest "AirPort Utility 5.5.3" This is not necessary for AirPort Utility 5.6, which will retain that name on its own.

  • How do you print multiple different images on a single page in preview

    How do you print multiple different images on a single page in preview?

    Chances are no one who saw your question knew the answer.
    Unless you're willing to share the answer you found here, then anyone else like you searching for the problem who comes across this thread will also be unable to thank you for providing the answer too.  

  • Very simple question, how do you configure windows 8.1 to use a SF card as the default install location for software applications?

    Very simple question, how do you configure windows 8.1 to use a SD card / external drive as the default install location for software applications? Primarily interested in apps installed from the windows store. This should be available in the settings
    charm within the windows store. This must have been overlooked in the development of windows 8.1 or is a bug.
    Regards, Bill
    * update
    I've tried modifying this key and the path:
    “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx”
    http://answers.microsoft.com/en-us/windows/forum/windows_8-windows_store/how-do-you-install-apps-in-windows-8-from-the/c4fbe2a8-fd3d-41c1-b9a6-6f881eed374f
    Also tried using symlinks as detailed here:
    http://social.technet.microsoft.com/Forums/windows/en-US/8eee52c2-db0f-4032-8c72-7cd999e8b41a/windows-8-apps-installing-to-secondary-drive?forum=w8itprogeneral

    Here's some links I've used to try to figure this out:
    http://social.technet.microsoft.com/Forums/windows/en-US/2dfc0cd9-7d1b-41de-abce-e03fb6a5a383/metro-apps-not-working-in-windows-8-pro-x64-after-moving-users-and-programdata-folders?forum=w8itproinstall
    http://social.technet.microsoft.com/Forums/windows/en-US/8eee52c2-db0f-4032-8c72-7cd999e8b41a/windows-8-apps-installing-to-secondary-drive?forum=w8itprogeneral
    http://social.technet.microsoft.com/Forums/windows/de-DE/f5e33ac9-beab-4b99-b3ca-7cb5e6f415e4/how-do-you-change-metro-apps-default-install-location?forum=w8itprogeneral
    Regards, Bill
    The registry method does not work with 8.1.  I found this out the hard way.  Doing it on 8.1 will leave you reinstalling the OS if you didn't do a SRP beforehand.

  • How do you configure MacfreePOP?

    how do you configure MacfreePop into Entourage? it always says that it can't find the server.

    does anybody know how to configure MacfreePOP into Entorauge?

  • How do you configure Enterprise Server to allow WiFi retrieval of email when in WiFi Area

    We have an Enterprise Server and WiFi in offices and homes and lots of free WiFi on our travels.  How do you configure the phones/enterprise server to allow this?  I cant see any easy option??

    Llessur999 wrote:
    That is a reasonable approach. Without changing network configuration, I don't see an alternative. A few considerations:
    Based on your experience, will the length of time to detect unreachability (a network timeout?) cause a usability issue?
    Must you support a scenario where a user transitions LAN-to-WAN or WAN-to-LAN while using the app?
    If this is used by a wide audience, will configuring the primary/fallback be straightforward?
    I don't think there's a usability issue.
    Yes. The app is designed for a brick/mortor location that essentially wants to drive the user to the location. The user has to ability to interact with specific hardware components at the location via server/port communications - some of which they can do while they are remote. While they are on location, they need to retain that ability to interact with local equipment even more. Users could be asked to not go on the location wifi of course but that just seems silly and an overall bad user experience.
    The primary/fallback configuration should all be done within code (no user interaction). For example the WAN IP will always be X.X.X.X (be it Public IP or dyndns - makes no difference), while the LAN configuration will always know that the lan server it needs to communicate will always be at a specific LAN IP (192.168.x.x).
    It would be  godsend to have some sort of API call (or class) that can accept a call to CFStreamCreatePairWithSocketToHost to a specific IP and on seeing that it's unreachable automatically try the secondary IP before returning a failure on the stream.

  • How do you configure the DAM so it can be shared across multiple CQ instances?

    How do you configure the DAM so it can be shared across multiple CQ instances?

    You can use shared datastore http://dev.day.com/content/kb/home/Crx/CrxSystemAdministration/HowToCombineTheDatastoreToP reserveDiskSpace.html multiple CQ instance will use same file system to share asset
    clustering http://dev.day.com/docs/en/crx/current/administering/cluster.html multiple node will share repository.
    But you can not have something like one DAM and then have different CQ instance pointing to it (As not everything goes in to one location in file system)
    Yogesh

Maybe you are looking for

  • What is "automountd" and why does it try to connect to "fakehome.dat"?

    Hi everybody, Ever since i upgraded from 10.7.x to Lion (10.8.2), every time i start my laptop Little Snitch reports "automountd wants to connect to fakehome.dat on UDP port 111 (sunrpc)." The IP address points to "Highwinds Network Group, Inc." (htt

  • ISE 1.3 Sponsor Portal problem

    Hello Guys, I configured one Guest WLAN to authenticate via ISE Web Portal. The wlan, the redirect, everything is working fine. Y Yesterday i created one user and password using the sponsor portal normally, but today, i tried to connect on the sponso

  • Crash Report!

    Hello, Sorry, I'm sure you get sick of seeing these, but when it is happening to you its hard not to reach out for help and post the crazy reports. Anyhow, I was surfing the net and panic, just like I had with all the firewire problems back in 10.5.2

  • Why Does My iPad 3 Keep Rebooting On The Apple Logo Who Helps Me Recives A 10$ Itunes Gift Card Or Any Currency He Is

    My iPad Just Drained Of Battery After Updating To IOS 7.1.1 And I Left It To Charge And It Opened The Apple Logo And Drains Of Battery Again And When I Press The Sleep/Wake Button And Home Button When The Apple Logo Shows Up It Shutsdown And By Itsel

  • Creating a datablock from multiple tables

    Hi I have a situation in which. There are two tables with the same set of columns and same names. when creating a block ,rows from both these tables have to populated into Form. (for example... One table represents expired details and the other one w