What is the best way to map windows drives using Python?

Building off of @Anon’s suggestion: # Drive letter: M # Shared drive path: \\shared\folder # Username: user123 # Password: password import subprocess # Disconnect anything on M subprocess.call(r’net use m: /del’, shell=True) # Connect to shared drive, use drive letter M subprocess.call(r’net use m: \\shared\folder /user:user123 password’, shell=True) I prefer this simple approach, especially if … Read more

Google My Maps – API

Currently there is no any API to access MyMaps programmatically. I can see a feature request for this in the public issue tracker: https://issuetracker.google.com/issues/35820262 It looks like Google is evaluating the feasibility to implement the API, however, no timeline provided at the moment. Please star this feature request to express your interest and receive further … Read more

Push git changes to a shared network drive

Not sure if you found something that works for you or not, but I have a writeup on how to do that very thing on a windows network drive: http://tony.halcyonlane.com/blog/2011/09/22/Using-git-at-work-on-a-Windows-network-drive/ From a cmd prompt change to your mapped drive. $ cd g: Then cd into your soon to be git repository. $ cd scripts Then … Read more

The difference between desktop-series HDD drives and server-series

One very important difference is the Time-Limited Error Recovery (aka Command Completion Time Limit) Time-Limited Error Recovery (TLER) is a name used by Western Digital for a hard drive feature that allows improved error handling in a RAID environment. In some cases, there is a conflict as to whether error handling should be undertaken by … Read more

Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed

In our network I have found that restarting the Workstation service on the client computer is able to resolve this problem. This has worked in cases where a reboot of the client would also fix the problem. But restarting the service is much quicker & easier [and may work when a reboot does not]. My … Read more

Do empty drive bays need to be filled?

It sounds like you bought a repurposed server. The previous owner probably took out their disks and had them destroyed, leaving only empty hot-swap bays. On new servers those are are filled with either empty drive-trays (and you would place your drive in the tray to populate the slot) or more likely with filler blanks … Read more