network-shares interview questions
Top network-shares frequently asked interview questions
I have a Samba share on my Ubuntu server which I map as a network drive on my Windows 7 Professional computer.
After every reboot it shows the drive as disconnected and to access it I have to renter my password even though every time I enter the password I check the 'Remember my credentials' box.
Is there way to have Windows 7 remember the credentials on a reboot/shutdown or is it just to remember them per session?
Source: (StackOverflow)
There has been some spirited discussion within our IT department about mapping network drives. In particular, it has been said that mapping network drives is a bad thing and that adding DFS paths or network shares to your (Windows Explorer/Libraries) favorites is a far better solution.
Why is this the case?
Personally I find the convenience of z:\folder
to be better than \\server\path\folder
', particularly with cmd line and scripting (of course I'm not talking about hard-coded links, naturally!).
I have tried searching for pros and cons of mapped network drives, but I haven't seen anything other than 'should the network go down, the drive will be unavailable'. But this is a limitation of any network-accessed storage.
I have also been told that mapped network drives poll the network when the network resource is unavailable, however I haven’t found more information on this. Do network drives poll the network any more than a Windows Explorer library/favourite? Wouldn't this still be an issue with other network access mechanisms (that is, mapped Favourites) whenever Windows tries to enumerate the file system (for example, when a file/folder picker dialog is opened)?
Source: (StackOverflow)
How do I turn off the little popup bubble in systray that says "could not reconnect to all network drives" ?
I am aware that a particular drive is only accessible at certain times so I dont need an annoying little popup message evertime I reboot.
Ive seen similar popup messages get hidden through means of registry editor, but google turned up no answers for this one.
Source: (StackOverflow)
Recently Notepad++ seems to be very slow when dealing with files that are located on a network share.
I am editing small files (e.g. web.config) and it is slow to:
- Initially open a file on a network share.
- Switch tabs back to a file on a network share.
- Switch back to notepad++ after using another application.
My guess is when switching tabs back to a network file it tries to check if someone else has modified the file (I could live with turning this off and it could check on save).
I am on a "fast" local network and have only noticed this problem recently.
My local PC is Windows 7 Enterprise and the servers are Windows Server 2003 and 2008.
Source: (StackOverflow)
I use Mac OS 10.6 to connect to a NAS drive using the afp
protocol (Finder -> Go -> Connect To Server). I have set up the NAS to automatically power off during the day, and power on in the evening. Now what happens is this: each time the NAS powers off, the network share disappears. After the NAS has turned on again, I have to manually re-connect to the network share.
My girlfriend uses Windows 7 to connect to the same share. For her, when the NAS is off, the network drive is still visible in "My Computer", albeit with a "not connected" marker. When the NAS is on, she simply opens the network drive and Windows notices that it is available again.
Is there a way to make Mac OS behave in a comparable way to Windows here? I want Mac OS to automatically reconnect to the drive when it is available again (or at least when I try to access it).
I know I can turn the connection into a login item, but I rarely re-login. I want this to work automatically, while already being logged in.
Source: (StackOverflow)
On a daily basis I find myself in the Windows command prompt needing to access a network drive that is mapped but disconnected. I have yet to find a command that will reconnect this drive without unmapping and remapping (which leads to a password guessing game, since I don't own these computers). I would also like to be able to script this so every night the drive is reconnected if it has become disconnected somehow.
The fastest solution I currently have is to:
- Type "
start.
" to open explorer,
- Alt-D to focus the address bar,
- type the drive letter I want and press enter, and wait for it to display the drive contents,
- then finally, close explorer and go back to the command prompt.
I know it's a minor inconvenience, but I'm often doing this through a slow VNC or PCAnywhere connection where doing anything through GUI is awful, so I'm just wondering if there's a better solution.
Source: (StackOverflow)
At work we're letting one of our very tech savvy clients actually help out a little with a few development projects specific to him. However, he uses his own personal Macbook, and as he edits files on our (Windows) networks, his Macbook always creates a bunch of unnecessary meta files that we end up deleting later.
For instance, it creates a file called .DS_Store in any directory he opens, as well as "dot underscore" files for each file he edits. So for instance, if he's editing a file called "Main.php", his Macbook will create another file called "._Main.php".
I know there are ways to prevent creation of .DS_Store files, but none about how to prevent creation of these hidden files prefixed with dot underscore.
Is there any way to turn that off on Macs? Any way to prevent it from creating those files in the first place?
Source: (StackOverflow)
I have a machine running Ubuntu with Samba that I use to share stuff with my family's Windows machines in our local network. Currently they access a share for movies/music/etc with one user.
I want to connect them to another share as a different user (for example, user "goytacaz").
When I try connecting to this new share, Windows gives me "Error 1219" and complains about multiple connections by the same user.
How do I get my machine to accept multiple connections by the same user?
Source: (StackOverflow)
I try to map a network resource to my local device.
I receive the following error: The local device name is already in use.
I have the problem to find which purpose the device is used for. I try a command net use and do not see it in the list, therefore, it is not mapped to a network resource.
Does anybody know how to see the list of all used devices in Windows 7?
Source: (StackOverflow)
This question may be weird and misworded but I'm not a Windows expert by any means so feel free to correct me.
The group I'm in recently got new computers at work. They gave me a new computer and hooked up my old computer to the network for a week so I could take my time transferring necessary files/configs etc. The Support Guy said, "Just go to 'run' and type in \\PCNAME\c$
. So I did and, low and behold, there's my old C: drive. I thought to myself, "What a huge security issue. I'll just transfer everything quickly and then 'un-share' it."
The end of the day came and I logged in through remote desktop and right clicked on the C drive. But it was not shared. I called The Support Guy and explained to him that I didn't want my C drive available to everyone on the network all weekend. He seemed confused. He said, "It's not really 'shared'. If you go to the command prompt and type in \\ANYPCNAME\c$
you get their C drive. That's just how it is."
I hung up the phone and walked over to a coworker's desk and looked at his PC name (there's a sticker on every computer) and then walked back to my desk and put a hello
file on his desktop.
I don't keep anything personal on my work computer but there are definite security concerns. Not really from within the group I'm in but from the hundreds of other employees on the network (and domain) that I don't know. I'm fine with practical jokes but what if someone has an unknown grudge against me (or someone with a similar name or computer name) and adds nasty language against my boss to documents which are part of a project?
Is this an inherit part of how Windows domains work? Are there any steps I can take to make my box a little more secure? Bear in mind that I do have admin rights to the box but I can't change anything as far as the network or domain goes. Even just an explanation of what's going on would be a big help as this goes against everything that I know to be 'pretty basic' about computer systems in general. I'm more familiar with Linux so Windows World is a little foreign to me.
Follow Up
Voiced my concerns about this at work. I was told, "Nobody knows about the drive$ thing so there's nothing to worry about." Followed Darth's solution and added that registry key. Now I'll wait and see if anyone gets alerted.
Source: (StackOverflow)
Can my landlord access the things on my personal router's network because he controls the upstream connection? For example: the DLNA on my NAS, a public file share on my NAS, or the media server running on my laptop?
My configuration: I have my own router and connected to it are a NAS (wired) and a laptop (wireless.) The INTERNET/WAN port on my router is plugged into a LAN port on my landlord's router. The INTERNET/WAN port on my landlord's router goes to the cable modem. I am the only one with access and the password to my router. I don't have access or the password to my neighbor's router or the cable modem.
Source: (StackOverflow)
I have a mapped network drive, on which I store some programs, one of which I've put in my startup folder.
Unfortunately, this program "does not have a valid digital signature", which means that every time I reboot, I get a security dialog, asking me whether to run it.
I would prefer not to have to copy this program to the local disk.
How can I disable this prompt?
Source: (StackOverflow)
Does anyone know of a third party (or even windows native) solution to this simple problem?
I want to map an internal network share on our windows server to a folder on each of the client machines in the network. I don't want to to use drive letters; I would just like to set up a folder on my C drive that is actually a Windows share. For example, C:\Data\Network Docs should actually point to \Server\SharedData.
Is this possible? Is there any tool that does it? All clients are using Windows XP and Windows 7.
Source: (StackOverflow)
When connecting to a server via Explorer (not a mapped network drive) even if the "Remember my credentials" check box is not selected, Windows remembers the password until you log out. Is there any way to switch user/password for a share without logging out and back in?
Source: (StackOverflow)
I'm familiar with the process of installing Guest Additions and sharing host folders with the guest, but is there a way to do the reverse?
I have an XP host and Ubuntu 10.10 guest, with VBox 4.0.2.
In other words, I'd like for the host to have direct access to (at least some of the) files inside the .vdi file.
Source: (StackOverflow)