Friday, October 14, 2011

invalid logical drive configuration has been detected

I put new hard drives into your HP Storageworks server.
I tried to reset to factory default using the supplied DVD, and I got " invalid logical drive configuration has been detected"

After few hours of scratching my head, I just found out that I SHOULD NOT CONFIGURE ANY LOGICAL DRIVE IN THE ARRAY CONTROLLER SETTINGS.

Just put in the drive, choose "continue" when the array gives you the error message saying the the drive is not configured bla bla bla.., and let the DVD runs.
The DVD will configure the disks

Hopefully it saves your time...


.

Thursday, July 21, 2011

Remote Desktop to Console or Actual Screen

if you need to do remote desktop to a server/PC, the fastest was is to use command line. there are two versions of the command, depending to your OS version.
you could try any of these 2:

1. mstsc /console
2. mstsc /admin


.

Wednesday, June 1, 2011

file association problem in Windows 7

somehow you click on command prompt link, and it runs something else, for example internet explorer.
You desktop is full of IE opening by itself and tries to save a file, even though you did nothing..

Yes, you might experience file association problem in your windows 7.
To correct it, you need to open the registry..
But is your problem is EXE file association, then executing regedit from the command prompt would be a problem since you cannot even run any exe files..

go to this website, and download the registry files..
http://www.winhelponline.com/blog/file-asso-fixes-for-windows-7/

Save it using any other computer, unzip it, then copy the *.reg file into your PC/notebook using thumbdrives or CD.

Back at your PC, reboot in save mode, and double click on the file to modify the registry..

afterwards, reboot your machine.

The problem should hopefully go away..


I hope this helps..

.

Wednesday, May 18, 2011

How to remove Security Shield from Windows 7

Just got a client that got the Security Shield popping out in his Windows 7..
after googling for a while, looks like it is a variation of Security Tool..
Quite an annoying malware..

I tried to kill the process via task manager, but the ware immediately killed my taskman everytime I run it..

My way of getting rid of it was:

1. run command prompt as an admin.
1.1 execute "tasklist", and get the name of the progam running. look for a program which uses random letter as its name such as "fddrogfd.exe" or similar...

1.2 execute "taskkill /F /IM program-name . substitute "program-name" with the program that you suspect in previous steps.. if the program disappears from the desktop, then it might be culprit..

2. run regedit and remove any instances of the program
2.1 search for the file as you found in 1.1
2.2 be careful not to delete system files..

3. remove the file
3.1 search for the file in you hard drive.
3.2 delete or move the file somewhere else..


note: you might got internet explorer popping out.. using command prompt, run "taskkill /F /IM iexplore* to kill them...


hope this helps...

Friday, February 25, 2011

active directory computers is empty?. This is how you could view computer group in domain AD tree.

.
The computer is there but it is not shown in the AD,

at the AD, click "View", and select "filter option"






Then "tick" Computer and "OK"




hope this helps....

Monday, February 14, 2011

sybase howto group result by date of the day or by month

ok..

you got a table name UserLogins with these columns:
LoginTime (type datetime) , Department(type int), LoginID (type varchar (12))

you want to count how many logins for each day for the whole month of January.

I will do them this way:

select convert(char(10),LoginTime,102),count(*) from UserLogins
where LoginTime>="1 Jan 2011" and LoginTime<"1 Feb 2011"
group by convert(char(10),LoginTime,102)

.................................

if you want to group by month for the year 2009, and group them by each departments then you could do:

select convert(char(7),LoginTime,102),Department,count(*) from UserLogins
where LoginTime>="1 Jan 2009" and LoginTime<"1 Jan 2010"
group by convert(char(7),LoginTime,102),Department

Hope you get the idea...


.

Tuesday, May 4, 2010

disable or remove weather from HTC Sense in windows based phones

.
Tired of HTC Sense animated weather integrated with its clock, and you want to remove or disable it?.

I got this figured out while fiddling the HTC Touch Diamond2

I did not subscribe to the mobile fixed rate data plan, so having the weather information just eats up my credit limit
After half a day browsing the internet for the answer, I got if from here:


The cheats is that you should not "enable my location"

First.
remove all "Location" from the weather setting.
Tap on the weather icon at the menu, and tap "menu"
remove all location from there.

Second.
still on the "weather" settings, tap menu and then tap settings.
untick "download data automatically"

Third
Tap on the menu and look at the bottom of the list
Ensure that you not "enable my location"


Fourth.
remove all "City" from clock
Tap on the clock itself, then select "My Location".
if there are lists of other cities, then you proceed as below, else go to next step.
Tap on the menu at the bottom of the screen.
tap "Remove cities". if there is no such menu, only "24 hrs" and other menu, then you had removed all cities.
select all cities to remove.
tap 'done'

You are done, and the weather should not be there..


this apply to HTC Touch Diamond2 windows phones. I do not know if it also applies to other HTC models. the steps might vary.

.