Archive | Windows RSS feed for this section

Configuring Volume and Folder Quotas in Windows Server 2003 R2

19 Dec

File Server Resource Manager was first introduced in Windows Server 2003 R2, for configuring volume and folder quotas.

In order to install File Server Resource Manager, go to Control Panel – Add/Remove Windows Components – Management and Monitoring Tools – File Server Resource Manager

File Server Resource Manager Windows 2003 R2

(more…)

IIS 6: Increase outbound TCP connections

21 Oct

IIS 6 has a default limit for the outbound TCP connections. It limits the number of outbound sockets that can be created. This limit is controlled with MaxUserPort in the registry.

(more…)

Install IIS on Server 2008

19 Oct

The following steps will help you to install IIS on Windows Server 2008 R2.

1. Open Control Panel and click on “Turn Windows Features on or off”
iis-7-setup-step-01
(more…)

Change Profile Path in Windows XP

23 Nov

Windows XP

Browse to this registry path on the target machine:

HKEY_LOCAL_MACHINE \ SOFTWARE\ Microsoft\ Windows NT \ CurrentVersion \ ProfileList

Now you have to identify the SID corresponding to the account you want to change the profile path. (more…)

HTTP Error 401.1 Unauthorized Access is denied due to invalid credentials

7 Apr

401 Unauthorized

In IIS 6, when you configure the applications to work with integrated windows authentication, sometimes you get the following error:

HTTP Error 401.1 Unauthorized Access is denied due to invalid credentials

In order to solve this issue, proceed with the following:

  • run cmd
  • go to: C:\Inetpub\Adminscripts
  • Check if NtAuthenticationProviders metabase property is set to NTLM
  • Type: “cscript adsutil.vbs get w3svc/NTAuthenticationProviders” & enter
  • If you get the message: “The parameter “ntauthenticationproviders” is not set at this node.” proceed
  • Type: cscript adsutil.vbs set w3svc/NTAuthenticationProviders “NTLM” & enter
  • A sample from a machine – click for larger

HTTP Error 401.1 Unauthorized Access

Certification Authority Renewal

24 Mar

When you setup the Certification Authority on a Windows server, a certificate for the CA is created, which will be expired after 5 years (default). You can extend the CA’s life beyond the end date of its original certificate. You can renew the CA with the following command:

certutil -renewCert ReuseKeys (renews the CA with the existing key pair)

or

certutil -renewCert (renews the CA with a new key pair)


Windows 7 Beta with mp3 bug

19 Feb

Many users (using Windows 7 beta build 7000), reported a bug in Windows Media Player 12, which cause the corruption of MP3 files. Microsoft confirms this bug and releases an official patch for fixing this issue. With this update, Microsoft includes some instructions about installing Windows 7 beta. Basically they tell you to backup your mp3 files before installing Windows 7 beta and the install the KB961367 update (or make them read-only).

Uninstall McAfee Common Management Agent

15 Feb

Follow these steps in order to uninstall and reinstall the Common Management Agent

  • Run regedit
  • Locate [HKEY_LOCAL_MACHINE\SOFTWARE\Network Associates\TVD\Shared Components\Framework]
  • Locate Data Path and Installed Path and take a not of their data.
  • Stop McAfee Framework Service
  • Using the Installed Path, run the following

“C:\Program Files\Network Associates\Common Framework\FrmInst.exe” /forceuninstall

  • Restart the system and confirm that the following has been deleted

[HKEY_LOCAL_MACHINE\SOFTWARE\Network Associates\TVD\Shared Components\Framework]

  • Confirm that the directories in the Installed Path and Data Path have been deleted.

Nou you can reinstall the Framework Service with the following command:

FramePkg.exe /Install=agent /ForceInstall

Note: Get the latest FramePkg.exe from your EPO server.

Windows Server 2003 Enterprise Edition SP2 Memory Issue

8 Feb

When you upgrade from a Windows Server 2003 R2 Standard SP2 to Windows Server 2003 R2 Enterprise Edition SP2 you may have a problem with memory. In case you have more than 4GB RAM on the machine (my situation was with 8GB) you have to do the following:

Locate boot.ini (it should be on the root of C:\ drive)

Under [operating systems] find the entry of Windows (it will be something like multi(0)disk(0)……=”Windows Server 2003, Enterprise” /noexecute=optout / fastdetect

and add

“/PAE” at the end

So now you will have

multi(0)disk(0)…..=”Windows Server 2003, Enterprise” /noexecute=optout /fastdetect /PAE

Restart the machine and now you ‘ll see the correct memory size.

Terminal Services Sessions Are Full

3 Feb

You are trying to connect on a Windows 2000 Standalone server and the terminal service ssessions are full.

  • Connect to a machine on the same subnet of the target machine and make sure you have administrative privileges.
  • Run cmd.exe
  • Enter the following command: qwinsta /server:192.168.1.3 (IP address of the target server)
  • The above will show you the users that hold the sessions of terminal services: (You will get a result like the following)

terminal services sessions in windows 2000

On this example the Administrator is connected from console and also holds another session of TS.
Also user1 is connected through TS.
In order to disconnect one of these users enter the following command:
rwinsta /server:192.168.1.3 3 (IP address of the target server and ID number)
This command will disconnect user user1.

Display Hidden Devices in Windows

29 Jan

We know that when you install a driver in Windows it remains there until you uninstall it. You can follow this procedure in order to uninstall drivers for hardware that no longer exists on the machine:

  • open cmd
  • run “set devmgr_show_nonpresent_devices=1″
  • run “start devmgmt.msc”
  • Click Show Hidden devices from the View menu
  • You will now see all the installed drivers on your machine, even those that your system no longer uses them.
  • You can now uninstall them.

Microsoft Update Services SUS

28 Jan

By default when a pc / server connects to an SUS server, an susclientid is created on the pc / server. In case that you clone that pc / server, the same susclientid will exist on the cloned pc / server and the SUS server will only have one entry of this pc / server. In order to change it on the new pc / server you have to follow the following procedure:

1. Stop Automatic Updates service
2. run regedit and go to HLM/Software/Microsoft/Windows/CurrentVersion/WindowsUpdate
3. on the right site of Registry Editor delete SusClientId and SusclientidValidation
4. Start Automatic Updates service
5. open cmd and run: wuauclt /detectnow

Now a new susclientid will be created on the machine and in a few seconds it will be created on the SUS machine.
Tested on Windows XP SP3 for the moment.

Stop SOPA!

SOPA breaks our internet freedom!
Any site can be shut down whether or not we've done anything wrong.

Stop SOPA!