Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

copy a file to %userprofile% during OOBE

Featured Replies

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...


copy is a built-in command not an executable.

try cmd.exe /c copy .....

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

I have managed to test the above solution during a DVD Upgrade from MCE to Home Premium,

All sorted

Thanks Guys

Gwido

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.