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?
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)?
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?
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?
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.
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.
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.
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?
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.
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?
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.
In Windows XP, there used to be a folder setting like "Do not cache thumbnails." I can't seem to find something similar for Windows Vista and Windows 7, and every folder on my network containing a photo or video continues to get littered with "Thumbs.db". I appreciate that caching thumbnails makes some sense, but I still would like to turn this off because I also value not having litter in my network folders.
What's the easiest/quickest way to solve this problem?
Update 1: Here's a link to Wikipedia's info about the Windows thumbnail cache.
Update 2: My solution is below and now includes a registry equivalent that you can save in a .REG file for simpler application to any of your Windows Vista or Windows 7 boxes.
Just upgraded my laptop to Windows 10. Everything seemed fine until I tried to connect to my Win7 desktop. Manually typing the name doesn't work (gives me
Unspecified Error (0x80004005)), and when I open the Network section in Windows Explorer it is not listed there. What is listed is two of the other computers on the network, neither of which it will let me connect to (same
Unspecified Error). All my computers (including the desktop) are functioning and on the network. They can all see each other, and if I turn on a share from my Win10 laptop then it can be connected to by the desktop. But for some reason, the Win10 machine can see only a few of the machines on the network and cannot connect to any of them, seen or unseen.
I thought at first it was the firewall, but no settings helped and even disabling it did nothing. I have made sure that all relevant computers have discovery turned on but that didn't change anything either. I can ping my desktop, both by IP and by name, but even after pinging I can't browse the drives or even see most of the PCs. By the way, this is impacting being able to connect to explicitly shared drives and to the implicit administrative shares (C$, etc.).
I realized that since I could ping the desktop that I could try connecting via IP address. That worked, and mysteriously fixed the problem of connecting by name. The Win10 laptop still won't "see" most of the network devices, but it now seems to be able to at least connect to them by name. No idea what's going on with it. I would still hope someone can weigh in with a proper fix for the network discovery (or whatever it is that's broken).
I've met a rather annoying problem that should be very simple, but I can't seem to figure it out. I have a work laptop that is part of a domain, so my username is
foobar\bob. I also have my home computer with no domain, just the username
bob. I'm trying to connect to a share on my home computer from my work computer. It's asking me for my username and password, which is
bob, but when I type in
bob it assumes I mean
foobar\bob, which of course doesn't work. I've tried to use
hostname\bob, but that doesn't seem to work either...
What can I do here?
Both computers are running Windows 7.
I'm trying to share a printer that's on Windows 7 64-bit with Windows XP 32-bit.
- Using the
Add Printer Wizard on XP
- Selecting network printer
- Browsing for the printer and selecting it from the list
- Attempting to browse manually for the drivers, I receive the error `Windows cannot locate a suitable printer driver. Contact your administrator for help locating and installing a suitable driver.
I would prefer to load the drivers on the Windows 7 PC, much like a print server. I've tried:
- Opening the printer properties
- Clicking the
- Checking the x86 box
- Attempting to add Windows XP x86 drivers, which generates the error
The specified location does not contain the driver for the requested processor architecture
For what it's worth, this is an HP P4014n and I can't run a network cable. I'm using the universal print drivers PCL6.
How does printer sharing work with 64-bit Windows 7 acting as a server for Windows XP 32-bit?
- What drivers do I need to install under the
Additional drivers... dialog?
- Are they XP drivers or Windows 7 drivers? Why?
- Do driver versions have to match? Why?
- Why does adding as a network printer and installing the XP drivers not work?
- Why does adding a local printer and installing whatever drivers I want work?
I just apt-getted (apt-got?) the latest software for my Ubuntu 9.10 linux box, and I noticed that samba was the included in the update.
After the install, the symlinks in my home directory no longer work when mounted as a drive in my linux box. They worked literally seconds before I did the update. All my normal directories work just fine. Viewing the directory listing on the command line, all the files, dirs & links have the exact same permissions, yet this is the error I get:
Location is not available
L:\LinkDir is not accessible.
Access is denied.
I looked on the forums, and i saw this option for the smb.conf
follow symlinks = yes
wide symlinks = yes
unix extensions = no
I put those in, but they had no effect. Has anyone had this problem yet?