To list all network shares use this command from Command Prompt:
To delete specific network share
net use /delete \\SERVER_IP\YOUR_SHARE
If you map “\\SERVER_IP\SHARE1” as drive letter X using “user1” and “password1”, then try to map “\\SERVER_IP\SHARE2” (a different share) as drive letter Y using the same “user1” and “password1”, and you click the “connect using different credentials” checkbox in the Map Network Drive dialog box and specify “user1” and “password1”, you will get this INCORRECT ERROR MESSAGE that says “The network folder specified is currently mapped using a different user name and password”.
I figured out that once you have mapped to “SERVER_IP” using those credentials, you can map to different shares on the same server without re-specifying the credentials. This is NOT CLEAR from the “Map Network Drives” dialog box, which leads to users (like me, and I’m a programmer by trade) trying to enter the credentials again and getting this incorrect error message.
If you want your PC with Windows 7 operating system to work as server then you definitely want to stop automatic rebooting after Windows Update install new patches.
To do this you need to do the following:
- Open the Registry Edit (WindowsKey + R, “regedit.exe“)
(Remember to be careful! DON’T change anything unless you know exactly what you’re doing!)
- Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU
Chances are that you’ll be missing these keys.
If keys WindowsUpdate\AU exist, go ahead to step 3
OTHERWISE, continue through these indented steps…
- Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows
- (Make sure the above key is highlighted and) go to the edit menu and choose New > Key
- Name the key WindowsUpdate
- Now, repeat the above steps, except highlight WindowsUpdate and name the next keyAU
- With WindowsUpdate\AU highlighted, create a new 32-bit DWORD calledNoAutoRebootWithLoggedOnUsers
- Right click on your newly created value and give it a value data of 1 (hexadecimal)
- Double check all the steps to make sure you did everything EXACTLY how I explained it
- Close Registry Editor
I faced small problem how to duplicate entire MongoDB database and I tried just to rename folder under data directory. So, instead of having my_database I just renamed it to my_new_database but it didn’t helped and when I used show collections it returned me an empty set.
I also tried to rename files inside data/my_database to my_new_database but this didn’t helped me either.
So, I finally looked into the documentation and found this command which copies the entire database:
db.copyDatabase("my_database", "my_new_database", "localhost")
jQuery Mobile is excellent framework and I was trying to figure out why postback of my web form is not working properly and I finally found out that jQuery Mobile use ajax in passing forms so you need to add parameter data-ajax=”false”. It is better to read documentation sometimes.
<form id="page_form" method="post" action="[your-url]" data-ajax="false">