Netzwerkadressen nicht sichtbar obwohl eingebunden?
Moin wir haben ne .bat die uns unsere Laufwerke einbindet:
net use O: “\\domaene\Firma” /persistent:no
rem gpupdate /force
Das klappt soweit, allerdings zeigt der Windoof-Explorer manchmal die Netzwerkadresse nicht an, sie fehlt dann einfach (meist wird es angezeigt und alles ist gut). Für den Fall das es fehlt: gibt es hierfür einen Befehl ? Aktuell lösen wir das Problem indem wir uns vorher einmal nen Schnellzugriff erstellt haben und darauf klicken und dann Zugriff erhalten.
Den Befehl gerne für Python, dann würde ich das in ein Skript integrieren 🙂 (oder aber na zusätzliche Zeile für die bat?) Bin leider Anfänger im proggen, aber vielleicht weiß hier ja jemand was man da tun kann 🙂
Well, you have “/persistent:no”, so after the restart it is automatically gone again.
Hi if it is integrated, it does not appear in the Explorer although integrated. This is not relevant for restarting. But something else. If I write persistent: yes it should be made unique, then never again?
Yes, you don’t need to do it for this user anymore.
If it doesn’t work when it is integrated, what is the output? Does he write “executed succesfully” or is there an error message?
hm it must be a display error/bug in windows. I can’t explain it differently. so I thought there was a command or something. Usually you can update with f5. That’s exactly what I would like to apply to the “this pc” experiment window. as powershell or asked
If the command returns “successful”, it worked. If it is not displayed in the Explorer, this is either a display error in the Explorer or the connection was lost afterwards.
Another order doesn’t change that. You could do it with PowerShell but the problem will certainly not be solved.
As I said, when it works sometimes, despite successful integration, the corresponding network drive is not displayed. Via quick link, i.e. if any folder has been placed from the drive for quick access, you will still get there. I need a command that ensures that the drives are correctly listed.