Friday, 30 May 2014

Two "NTDS.dit" file available on a Domain Controller !!

            Active Directory data is stored in the Ntds.dit ESE database file. Two copies of Ntds.dit are present in separate locations on a given domain controller:

%SystemRoot%\NTDS\Ntds.dit    This file stores the database that is in use on the domain controller. It contains the values for the domain and a replica of the values for the forest (the Configuration container data).


%SystemRoot%\System32\Ntds.dit    This file is the distribution copy of the default directory that is used when you promote a Windows 2000 – based computer to a domain controller. The availability of this file allows you to run the Active Directory Installation Wizard (Dcpromo.exe) without your having to use the Windows 2000 Server operating system CD. During the promotion process, Ntds.dit is copied from the %SystemRoot%\System32 directory into the %SystemRoot%\NTDS directory. Active Directory is then started from this new copy of the file, and replication updates the file from other domain controllers.

Tool to get rid of unwanted software's which shows "Access Denied" while removal

Revo Uninstaller Pro

Revo Uninstaller Pro helps you to uninstall software and remove unwanted programs installed on your computer even if you have problems uninstalling and cannot uninstall them from "Windows Programs and Features (Add or Remove Programs)" control panel applet.

Even delete folders which prompts "Access is denied" (Having appropriate permissions).


Check version of Windows Update Agent

How to check which version of the Windows Update Agent is installed

1. Open the %systemroot%\system32 folder. %systemroot% is the folder in which Windows is installed. For example, the %systemroot% folder is C:\Windows.
2. Right-click Wuaueng.dll, and then click Properties.
3. Click the Details tab, and then locate the file version number.


Note: The latest version of the Windows Update Agent for Windows 8.1 is 7.9.9600.16422. The latest version of the Windows Update Agent for Windows 8 is 7.8.9200.16693. The latest version of the Windows Update Agent for Windows 7, Windows Vista, and Windows XP is 7.6.7600.256.

Monday, 3 March 2014

LAN connection disconnects when idle after locking screen


Every time you have to disable and enable the Network Adapter for it to work or to run Automatic Troubleshooter.

To get rid of this:

Goto Control Panel > Network and Internet > Network Connections

1. Right click on the Network Adapter and open properties














2. Click on Configure








3. Goto Power Management tab











4. Uncheck the option “Allow the computer to turn off this device to save power”









5. Click OK

Friday, 28 February 2014

Disable Windows Hibernate function

Disable Windows Hibernate function/ Delete hiberfil.sys
Windows uses the file hiberfil.sys, stored in the root folder of your hard disk (usually in C:\), to hold your hibernation data i.e. snap shot of your current session (all your running programs, open files, etc.).

It is normally of the same size as the amount of installed memory (RAM).

If you have 4 GB of RAM, You’ll see a 4 GB hiberfil.sys file on your hard disk that Windows won’t let you delete. Windows creates the hiberfil.sys file automatically when you turn on the Hibernate feature.

If you're running low on hard drive space and never use the Hibernate feature, hiberfil.sys is unnecessarily eating up your hard disk space.

The easy way to disable Hibernate, and thus removing hiberfil.sys, on Windows Vista and Windows 7, is through the command prompt.

Below are the steps:
1. Open a command prompt with administrative privileges.  

    







2. Type the command "powercfg -h off" (without semicolon) and hit Enter.





                     3. Exit the command prompt.

Re-enable Windows Hibernate
To turn the Hibernate function back on, simply enter "powercfg -h on" at a command prompt with administrative privileges.

Monday, 24 September 2012

Block incoming attacks

 Limit your exposure to the outside world by blocking incoming connections.

Click on Start > Run > Type in there "ncpa.cpl" without colons > Press Enter

Right click on "Local Area Network" And go to "Properties",In the scroll box, Click on "Internet Protocol (IP/TCP)" and then click on the "Properties" button, In the new window, Click on the "Advanced.." button, Then in the other new window go to the "Options" tab, Click on "TCP/IP Filtering" and hit "Properties", Check off "Enable TCP/IP filtering (All adapters)" next In the Above "TCP Ports" Click on the Radio button "Permit Only" and then add in the ports that you want people to be able to access... If you're running a web server add in 80, If you're running an FTP server add in 21... And so on... Then hit "OK" And close all the other windows, And reboot when it asks you too.

This way you can close the ports that you do not need to be open to the outside world.  An alternative to this tweak could be running a firewall or enabling windows built in firewall.  Please note that in order for other computers to connect to you, for example sending a file over AOL Instant Messenger or using Windows Messenger to send a file, make sure that the required port is not blocked on your system.  Otherwise, nothing will go through.


Wednesday, 12 September 2012

Lock Computer when Idle

Go into c:\windows and create a new shortcut.

for the path of what you want the shortcut to be, paste this without colons...

"%windir%\System32\rundll32.exe user32.dll,LockWorkStation"

click next

rename it (ex. sysdll) make it sound important, because it is after all going to make your PC more secure.

click finish

now goto control panel>scheduled tasks

double click add scheduled task

click next

at the next screen, click browse

browse to your new shortcut... (ex. c:\windows\sysdll.ink)

select it

pick daily and then click next

click next

type in a password for your scheduled task
confirm

click next

click finish

now double click on the new scheduled task you just made

click the schedule tab

under scedule task: select When Idle

enter in how long you want your computer to go before it gets locked

click ok


Its dONE::.......NICE TRICK to get rid of screensaver password