Tag: network
Connecting to a hidden administrative default share in Windows Vista
by Frederick Tybalt on Oct.11, 2008, under Windows
In windows vista by default the hidden default shares like c$, ADMIN$, IPC$ and Print$ are disabled due to User Account Control (UAC) feature avoiding it to be connected in the network. So when you try to connect from other computers in the network you might possibly get the below errors.
Logon unsuccessful:
Windows is unable to log you on.
Make sure that your user name and password are correct.
You may get the below error when you try to connect using “Net Use” command:
System error 5
has occurred. Access is denied.
How to get rid of it?
There are 2 solution for this problem
- You can create an explicit share of the required device.
- You can modify the registry to enable LocalAccountTokenFilterPolicy key.
Creating explicit share for the device:
- Open Explorer
- Choose the folder or drive
- Right click on the folder or drive and click on share
- If you have password protected sharing enabled, select which users can access the shared folder and their permission level. To let all users have access, select Everyone in the list of users. By default, the permission level is “Reader.” Users who have this permission level cannot change files or create new files in the share. To let a user change files, change folders, create new files, and create new folders, use the “Co-owner” permission level.
If you have password protected sharing disabled, select the Guest account or the Everyone account. This is the same as simple sharing in Windows XP. - Click on share and then press OK
This method is safe and can be done by beginners.
Modify registry to enable LocalAccountTokenFilterPolicy Key:
Here is also an alternate which requires some expertize in the operating system. Here are the steps.
- In Run prompt type regedit to open registry editor
- Browse through the following sub key
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem - Create a new entry with the below information
Key Name : LocalAccountTokenFilterPolicy
Key Type : DWORD (32-bit)
Key Value : 1 - Exit registry editor.
To disable this option modify the registry key value to 0.
Warning: If you are trying out this method user need to have a knowledge on windows registry. If some of the keys are modified incorrectly it may cause a serious problem to the operation system for proper functioning. Backup registry before doing any changes.
Disconnecting a hidden remote connection
by Frederick Tybalt on Sep.21, 2008, under Windows
One fine morning I was surprised to see the error “Multiple connections to a server or shared resource by the same user using more than one user name are not allowed” when I was trying to connect a network drive. I verified for network connection in windows explorer but I could not find any connections. Here is a way to solve it.
1. Goto command prompt.
2. Type “NET USE” (with out codes) to view all the connections active or inactive.
Status Local Remote Network
-------------------------------------------------------------------------------
Unavailable M: \192.168.0.100Music Microsoft Windows Network
OK \192.168.0.103m$ Microsoft Windows Network
The command completed successfully.
3. Type “NET USE \<remote_resource_name>” (with out codes and replace <remote_resource_name> with the actual name) to display the complete details.
Local name Z:
Remote name \<remote_resource_name>
Resource type Disk
Status OK
# Opens 2
# Connections 1
The command completed successfully.
4. To disconnect this resource use the command without codes as “NET USE \<remote_resource_name> /DELETE
5. Now you are available to connect the remote resource.
Here are the other ways to disconnect through GUI if the connection is visible.
If the connection is mapped to the drive letter.
1. Open the Windows explorer
2. Goto Tools and choose the option Disconnect Network Drive
3. Choose the drive letter and click Disconnect.
If the connect is not mapped to the drive letter.
1. Right click on MyComputer
2. Choose Disconnect Network Drive and it display the all the resources connected
3. Choose the resource name or the drive letter and click OK