Admins eHow SysAdmin Tips & Tricks

May 6, 2016

Intel XHCI USB 3.0 drivers for Windows 10

Filed under: Windows — Tags: , , , — admin @ 11:07 pm

Intel has not released official XHCI USB 3.0 drivers for Windows 10 and the one that comes with Windows 10 by default is a generic one provided by MS and buggy. Here you can check intel website : https://downloadcenter.intel.com/product/65855/Intel-USB-3-0-eXtensible-Host-Controller-Driver

Fortunately some people have managed to mod the driver provided by Intel for Windows 7 to Windows 10 : http://www.win-raid.com/t834f25-USB-Drivers-original-and-modded.html

May 5, 2016

Convert whole directory video/audio files using ffmpeg in Windows

Filed under: Windows — Tags: , , , — admin @ 9:05 pm

The following command converts all AVI files in a directory to H264 480p using ffmpeg :

FOR /F "tokens=*" %G IN ('dir /b *.avi') DO ffmpeg -i "%G" -codec:v libx264 -preset slow -b:v 500k -maxrate 500k -bufsize 1000k -vf scale=-1:480 -threads 0 -codec:a aac -b:a 128k "%~nG.mp4"

July 11, 2015

Fix Wireless lan lag/spike in Windows 7/8

Filed under: Windows — Tags: , , , , , , — admin @ 12:25 pm

If you are experiencing regular latency spikes on your WLAN in widows 7/8, it could be because of windows “Auto configuration logic”. the solution is to disable it by following command :

netsh wlan set autoconfig enabled=no interface="NAME_OF_WLAN_INTERFACE"

Replace NAME_OF_WLAN_INTERFACE with your own WLAN interface name.

March 22, 2015

Linux dig utility for Windows x64

Filed under: dns,General,linux,Windows — Tags: , , , — admin @ 5:00 pm

I have created an installer for Linux DNS dig utility for Windows x64. it is extracted from BIND 9.10.2.x64.
It installs dig into system32 folder of Windows so it is already included in PATH and can be invoked from anywhere in command prompt.

Download : DIG_9.10.2.x64

March 11, 2012

Realtime mouse position monitor tool

Filed under: Windows — Tags: , , , , , , — admin @ 5:26 pm

Sometimes very simple tools can not be found on Internet, for a project I needed to monitor mouse coordinates in real time, but I couldnt find anything useful on Internet so I wrote a small utility which displays mouse position (X,Y) on screen. It needs .net framework to be installed on your computer to work.
You can download it here : MousePos

March 28, 2011

Windows 7 32 bit PAE Patch

Filed under: Windows — Tags: , , , , , , , — admin @ 2:19 pm

A lot of people still prefer to use 32 bit version of windows 7 , but 32 bit version of windows doesn’t allow you to use more than 3GB ( 4GB theoretically , 3GB practically ) of your RAM.
In fact there is a workaround for this problem on 32 bit OSes , it is know as PAE ( Physical Address Extension ) which already exists on Windows too but Microsoft has disabled it on purpose, my guess is to push 64 bit OS and some incompatibility problems with some drivers.

By the way for the people who are still in love with 32 bit windows but have more than 3GB of RAM installed on their PC. they can use the PAE patch for windows 7.

it is tested on Windows Vista SP2, Windows 7 SP0 and Windows 7 SP1.

Download it here : PatchPae

After you install it , it is how it looks like :

and resource monitor :

March 26, 2011

Mac or Windows ? What is the right choice ?

Filed under: Windows — Tags: , , , — admin @ 7:33 am

People who know me closely know I am not a fan of Microsoft and its products at all , as a professional IT system administrator , I have been against Microsoft for my whole life and supported open source operating systems like Linux. You know the big fight between opensource softwares and Microsoft softwares has been going on for a long time. if you don’t remember anything , I can remind you of FireFox just as an example, competing against IE.

Until 5 months ago, I had almost tried every single OS for my desktop usage except Mac OS X , so I decided to go with Apple this time and got an Intel iMac with latest version of Mac OS X on it.
As you can see in the following image , it is very classy like other Apple appliances.

