Skip navigation

Usually we access different networks in our Local Network in the office. Not only local networks, but even web sites and programs that stores our login credentials. For the easy access sake, we usually select the “Save Password” thing so we can access to that network easily the next time we visited it without prompting to enter another username and password.

But what if you have the need to clear these kinds of things, lets say, if there is some changes on the access level that needs to change your restriction. How can we reset it to prompt its Username/Password window again? It’s easy! Just do this step below and you’ll be entering the new username and password in no time.

  • Click START
  • Go to RUN
  • Copy and paste this text in the textbox without the parenthesis (rundll32.exe keymgr.dll, KRShowKeyMgr)
  • Click Ok

You should already saw this picture below. Click on the address that you wanted to edit or delete. Or you can manually add another logon credentials in this window. Goodluck! 🙂

Username and password

Username and password

 

It came up to my attention that my hard disk is nearly out of space so i need to check up my unused files and delete it permanently so i can save some space. Then after setting my folder options to see all things that are hidden, I have found out that there is a file named “hiberfil.sys” in my C: drive that took up 2gb of my hard disk space. Until i researched, what does “hiberfil.sys” do?

Hiberfil.sys “is the support file for the hibernation feature in Windows. When your system goes into hibernation, Windows writes a complete copy of RAM to the file hiberfil.sys.” – http://ask-leo.com

So basically, you will be needing this file if you are fond of using the hibernation feature of Windows. In my case, im not… so, here’s what i’ve did.

cmd

Accessing the command prompt as admin

* Click Start;
* now find your command prompt (cmd.exe) on your list of programs;
* and you must run it as the administrator. (In my case, i was the administrator, BUT still as a USER on my system) so i need to right click the cmd.exe and select Run as administrator;
* (or if you are the admin, you could just type the cmd in the RUN)

* while you are on the cmd prompt window, just type in “powercfg.exe -h off” (without the quotes) and click enter.
* the effect cannot be seen until you restart your system. After you have restarted, the hiberfil.sys will be gone and olah! free spaces for your drive c!

If you are wondering where the hiberfil.sys is located, there is another system file that is as BIG as much as hiberfil.sys right? It is the pagefile.sys..

Well to describe what is a pagefile.sys is, taken from Ask-leo.com – “Pagefile.sys is the Windows paging file, also known as the file that Windows uses as Virtual Memory. Virtual Memory is simply disk space that Windows uses when it runs out of physical memory or RAM.”

It means that if your PC has no virtual memory, PC applications that requires more memory than your actual memory have installed, they will just crash and fail.. Well, I don’t have any complaints on what virtual memory does to my system since it HELPS.. so i will leave this at ease. (Don’t wanna crash my pc applications just not having a virtual memory..)  🙂

