UserLoginScript Copy-Fehler net share

wincar
Beiträge: 1
Registriert: 20 Sep 2018, 11:58

UserLoginScript Copy-Fehler net share

Beitragvon wincar » 20 Sep 2018, 12:40

Hallo,

ich versuche per UserLoginScript Dateien auf die User-Share zu kopieren.
Das funktioniert aber nicht: Fehler "Error: Directory \\devbk\schueler01\budenberg" does not exist and cannot be created
Meine Vermutung ist, dass das Script als User:System ausgeführt wird und halt keine Berechtigung hat oder hab ich einen Denkfehler.

Anbei der gesamte Log:

Code: Alles auswählen

(65109)   [1] [Sep 20 12:24:12:778] [budenberg_mathilde_v.mevissen]              used script encoding: cp1252
(65110)   [1] [Sep 20 12:24:12:778] [budenberg_mathilde_v.mevissen]              used system encoding: cp1252
(65111)   [1] [Sep 20 12:24:12:778] [budenberg_mathilde_v.mevissen]              start: 2018-09-20  12:24:12
(65112)   [1] [Sep 20 12:24:12:778] [budenberg_mathilde_v.mevissen]              installing product: budenberg_mathilde_v.mevissen_05.08-1
(65113)   [1] [Sep 20 12:24:12:778] [budenberg_mathilde_v.mevissen]              on client named    "p756.schule.koeln"
(65114)   [1] [Sep 20 12:24:12:778] [budenberg_mathilde_v.mevissen]              loggedin user    "schueler01"
(65115)   [1] [Sep 20 12:24:12:778] [budenberg_mathilde_v.mevissen]              opsi-script running as    "SYSTEM"
(65116)   [1] [Sep 20 12:24:12:778] [budenberg_mathilde_v.mevissen]              opsi-script running with admin privileges
(65117)   [1] [Sep 20 12:24:12:778] [budenberg_mathilde_v.mevissen]              opsi-script running in loginscript mode
(65118)   [1] [Sep 20 12:24:12:778] [budenberg_mathilde_v.mevissen]              using context: SCHULE\schueler01 with SID S-1-5-21-1494995124-2741071160-2757151521-5032
(65119)   [1] [Sep 20 12:24:12:778] [budenberg_mathilde_v.mevissen] executing: "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-winst\winst32.exe"
(65120)   [1] [Sep 20 12:24:12:778] [budenberg_mathilde_v.mevissen] system infos:
(65121)   [1] [Sep 20 12:24:12:778] [budenberg_mathilde_v.mevissen] 90-1B-0E-C1-28-87  -  PC hardware address
(65122)   [1] [Sep 20 12:24:12:778] [budenberg_mathilde_v.mevissen] p756.schule.koeln  -  IP name
(65123)   [1] [Sep 20 12:24:12:778] [budenberg_mathilde_v.mevissen] 10.36.3.4  -  IP address
(65124)   [1] [Sep 20 12:24:12:778] [budenberg_mathilde_v.mevissen] DEU  -  System default locale
(65128)   [6] [Sep 20 12:24:12:778] [budenberg_mathilde_v.mevissen] Registry key [HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion]  opened
(65129)   [6] [Sep 20 12:24:12:778] [budenberg_mathilde_v.mevissen] Key closed
(65130)   [1] [Sep 20 12:24:12:778] [budenberg_mathilde_v.mevissen] MS Windows 10.0 64 Bit, Release: 1703, Edition: Enterprise Edition
(65131)   [1] [Sep 20 12:24:12:778] [budenberg_mathilde_v.mevissen] opsi service version : 4
(65132)   [1] [Sep 20 12:24:12:778] [budenberg_mathilde_v.mevissen]
(65135)   [6] [Sep 20 12:24:12:779] [budenberg_mathilde_v.mevissen] Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion]  opened
(65136)   [6] [Sep 20 12:24:12:779] [budenberg_mathilde_v.mevissen] Key closed
(65139)   [6] [Sep 20 12:24:12:842] [budenberg_mathilde_v.mevissen] Set  $list1$ = splitString ("devbk.schule.koeln", ".")
(65144)   [6] [Sep 20 12:24:12:850] [budenberg_mathilde_v.mevissen] Set  $Server$ = takeString (0, $list1$)
(65145)   [6] [Sep 20 12:24:12:850] [budenberg_mathilde_v.mevissen]   The value of the variable "$Server$" is now: "devbk"
(65146)   [6] [Sep 20 12:24:12:850] [budenberg_mathilde_v.mevissen] Set  $User$ = GetLoggedInUser
(65147)   [6] [Sep 20 12:24:12:850] [budenberg_mathilde_v.mevissen]   The value of the variable "$User$" is now: "schueler01"
(65148)   [6] [Sep 20 12:24:12:850] [budenberg_mathilde_v.mevissen] Set  $HomeDir$ = "\\" + $Server$ + "\" + $User$ + "\budenberg"
(65149)   [6] [Sep 20 12:24:12:850] [budenberg_mathilde_v.mevissen]   The value of the variable "$HomeDir$" is now: "\\devbk\schueler01\budenberg"
(65150)   [5] [Sep 20 12:24:12:850] [budenberg_mathilde_v.mevissen] message Profile Patch for Budenberg ....
(65151)   [5] [Sep 20 12:24:12:854] [budenberg_mathilde_v.mevissen] comment: Did we run this script before ? - and set version stamp in profile
(65152)   [6] [Sep 20 12:24:12:854] [budenberg_mathilde_v.mevissen] If
(65153)   [6] [Sep 20 12:24:12:855] [budenberg_mathilde_v.mevissen]   getValue("installationstate", getProductMap) = "installed"   <<< result true
(65154)   [6] [Sep 20 12:24:12:855] [budenberg_mathilde_v.mevissen] Then
(65155)   [5] [Sep 20 12:24:12:855] [budenberg_mathilde_v.mevissen]   comment: Product is installed
(65156)   [6] [Sep 20 12:24:12:855] [budenberg_mathilde_v.mevissen]   If
(65158)   [6] [Sep 20 12:24:12:856] [budenberg_mathilde_v.mevissen]     not (scriptWasExecutedBefore)   <<< result true
(65159)   [6] [Sep 20 12:24:12:856] [budenberg_mathilde_v.mevissen]   Then
(65160)   [5] [Sep 20 12:24:12:856] [budenberg_mathilde_v.mevissen]     comment: loginscript was not run yet
(65161)   [5] [Sep 20 12:24:12:857] [budenberg_mathilde_v.mevissen]     Execution of: Files_copy
(65162)   [5] [Sep 20 12:24:12:857] [budenberg_mathilde_v.mevissen]     
(65164)   [3] [Sep 20 12:24:12:866] [budenberg_mathilde_v.mevissen]       Error:  Directory \\devbk\schueler01\budenberg does not exist and cannot be created


Vielen Dank und viele Grüße

Carsten