From hardware point of view I can say Apple has done a brilliant job.
As a professional user, it was not hard for me to get started using mac. I learned very fast how to install and use applications in Mac.
Apple has tried to invent its own way usage of operating system , for example window system buttons ( minimize , maximize , close ) are located in top left side of window except right side ! or when you press enter on a file, it renames the file instead of executing the file !
If you want my idea it is stupid , it is very clear that apple just wants to be different. even in a non sense way ! who does expect the Enter key to be used for renaming files !? there are many many differences too , but I bore with them , I said myself it is a different OS , so there is no reason for it to operate like others , I should get used to it.
But days after days , I found out how limiting is using Mac OS X. A lot of applications are missing and poorly developed for Mac OS X. you only have a few options to choose from.
I guess if I had used Mac from the first day of my computer life , I was a chef now instead of system administrator ! I don’t want to live in Apple’s jail named Mac OS X ! thats what Apple does to you. thats why many people try to jail break their iPhones 😀
Hopefully my iMac was Intel based and I installed windows 7 on it and I am posting this writing from windows now.
I am so glad that I am back to windows 🙂
but with the money which I paid for my iMac , I could buy a PC 16x more powerful and  faster than this.

Conclusion :

If you are a rich guy and your usage of PC is browsing the web , chatting with friends and watching movies. then Mac could be an option for you.
But if price matters to you or you are a professional user , forget about Mac , it is just a waste money. buy or make your own powerful PC yourself and install windows on it and enjoy it.

July 20, 2010

Configure auto time sync on windows 2008 r2

Filed under: Windows — Tags: , , , , — admin @ 2:48 pm

Run the following commands as admin in command prompt :

W32tm /config /syncfromflags:manual /manualpeerlist:"time.nist.gov"
W32tm /config /reliable:yes
W32tm /config /update
W32tm /resync
Net stop w32time
Net start w32time

May 11, 2010

“ASN1 bad tag value met” error when processing a certificate request in IIS 7

Filed under: IIS,Windows — Tags: , , , , , — admin @ 12:48 pm

We’ve seen a few instances of the following error message on 64 bit servers when IIS 7.0 is attempting to process a pending certificate request:

Complete Certificate Request
There was an error while performing this operation.
Details:
CertEnroll::CX509Enrollment::p_InstallResponse: ASN1 bad tag value met. 0x8009310b (ASN: 267)

This error seems to mean that the private key (created when the certificate request was made) does not match the public key (the .crt file). The keypair is not successfully joined into a working SSL certificate.
So far this behavior seems most common with .crt files (instead of the .cer files many of us are more used to) issued by one specific Certification Authority—which will remain nameless here.
The error shows up after reaching the point in the process where you ‘specify certificate authority response’ and guide the wizard to the ‘File name containing the certification authority’s response…’ (the .crt file).

Solution :
Begin by importing the .crt file into the Personal certificate store for the local computer. (Start button > Run: MMC > File Menu > Add/Remove Snap-in > highlight Certificates snap-in and click the ADD button > select Computer Account and click Finish > Click OK > drill into Personal > Certificates > right-click and select All Tasks > select Import > guide to the .crt file.) At this point your certificate is basically a half-certificate. It is still missing its private key.
Second, double-click the crt certificate file you just imported, select the Details tab, scroll all the way down to Thumbprint and highlight Thumbprint. In the lower pane, block and copy all the letters of the thumbprint. Paste the thumbprint characters into notepad. Open the command prompt and run this command: Certutil /?
The command you’ll want to run is:

certutil -repairstore my "{insert all of the thumbprint characters here}"

When you see the response: “CertUtil: -repairstore command completed successfully” you should have a private key associated with the .crt file in the personal store. There should no longer be any need to run through the “Complete Certificate Request…” wizard. The certificate should show up in the IIS Manager’s list of server certificates at this point. It should also be available in the SSL Certificates drop-down list when attempting to edit the https binding for a website.

Source

April 20, 2010

Older Posts »

Powered by WordPress