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 🙂

(2 votes)
Loading...

Similar Posts

Subscribe
Notify of
6 Answers
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
TheFamousSpy
1 year ago

Well, you have “/persistent:no”, so after the restart it is automatically gone again.

TheFamousSpy
1 year ago

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?

TheFamousSpy
1 year ago

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.