TekBytz

Tag: security

Connecting to a hidden administrative default share in Windows Vista

by 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

  1. You can create an explicit share of the required device.
  2. You can modify the registry to enable LocalAccountTokenFilterPolicy key.

Creating explicit share for the device:

  1. Open Explorer
  2. Choose the folder or drive
  3. Right click on the folder or drive and click on share
  4. 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.
  5. 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.

  1. In Run prompt type regedit to open registry editor
  2. Browse through the following sub key
    HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
  3. Create a new entry with the below information
    Key Name : LocalAccountTokenFilterPolicy
    Key Type : DWORD (32-bit)
    Key Value : 1
  4. 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.

1 Comment :, , , , more...

Reseting Windows 9x/2000/XP administrator password

by on Aug.30, 2008, under Windows

Forgetting things in life is more common, but some somethings you will not have any impact. Imagine you have forgot a windows administrator password. You are really into trouble. You can’t really find any one to make you to get into your system. But here is a way to reset it.

If you are the old version of windows the the problem is much simple. To reset a password in windows 98, there is nothing much complex since the there is not much tight security.

For Windows 9x

1. Boot the system in dos mode
2. Go the windows directory
3. Search for *.PWD file
4. Delete the *.PWD file.
5. Reboot it and now you are in with the blank password.

But on later versions of the windows the security features are made so complex that it involves some complex steps to reset your password in case you forget it.

For Windows 2000/XP

1. Get back you windows bootable CD. Boot it.

2. Proceed to the the screens until you get the option to a) install windows or b) repair windows

3. Press ‘R’ to repair windows and then choose the appropriate options until reboot.

4. Your machine will be back in windows GUI mode. You need to enter to the command prompt by pressing “Shit + F10”. This step differs for windows 2000 and XP.

  • For windows 2000 press “shift + F10” when you see the screen “Registering Components”
  • For windows XP press “shift + F10” when you see the screen “Installing devices”

5. Now you are in the command prompt. From here you need to invoke the control panel.

  • For Windows 2000, Type “control.exe” in command prompt
  • For Windows XP, Type “nusrmgr.cpl” in command prompt

6. Now you could be able to access control panel.
7. From there choose user management to reset your password.
8. Once done, close the control panel and allow the repair process to get completed.
9. Finally reboot your computer
10. Now you can be in with your new password.

Here is an alternate way too if you have a free distribution of Linux know as Knoppix. Here are the steps.

1. Download the free version of Linux from http://www.knoppix.org/
2. Download the a package to change the windows password from here
3. Install the package chntpw as below

Knoppix@ttyp1[knoppix]$ alien –to-tgz chntpw_.deb
Knoppix@ttyp1[knoppix]$ tar xvzf chntpw.tgz ./usr/sbin/chntpw
Knoppix@ttyp1[knoppix]$ mv ./usr/sbin/chntpw ./

4. Find the windows partition using the command

cat /etc/fstab

5. Mount the windows NTFS partition using the command

mount -o rw /dev/hdax /mnt/windows

    x – replaces with the numeric depending on the configuration

6. Change your directory where the SAM file is available

cd /mnt/windows/WINDOWS/system32/config

7. Run the command

chntpw -u administrator SAM system SECURITY

8. This will ask you to enter a new password for the administrator account.
9. Just hit enter so that blank password will be entered.
10. Write the changes when it prompts to do so.
11. Reboot your machine on your hard drive and log in to windows with blank password.

NB: The author is not responsible for any kind of misuse by the readers.

Leave a Comment :, , , , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!