Jump to content

How to set ALLUSERSPROFILE variable in WinPE?


Recommended Posts

Posted

Hi,

I would like to change the ALLUSERSPROFILE environment variable in the WinPE stage of the Windows Setup.

SET ALLUSERSPROFILE="C:\Documents and Settings\All Users" from my batch file doesn't seem to work because it doesn't modify ALLUSERSPROFILE globally.

(my ALLUSERSPROFILE points to All Users.WINDOWS initially because I'm doing a parallel windows installation and I would like to change it back to All Users)

  • 2 weeks later...

Posted

You could try to use 'reg import allusersprofile.reg' in the batch file instead? Obviously make allusersprofile.reg with the details that you wish to get into the registry.

Hope that helps!

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