Import settings.json for PowerToys Awake

brusezot

New Member
Messages
21
Reaction score
0
I am trying to import the settings.json file directly from the keepawake configuration because running a command to configure keep after logging in does not work.


1761584831435.png

After logon it's ok this command :

\%HomePath%\AppData\Local\Microsoft\PowerToys\Awake\
or
%HomePath%\AppData\Local\Microsoft\PowerToys\Awake\

Thanks in advance :

 
Copy your account's PowerToys settings.json file to the Default User's profile inside the image.

1. Add / File / Before logon (Machine) -> "\Users\Dartfish\AppData\Local\Microsoft\PowerToys\Awake\settings.json"
2. Change Mode -> Image
3. Copy new Destination path: "\Users\Default\AppData\Local\Microsoft\PowerToys\Awake\settings.json"

There are no drive letters allowed in the path. This settings file will be copied for all new users.

1761595117910.png
 
ISO mode copies your folders or files to the ISO's $OEM$ folder structure, so it's outside of the currently loaded image. Those files are installed on the system, regardless of which image edition is selected by Setup. The disadvantage is $OEM$ files get copied with the read-only attribute.

Image mode copies files only to the currently loaded image. The files are private to that image, and not shared with other images in the same install WIM/ESD. In this case, your settings.json would work from either ISO or image mode. The primary difference is whether the read-only attribute gets set on the copied files.

Sometimes it's annoying to remove the attribute after the install, to make updates on the live system.
 
Back
Top