Die Symlinks werden doch unter Windows Junction genannt, zumal unter W2k das Tool selbst junction.exe hieß.https://download.uib.de/opsi4.0/doc/html/opsi-winst-manual/opsi-winst-manual.html hat geschrieben:symlink <existing file> <new file> // since 4.11.5 [W/L]
Unter Windows ist symlink erst ab NT6 und aufwärts verfügbar !
....
Die Erstellung von Junctions unter Windows wird noch nicht unterstützt.
Hier mein Code:
Code: Alles auswählen
[Files_Make_Javaw_Symlink]
symlink "%ProgramFiles32Dir%\Java\jre8\bin\javaw.exe" "C:\Windows\system32\javaw.exe"
Code: Alles auswählen
(160) [5] [Sep 03 13:53:46:146] [jre32] Execution of Files_Make_Javaw_Symlink
(161) [6] [Sep 03 13:53:46:146] [jre32] Missing Priviliges for API Call - start process elevated: cmd.exe /c mklink "C:\Windows\system32\javaw.exe" "C:\Program Files (x86)\Java\jre8\bin\javaw.exe"
(162) [6] [Sep 03 13:53:46:147] [jre32] Start process elevated
(163) [6] [Sep 03 13:53:46:151] [jre32] symlinked: C:\Program Files (x86)\Java\jre8\bin\javaw.exe to C:\Windows\system32\javaw.exe
Die Client-Maschine ist ein Win 8.1 x64 mit dem aktuellst verfügbaren OPSI-Client 4.0.5.6-6.