Re: Opsi Script unterbrechen - Benutzerbibliotheken verschieben
Verfasst: 08 Jun 2019, 00:23
@SisterOfMercy "Benutzerbibliotheken" are the User folders like pictures, music, documents. The path is C:\Users\[username]\xxx.
The Problem on this topic is that the folder C:\Users\[username]\... is created after the first login of the user.
These are the steps of my script:
- create the user with a powershellcall
- set the registry keys to Change the paths of the user directory
- set the autologin in registry for the user
- set runonce restart
- reboot the maschine
- after reboot logout opsi
- the user do a automatic login
- the User reboots (runonce) -> user directories are created
- make a robocopy of the directorys from C:\Users\[username]\xxx-> D:\
The Problem on this topic is that the folder C:\Users\[username]\... is created after the first login of the user.
These are the steps of my script:
- create the user with a powershellcall
- set the registry keys to Change the paths of the user directory
- set the autologin in registry for the user
- set runonce restart
- reboot the maschine
- after reboot logout opsi
- the user do a automatic login
- the User reboots (runonce) -> user directories are created
- make a robocopy of the directorys from C:\Users\[username]\xxx-> D:\