First of all i would like to thanks to this blog ( http://www.catswhocode.com/blog/10-life-saving-php-snippets ) for giving this very nice php snippets info to keep. (w/c took me to other php site codes to ponder)  I am not a hardcoder of php so i would like to keep this one for my future references. Now, time to go through my notes…

function generatePassword($length=9, $strength=0) {
$vowels = ‘aeuy’;
$consonants = ‘bdghjmnpqrstvz’;
if ($strength >= 1) {
$consonants .= ‘BDGHJLMNPQRSTVWXZ’;
}
if ($strength >= 2) {
$vowels .= “AEUY”;
}
if ($strength >= 4) {
$consonants .= ‘23456789’;
}
if ($strength >= 8 ) {
$vowels .= ‘@#$%’;
}

$password = ”;
$alt = time() % 2;
for ($i = 0; $i < $length; $i++) {
if ($alt == 1) {
$password .= $consonants[(rand() % strlen($consonants))];
$alt = 0;
} else {
$password .= $vowels[(rand() % strlen($vowels))];
$alt = 1;
}
}
return $password;
}

function age($date){
$year_diff = ”;
$time = strtotime($date);
if(FALSE === $time){
return ”;
}

$date = date(‘Y-m-d’, $time);
list($year,$month,$day) = explode(“-“,$date);
$year_diff = date(“Y”) – $year;
$month_diff = date(“m”) – $month;
$day_diff = date(“d”) – $day;
if ($day_diff < 0 || $month_diff < 0) $year_diff–;

return $year_diff;
}

header(‘Content-type: text/css’);
ob_start(“compress”);
function compress($buffer) {
/* remove comments */
$buffer = preg_replace(‘!/\*[^*]*\*+([^/][^*]*\*+)*/!’, ”, $buffer);
/* remove tabs, spaces, newlines, etc. */
$buffer = str_replace(array(“\r\n”, “\r”, “\n”, “\t”, ‘  ‘, ‘    ‘, ‘    ‘), ”, $buffer);
return $buffer;
}

/* your css files */
include(‘master.css’);
include(‘typography.css’);
include(‘grid.css’);
include(‘print.css’);
include(‘handheld.css’);

ob_end_flush();

function maintenance($mode = FALSE){
if($mode){
if(basename($_SERVER[‘SCRIPT_FILENAME’]) != ‘maintenance.php’){
header(“Location: http://example.com/maintenance.php&#8221;);
exit;
}
}else{
if(basename($_SERVER[‘SCRIPT_FILENAME’]) == ‘maintenance.php’){
header(“Location: http://example.com/&#8221;);
exit;
}
}
}

  • HIGHLIGHT SPECIFIC WORDS IN A PHRASE – Sometimes it can be really usefull for a visitor to have the terms he serached for highlighted. The following snippet is using a simple regular expression to find words in a phrase and highlight them.
  • http://www.phpsnippets.info/highlights-words-in-a-phrase

function highlight($sString, $aWords) {
if (!is_array ($aWords) || empty ($aWords) || !is_string ($sString)) {
return false;
}

$sWords = implode (‘|’, $aWords);
return preg_replace (‘@\b(‘.$sWords.’)\b@si’, ‘<strong style=”background-color:yellow”>$1</strong>’, $sString);
}

Well so far these are the snippets that i needed most and I wanna keep on my blog. And If you guys need more of the codes then you can just click on the links above for more of it. 🙂

Using Group Policy Editor – for Windows XP Professional

* Click Start, Run, type gpedit.msc and click OK.

* The Navigate to this location:

Click on:

> User Configuration

> Administrative Templates

> System

> Ctrl+Alt+Delete Options

> Remove Task Manager

* Then double click the Remove Task Manager in the choices, and select the option (ENABLE)

* Click Ok. Now Try Right Clicking in the Windows Taskbar and see if the ‘Task Manager’ is grayed. If it is grayed and not clickable then good job. 🙂

Have you experience using a computer then suddenly a blue screen appears with various texts, including a sentence that says physical dumping of memory.. and such? This error only appears at computers running in a Windows environment. Tech people usually call this the “BLUE SCREEN OF DEATH” because when the error occurs, the display will turn blue, the PC will freeze and will require rebooting. Making you lose any unsaved work. Your PC could be suffering from RAM problems or registry errors.

 

Prescription:

–          For the employees who are working in a company, call your IT support. They work great on these. 🙂

–          Run a full scan to check for any conflicts in your PC. Corruption of your registry is a possible reason.

–          Regular defragging and reformatting can also help in preventing this from occurring.

–          You might want to try to use a tool called ‘registry cleaner’ to go through your system and fix all the problems that are in there.

–          For individuals at home, before taking you computer to the computer technician, take note of the texts on the screen and browse the Net for other possible solutions.

Yes! The Philippine E-Journals is up and running. Philippine E-Journals is a collection of academic journals that comes from different universities/colleges in the Philippines.

Check out this site for more info:  http://www.ejournals.ph

Introduction:

The Philippine E-Journals is an aggregation of academic journals that is made accessible globally through a single Web-based platform. It is hosted by C&E Publishing, Inc., a premier educational publisher in the Philippines and a leader in the distribution of integrated information-based solutions which include e-learning products, library automation and interactive media systems, and online library resources containing databases, e-books, and e-journals.

Through this platform, C&E and the participating academic institutions and professional organizations aim to:

  • Promote the research works done by Filipino scholars;
  • Improve the online visibility and readership of the Philippines’ academic journals in the worldwide research community; and
  • Offer electronic publishing as an alternative, cost-efficient method of supporting and promoting scholarly publications done by Filipinos.

– Open the Registry by typing regedit in the RUN
– Then search/go to HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer
– Locate the registry entry “DisableMSI” (dword)
– You can create(if there is no entry) or modify(if “disablemsi” exist) dword called “DisableMSI”

1
2
– Set the value to; 0 (all enable installation); 1 (default-admin only-enable installation); 2 (disable installation)
-Set to Hexadecimal and click Ok.
– Restart Windows.

In this section explains if you are making a website and you need a code for html to work with a pop-up html window with specific length and width.

CODE IN HTML

*this will be placed inside the html you are working on*
<script type=”text/javascript”>
//Insert this code inside the javascript
function popup(url) {
newwindow=window.open(url,’name’,’height=600,width=800′);
if (window.focus) {newwindow.focus()}
return false;

}
</script>

*Then this is the code for the link*
<a href=”samplepopup.html” onclick=”return popup(‘samplepopup.html’)”>This is the Pop-up</a>

In this section explains if you are making a website and you need a code for a flash button to work with a pop-up html window with specific length and width.

CODE IN FLASH

*this will be the code inside the flash button*
on (release) {
getURL (“javascript:openNewWindow(‘samplepopup.html’,’thewin’,’height=600,width=800,toolbar=no,scrollbars=no’);”);
}

*html code* *where the flash object is embeded*
<script language=”JavaScript”>
//Insert this code inside the javascript
function openNewWindow(URLtoOpen, windowName, windowFeatures) { newWindow=window.open(URLtoOpen, windowName, windowFeatures); }
</script>

*inside html-body tag*

<EMBED src=”samplepopup.swf” quality=high bgcolor=#FFFFFF WIDTH=800 HEIGHT=500 swLiveConnect=true name=samplepopup.swf TYPE=”application/x-shockwave-flash” PLUGINSPAGE=”http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash”></EMBED&gt;

take note: the width and height of the object is up to you to decide on what will you be using.


Recently my laptop has received numerous threats of virus coming from our office network called WIN32Conficker.A worm and some of its aliases is given below;

Win32/Conficker.A (Microsoft), Crypt.AVL (AVG), Mal/Conficker-A (Sophos), Trojan.Win32.Pakes.lxf (F-Secure), Trojan.Win32.Pakes.lxf (Kaspersky), W32.Downadup (Symantec), Worm:Win32/Conficker.B (Microsoft), WORM_DOWNAD.A (Trend Micro)

I was shocked and worriedly thinking, “has my laptop has been infected?” I rushly looked for any solutions in the net about the said virus and some solutions. I’ve carefully red in the section of mcafee antivirus about the virus characteristics and how dangerous it is:

Quoted from Mcafee:

Virus Characteristics
When executed, the worm copies itself using a random name to the %Sysdir% folder.
(Where %Sysdir% is the Windows system folder; e.g. C:\Windows\System32)
It modifies the following registry key to create a randomly-named service on the affected syetem:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\{random}\Parameters\”ServiceDll” = “Path to worm”
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\{random}\”ImagePath” = %SystemRoot%\system32\svchost.exe -k netsvcs

Attempts to download a malware file from the remote website: (Rogue Russian site is up but not serving file anymore)
hxxp://trafficconverter.biz/[Removed]antispyware/[Removed].exe

Starts a HTTP server on a random port on the infected machine to host a copy of the worm.
Continuously scans the subnet of the infected host for vulnerable machines and executes the exploit. If the exploit is successful, the remote computer will then connect back to the http server and download a copy of the worm.
Analyzed malware does not have autorun or email capabilities.

Indications of Infection
This symptoms of this detection are the files, registry, and network communication referenced in the characteristics section.

Method of Infection
This worm exploits the MS08-067 Microsoft Windows Server Service vulnerability in order to propagate.

Machines should be patched and rebooted to protect against this worm re-infecting the system after cleaning.
Upon detection of this worm the system should be rebooted to clean memory correctly.
source taken: http://us.mcafee.com/virusInfo/default.asp?id=description&virus_k=153464

Quoted from Microsoft:
“[The worm] opens a random port between port 1024 and 10000 and acts like a web server. It propagates to random computers on the network by exploiting MS08-067. Once the remote computer is exploited, that computer will download a copy of the worm via HTTP using the random port opened by the worm. The worm often uses a .JPG extension when copied over and then it is saved to the local system folder as a random named dll.”

And hopefully, i found some fixes and solutions that can help us.

1. F-Secure Solution:

Removal tool specific to remove this conficker/Downadup worm, Download here = ftp://ftp.f-secure.com/anti-virus/tools/DownadupRemovalTool.zip

2. Mcafee provided solution:

– Users infected by W32/Conficker.worm should perform an On Demand Scan to remove remnants of the worm in memory using the latest DATs(Mcafee Site).
– Upon detection of W32/Conficker!mem and REBOOT, the W32/Conficker.worm malware components will be removed.

3. Trend Micro Solution:

Before deploying the sysclean package, you need to apply Microsoft MS08-067 Critical System Patch first.

Please do the following:1. Download and extract the sysclean package.

2. Download the latest Controlled Pattern File (CPR).

3. Download the latest Detection and Cleanup (Trend Micro Anti-Spyware) or the Ssapiptn.Da5 file.

4.Using GPO or any third party deployment tool (i.e. SMS or BigFix), copy items 1-3 to the infected computer.

5. Execute sysclean.com/FULLSILENT.

6. Reboot the infected computer.

Beyond of all solutions that has been provided, to ensure that you willl not be attacked by this virus again, make sure your Windows System is always updated (especially the Windows MS08-067 patch from October), also your Antivirus/Firewall Security.