Unattend.xml - 'creating' a file on the desktop

I'm trying to create a very simple file on the desktop through unattend.xml.  This file will only open IE to a particular webpage.  For some reason it's being totally ignored.  I have verified that this works when run at a command prompt.
This is running under oobeSystem pass under the Microsoft-Windows-Shell-Setup component.
<FirstLogonCommands>
      <SynchronousCommand wcm:action="add">
        <CommandLine>CMD /C echo "C:\Program Files\Internet Explorer\iexplore.exe" "servername/page" > "%userprofile%\Desktop\Deploy.bat"</CommandLine>
        <Description>Initial imaging link</Description>
<RequiresUserInput>false</RequiresUserInput>
        <Order>1</Order>
      </SynchronousCommand>
    </FirstLogonCommands>
I've banged around with the command, tried dropping it in Public, some other things, but it just gets ignored regardless.  The rest of the oobeSystem pass is processed with no issues.
Any idea what I am doing wrong?

Hi,
FirstLogonCommands specifies commands are run with elevated access privileges, if the users does not include administrative privileges, the commands may not be executed, pleaes see detailed information in the following link
http://technet.microsoft.com/en-us/library/ff715886.aspx
Yolanda Zhu
TechNet Community Support

Similar Messages

  • When I create a new folder on the desktop of my macbook pro, it is automatically populated with all of the files on the desktop, which I don't want.

    when I create a new folder on the desktop of my macbook pro, it is automatically populated with all of the files on the desktop, which I don't want.

    I got the problem solved. It was pretty simple but new to me. I had evidently inadvertently switched the setting in the "View" tab on the dropdown menu so that all of my desktop folders were populated by all folders/documents residing on the desktop.
    The solution was to open one of the folders, then go to the "View" tab and change the setting to "List." Presto, now all the folders include only the contents I had intentionally loaded into them.

  • Create a folder on the desktop and share with everyone if it does not exist on a Windows 7 PC - No Domain

    I have a script that needs to be modified to create a folder on the desktop and share with everyone if it does not exist on a Windows 7 PC - No Domain.  Here is the script, need help at bottom
    =======================================================
    Set objShell = CreateObject("WScript.Shell")
    objComputer=objShell.ExpandEnvironmentStrings("%ComputerName%")
     IF Right(objComputer,3) = "000" Then
    Else
     strShortcut = objShell.SpecialFolders( "Desktop" )  & "\%username% Share.lnk"
      strShortcut = objShell.ExpandEnvironmentStrings(strShortcut)
    Set objLink = objShell.CreateShortcut( strShortcut )
     objComputer=objShell.ExpandEnvironmentStrings("%ComputerName%")
      objServer=Left(objComputer,7) & "-000"
     objLink.Description = objShell.ExpandEnvironmentStrings("%username% Share")
      objLink.TargetPath = objShell.ExpandEnvironmentStrings("\\" & objServer & "\Users\%username%\Desktop\%username% Share")
      objLink.Save
    End If
    =======================================================
    if "C:\Users\%username%\desktop\%username% Share" exits do nothing
    if not create the folder and share it with everyone read only
    ======================================================
    The section directly above is what I need to add, anyone have a clue how to make this work?

    Bill:  Can you suggest a site?  I am in the weeds here trying to get this done yesterday.  I have been reading code and trying to figure this out since yesterday morning.  I have to roll out this image to 2 dozen machines and
    this is holding us back.  Any idea which site I can post to for help?
    The bigger issue is that you have been given the answer to this in many different forms and, because you have no technical background, you fail to see what is being shown to you.  That is why I have repeatedly suggested that you hire a consultant.
    The link to the learning material is at the top o this page.  You can also search the web for Windows consultants.
    In the learning link you can also look up how to manage files. If, in the beginning you had chosen to use the learning materials you might not be in this bind.
    Look up and research the FileSystemObject.
    ¯\_(ツ)_/¯

  • Numbers file on the Desktop that does not exist??

    I have a newly set up MacBook Pro with Lion 10.7.2.  I have created a numbers file that is NOT saved on the Desktop.  I have an icon of that file on the Desktop and can select it but the file doesn't exist.  I have navigated to the folder as su in Terminal and the file doesn't exist. The icon shows on the Desktop though.
    The numbers document you can see above the selected is the numbers document that I saved after I had seen what I have described above.  When I saved it there was no prompt to overwrite the file because.........it doesn't exist!!
    Ideas anyone??

    I may be making a mistake by even mentioning this, but this may be a rare case for enabling the Root User to delete the file if that is what you want to do. In almost every case, it's not a good idea to tell people to enable Root. So other more experienced users may have other suggestions. But if you log in as Root, try to delete the file, then log back out of Root, you should be OK.   Carefully read here first about Enabling Root.

  • Finder freezes after dragging a file to the desktop

    I am finding the if I try to drag a file to the desktop, it seems to move the icon there, but then freezes up... you can't do anything with finder at all..? I go up to "Force Quit" and select to "Relaunch" Finder, and it resumes normal operation... My work around is to copy and paste things onto the desktop, them trash the original file... a poor solution, but I'm getting by.. any ideas??  Dave

    I appreciate the update DJ.
    Next I would verify and repair the startup disk using the Disk Utility. This resource should help you do that, named:
    Repair a disk - Disk Utility Help
    Print this help page so you can refer to it later. (You don’t have access to Disk Utility Help when you restart your computer in the next step.)
    In the Disk Utility Help window, click the Share button , then choose Print.
    Choose Apple menu > Restart. Once your Mac restarts and you hear the startup chime, hold down the Command (⌘) and R keys.
    When the Apple logo appears, you can release the keys.
    Click Disk Utility, then click Continue.
    In the sidebar, select the disk or partition you want to repair.
    Click First Aid.
    If Disk Utility tells you the disk is about to fail, back up your data and replace the disk. You can’t repair it.
    Click Repair Disk.
    If Disk Utility reports that the disk appears to be OK or has been repaired, you’re done. Otherwise, you may need to do one of the following.
    If Disk Utility reports “overlapped extent allocation” errors, two or more files occupy the same space on your disk, and at least one of them is likely to be corrupted. You need to check each file in the list of affected files. Most of the files in the list have aliases in a DamagedFiles folder at the top level of your disk.
    If you can replace a file or re-create it, delete it.
    If it contains information you need, open it and examine its data to make sure it hasn’t been corrupted.
    If Disk Utility can’t repair your disk or it reports “The underlying task reported failure,” try to repair the disk or partition again. If that doesn’t work, back up as much of your data as possible, reformat the disk, reinstall OS X, then restore your backed-up data.
    If the issue is not resolved, I would next re-install Yosemite. This will not compromise your data:
    Reinstall OS X - Mac Help

  • If I barrow an image from iPhoto, that is drag it to another file or the desktop it seems to half disappear.  It still shows until I try to enlarge it then I get a triangle exclamation mark in the enlarged field, once I return to Photos or an Album it is

    If I barrow an image from iPhoto, that is drag it to another file or the desktop it seems to half disappear.  It still shows until I try to enlarge it then I get a triangle exclamation mark in the enlarged field, once I return to Photos or an Album it is there.  However it can no longer be dragged into another file.  How can I recover these images?  Is there a better way to duplicate a image to locate in outside of iPhoto?
    I never had this problem in previous versions of iPhoto.

    The ! turns up when iPhoto loses the link to the original file.
    What version of iPhoto? Assuming 09 or later...
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • My iMac all of the sudden started going in and out of the dashboard, then started changing all files on the desktop to 2's. It also did this when having another window open. Do I have a virus?

    My iMac all of the sudden started going in and out of the dashboard, then started changing all files on the desktop to 2's. It also did this when having another window open. Do I have a virus?

    There are no viruses that can affect Apple OS X.
    What files do you keep on the Desktop? How many?
    Performance tip: Keep the Desktop clutter-free (empty, if possible)
    Mac OS X's Desktop is the de facto location for downloaded files, and for many users, in-progress works that will either be organized later or deleted altogether. The desktop can also be gluttonous, however, becoming a catch-all for files that linger indefinitely.
    Unfortunately - aside from the effect of disarray it creates - keeping dozens or hundreds of files on the Desktop can significantly degrade performance. Not necessarily because the system is sluggish with regard to rendering the icons on the desktop and storing them in memory persistently (which may be true in some cases), but more likely because keeping an excessive number of items on the Desktop can cause the windowserver process to generate reams of logfiles, which obviously draws resources away from other system tasks. Each of your icons on your desktop is stored as a window in the window server, not as an alias. The more you have stored, the more strain it puts on the window server. Check your desktop for unnecessary icons and clear them out.
    Keeping as few items as possible on the Desktop can prove a surprisingly effective performance boon. Even creating a single folder on your Desktop and placing all current and future clutter inside, then logging out and back in can provide an immediately noticeable speed boost, particularly for the Finder.
    And it is why Apple invented 'Stacks' for Leopard.
    Here is Apple's take on the subject:
    http://www.apple.com/pro/tips/immaculate_desktop.html

  • When I move a file from the desktop to trash, the file only moves to the trash after I open the trash

    So if I have a file on the desktop and I delete it, it makes the 'throwing it in the trash' sound but the trash can icon stays empty (if I don't already have something there) until I click on trash, and the file still appears to be on my desktop until I click the trash. If, after I've moved something to the trash, I then drag the file that seems to still be there around the desktop and drop it somewhere randomly, the file moves itself from the trash back onto the desktop! Can anyone help?
    Thanks, Dan

    Welcome to the Apple Discussions. Do you have Time Machine setup to backup your hard drive? If so you can use it to recover the files.
    If not you will need to use a file recovery application like SubrosaSoft FileSalvage. It lets you run the application to check the drive for files that can be recovered before having to purchase it. There are other similar applications out there also. You can go to VersionTracker.com and search for "file recovery" to get other possible apps.
    There are recovery services that can do the job for you. They are pretty expensive but if you can't get the recovery application to work they are another option.
    Try to use the computer as little as possible beforehand so you don't run the risk of overwriting the deleted files.
    OT

  • How can I get a pdf. to open in Safari, all i'm getting is a new window with a black, blank page, instead of the pdf., and I don't want to save the file to the desktop, Safari didn't use to do that, and I don't have Adobe in the internet plug in folder.

    How can I get a pdf. to open in Safari, all i'm getting is a new window with a black, blank page, instead of the pdf., and I don't want to save the file to the desktop, Safari didn't use to do that, and I don't have Adobe in the internet plug in folder.

    Hi
    Please take a look to this thread Re: Can I refresh the browser rather than open a new tab?

  • Cannot drag or copy files on the desktop and hard drives

    I cannot drag (and therefore copy or move to trash or other drives, folders) any of my files, folders, application, pics, etc. All my programs open fine, and if I have a file on the desktop or in hard drive (I have 2) I can double click on file and it will open fine, but I cannot grab hold of anything and drag it to trash or to another folder, drive etc.
    I have run disk utility and repaired permissions, but no luck so far. Only thing I think I did different recently is downloaded dvd 4 updater and tried to install it - however, I only had dvd 2.1 which I had just updated from dvd 1
    Also - nothing shows up in the recent items folder even after applications are opened and I cannot access finder controls to re-launch etc.
    thanks, any suggestions much appreciated!

    Drag & Drop not working...
    You have a choice files to delete in ..... ~/LibraryPreferences
    • com.apple.desktop.plist
    • com.apple.dock.plist (your choice to delete this or not)
    • com.apple.finder.plist
    • com.apple.LaunchServices.LocalCache.csstore
    • com.apple.LaunchServices. plist
    • com.apple.LauchServices. UserCache.csstore
    Also you have a choice of files to delete in........
    /Library/Caches/
    george

  • 10.6.6 - upgraded and now can no longer see files on the desktop

    I upgraded to 10.6.6 and now I can no longer "see" any of my files that are located on the desktop. However, I can see the files in Finder. Anyone else experience this?

    Also, I can no longer drag files to the desktop and the right-click contextual menu no longer appears when I right-click in the desktop.

  • Can´t see my files in the desktop

    My files on the desktop dissapear but when i search them into spotlight i find them but when try to open, it didn´t open, any idea how to fix it?.
    Ticolandia

    System restores restore a computer to exactly the same as it was when the backup was made, meaning you will loss any new software or files you have gotten since the backup was made.
    Store 112 in Thousand Oaks, CA
    My opinions do not in any way shape or form represent Best Buy's Official decisions.

  • With FireFox as my default browser, I create a shortcut on the desktop as per instructions in 'help' but when I click on the shortcut it opens in a browser which is not even running.

    With FireFox as my default browser, I create a shortcut on the desktop as per instructions in 'help' but when I click on the shortcut it opens in a browser which is not even running.

    -
    Make absolutely certain that FireFox is designated as your default browser.
    Do this: Tools / Options / Advanced / Check Now / correct the setting
    OR right click on any shortcut icon / Open With / Choose Default Program / select desired Browser / check Always... box / OK
    ----SOLVED-----------
    -

  • .pdf file on the desktop that cannot be deleted

    I have a .pdf file on the desktop that gives me a "cannot be deleted" message when I try to delete it or drag to trash. It was downloaded from a "kosher" website. How do I get rid of it?

    Open the terminal utility and type "sudo rm" followed by a single space. Then drag the file to the terminal window and press enter, followed by supplying your password when prompted.

  • Preview pdf files in the desktop with Adobe Reader Touch .. is it possible?

    preview pdf files in the desktop with Adobe Reader Touch
    .. is it possible?

    Windows Store apps (including Adobe Reader Touch) do not offer the preview capability in the desktop environment.  That's just how Microsoft has set up.  So you need traditional desktop apps.
    Because your operating system is Windows 8 (not Windows RT), you can find a lot of desktop apps that are compatible with Windows 7 and 8.  (For Windows RT, only built-in Microsoft Office products are available for desktop apps.  But that's not the case here.)
    You can download Adobe Reader XI (which is also a free PDF viewer) from the following Adobe Reader download page
    http://get.adobe.com/reader/enterprise/
    and install it on your Windows 8 desktop.  (Note for Windows RT users: Adobe Reader XI is not compatible with Windows RT.)
    In case you have any questions about Adobe Reader XI (desktop app), you can visit the Adobe Reader forum.
    http://forums.adobe.com/community/adobe_reader_forums

Maybe you are looking for

  • OS Lion - Difference image quality in EyeTV with new user account?

    Hi Everyone, My computer has been crashing ever since installing Lion, mainly on the Mail app it appears, so I created a new user account and have set that up to use. I have an Elgato Eye TV Hybrid with EyeTv for watching TV. The image settings are t

  • Dynamic Internal Table - data type changed automatically

    Dear All, I have a requirement of craetion of dynamic inetrnal table which I have created referring to a custom table . In that custom table there is field ZDC002 of type DEC(16,7) which is converted to data type P(9,7) . Now it works fine if 2 digit

  • File Structure of iPhoto

    Can anyone please explain to me the file strucure that iPhoto uses. I do not want to change things but I'd like to understand it at least. Thanks, Municher Power Mac 2 x 2.0 GHz   Mac OS X (10.3.9)  

  • Question about SMP

    First I would like to give a big thanks to all of the Arch community and Devs this has to be the best OS I've ever seen so thank you very much for all your effort!! As you can tell I'm new to Arch (been using it 4 2 weeks) but I've been using GNU/Lin

  • Phones compatible Polar

    I have 5140i. What are the other nokia's compatible with polar ? Thank you