Jump to content

Recommended Posts

Posted

Hi,

I'm trying to copy a file (imon.ini) to the new user's home directory when they first startup. In my unattend.xml that is called during sysprep, I have a runsynchronous command: copy c:\imon.ini %userprofile% (imon.ini is prestaged on c:\).

But when I reseal and check the user's directory, that file is not there. Does anyone know why this wouldn't work? Is the C:\users\%userprofile% directory not created until after OOBE section is completed?

Any ideas would be appreciated...


Posted (edited)

This is similar to the question that I asked...

Does anyone know if the FirstLogonCommands\SynchronousCommand in autounattend.xml setting works during an upgrade process to add a link to the desktop of the users profile by using a similar command like?

cmd.exe /c copy c:\<mydir>\*.lnk %userprofile%\desktop

This is during the OOBE pass of the Upgrade

Cheers

Gwido

Edited by Gwido

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...