smallseo.info

network-shares interview questions

Top network-shares frequently asked interview questions

Is there any way to prevent a Mac from creating dot underscore files?

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)

Can a mapped network drive be reconnected from the command line?

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:

  1. Type "start." to open explorer,
  2. Alt-D to focus the address bar,
  3. type the drive letter I want and press enter, and wait for it to display the drive contents,
  4. 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)

OS X: How to avoid having to re-connect to network share after NAS was turned off?

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)

Why is Notepad++ so slow when dealing with files stored on a network share?

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)

Turn off windows 7 message "could not reconnect to all network drives"

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)

How do I connect to a network share via the Windows Command Prompt?

Is there any way to connect to a network share via cmd.exe?


Source: (StackOverflow)

Action can't be completed - open in another program

I have two screens with two Explorer windows open. Both are showing different subfolders in the same network path.

I pick a folder on the left window that I'd like to move to the right window, I drag it across, and an alert pops up:

The action can't be completed because the folder or a file in it is open in another program.

This is probably just the file indexer or the thumbnail database or whatever. I don't care, I want to do it anyway. This happens literally every time I want to move or rename a file or folder on a network drive.

How do I fix this?


Source: (StackOverflow)

How can I scan the local network for connected devices? (Mac OS)

I'm basically looking for something like this but available on Mac.

I am trying to connect a new workstation to our wireless multifunction printer and I'm having a hell of a time getting the device to spit out an IP for me to connect to.

Is there a way I can scan the network somehow?

If it makes a difference, the new workstation is using Mac OS X 10.6.


Source: (StackOverflow)

Default username/password for accessing network shares in Windows 8?

I always had the same username and password on all my network devices (NAS, desktop PC, laptop) in my small home network. This allows me to access network shares of other devices without having to enter a username and password. The username in Windows 8 now is the prename of my hotmail account, which is not the same username as I use on the other machines.

Is there a way to define a default username and password to access network shares so that I do not always have to connect as another user explicitely?


Source: (StackOverflow)

How to share any folder without password in Windows 8/10 in a home network if a Microsoft account is involved?

My question is: How to set up file sharing correctly, in a home network, with Windows 8/10, so sharing any folder with "Everyone" (File Explorer->Right click on folder->Properties->Sharing->AdvancedSharing->Share this folder) actually shares the folder with everyone, without password, even with Microsoft accounts?

Before you answer, please read on, because the trivial solution does not work if Microsoft accounts are involved.

I have a home network, with Windows 8.1 and Windows 10 machines, all in the same Workgroup. No Homegroup. I want to be able to share individual folders on the network, by setting them to shared through File Explorer. In Windows 7 and Vista, I just go to Network and Sharing Center, enable file and printer sharing, disable password protected sharing, and it all works. In Windows 10 and Windows 8, the same still works, but only if both machines use local accounts. As soon as one of the machines - either the one accessing the files or the one sharing them - uses a Microsoft account, it is no longer possible to access any files or folders on the other machines. Specifically, if the machine with the Microsoft account tries to access the machine with the local account, it will prompt for a username and password, and access will fail unless username and password of an actual user on the target machine are provided. Changing the Microsoft account to a local account immediately fixes the problem, with no other configuration changes.

This problem is real, and I've reproduced it on several machines, had friends encounter the same problem, and I've found several reports of other users with the same issue, but no solution. The problem seems to be the same in Windows 8 and in Windows 10.

Successfully implemented workarounds (not solutions):

  1. Store the usernames/passwords to the other machines in the Credential Manager and give up the idea of sharing without password. Best use a common account for access*.
  2. Don't use Microsoft accounts.

Source: (StackOverflow)

How can I Map a Network Drive with Password so it stays mapped after a reboot?

I mapped a network drive to a location that needs a password. Now whenever my computer starts up, it tells me that it could not connect to that network drive because a password is needed.

How do I make set my computer to remember the password for that mapped network drive?

My PC is running Windows XP Professional


Source: (StackOverflow)

list network shares from command prompt

Is it possible to browse a network for shares from the Windows command prompt?

I want to map a drive to a network share (pushd), but I can't remember the exact name of the machine or share. Is there a way to browse the network to find the shares via the command prompt?

Background: my Windows install was corrupted after an update and nothing's working now. I haven't backed up in a month, and I'm trying to do one final backup before I wipe it clean.


Source: (StackOverflow)

Windows 10 computer can't connect to any other computer on the network

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.).


UPDATE:

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).


Source: (StackOverflow)

How to logon to a non-domain computer from one in a domain

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.


Source: (StackOverflow)

How can I share a printer on Windows 7 x64 with Windows XP x86?

I'm trying to share a printer that's on Windows 7 64-bit with Windows XP 32-bit.

I've tried:

  • 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 Sharing tab
  • Clicking Additional Drivers...
  • 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?

Source: (StackOverflow)