Was ist passiert?
Der Code ...
Code: Alles auswählen
Files_uninstall_user /AllNtUserProfiles
[Files_uninstall_user]
del -f "%CurrentProfileDir%\AppData\Roaming\Microsoft\Word\STARTUP\bgv.dotm"Code: Alles auswählen
Make it for user directory: C:\Users\admin\
Notice: File or Directory C:\Windows\System32\config\systemprofile\AppData\Roaming\Microsoft\Word\STARTUP\bgv.dotm does not exist, nothing deletedMit der Variable "%UserProfileDir%" funktioniert alles wie gewünscht.
Code: Alles auswählen
Make it for user directory: C:\Users\admin\
Search "C:\Users\admin\AppData\Roaming\Microsoft\Word\STARTUP\"
Search "C:\Users\admin\AppData\Roaming\Microsoft\Word\STARTUP\bgv.dotm"
File "C:\Users\admin\AppData\Roaming\Microsoft\Word\STARTUP\bgv.dotm"
The file has been deletedtauschen der Variable %CurrentProfileDir% mit %UserProfileDir%
%CurrentProfileDir% -> funktioniert nicht
%UserProfileDir% -> funktioniert
Bei welche Versionen der beteiligten Komponenten tritt das Problem auf?
Code: Alles auswählen
opsi@opsi01:/var/lib/opsi/workbench$ dpkg -l | grep opsi-
ii  opsi-configed                   4.0.7.6.34-2                   all          OPSI config editor
ii  opsi-linux-bootimage            20181213-1                     all          opsi bootimage for netboot tasks.
ii  opsi-server                     4.1.1.7-1                      all          opsi server configuration package
ii  opsi-tftpd-hpa                  5.2.8-49                       amd64        HPA's tftp server
ii  opsi-utils                      4.1.1.27-1                     all          utilites for working with opsi.
ii  opsi-windows-support            4.1.1-8                        all          Install utilities useful for deploying Windows with opsi.
Code: Alles auswählen
opsi-winst 4.12.1.2-1
opsi-client-agent 4.1.0.0-29Viele Grüße