terça-feira, 3 de dezembro de 2013

Windows Profile (User Settings) Failure

Problem Environment: General Windows

Sometimes if the a crash happens on your windows your profile get's damaged.
You desktop files and all settings are missing and you appear to be in a totally new profile.

Most cases I experienced can be solved simply.

Here is my solution:

  1. Open My Computer
  2. On your system installation (usually C:) right click and select properties.
  3. Click on Tools Tab
  4. Click on error checking button
  5. Select option Automatically fix file system errors
  6. You will be prompted to run this maintenance at next reboot. Click ok
  7. Reboot
The reboot will fix file and disk errors. After this your profile should be again usable.

 

quinta-feira, 17 de outubro de 2013

Disable cache for file/table in Infor Lawson M3

Problem Environment: Infor Lawson M3 Java 

In Infor Lawson M3 Java uses cache. This is great to improve performance but may cause some issues. There are several reasons for you to want to disable cache on a file/table. For instance a service that updates data from an outside environment. Of course Infor Lawson does not subscribe some methods. This is understandable because external interference can cause great damage. But if you know what to do and need to disable cache here is how to do it:


  1. Open a file in you environment folder \env\[environment]\properties\mvx\res\Transaction.properties with notepad.
  2. You should find a line with this "transaction.cache.readonly.count=5". Increase this number by adding the number of tables you want to disable cache.
  3. Next on the file you should find "transaction.cache.readonly.4=-DDOCUX". Add one entry for each file you want to disable. Don't forget to increase the number as in ".4" for each file.
  4. Save the changes.
  5. Shutdown environment.
  6. Start environment.

domingo, 13 de outubro de 2013

How to Deny Access to Internet

Problem Environment: General Windows

Some users don't need internet access at all. Internet access is nowadays mandatory.
But in some cases it's only a source of distraction besides a an open gate for virus.
If you do not have a proxy server there is a simple way to deny internet access.

You can limit access to internet in some computers by setting the proxy server pointing to itself.
Every request will be redirected to the local computer. As the computer cannot answer to the request the user is presented with a simple network error.

You can do this at work or at home if you do not want a specific computer to have internet access.

It's as simple as that.

  1. Open your Control Panel and then open Internet Options.
  2. Open Connection Tab and click on Lan Settings.
  3. Enable proxy server and fill the address with 127.0.0.1.


To re-enable internet access just do the same steps and remove check on the use of proxy server.

This a simple way of denying internet access. 
Is it safe? Most users don't have the knowledge to override this settings but some may have. So this method is not 100% secure. If you are in a corporate environment you can complement this method by using group policy editor. In case you have users capable of overriding this trick you should consider implementing a proxy server.

Anyway it is still a nice and simple way to distance someone from unwanted activity's.





sábado, 5 de outubro de 2013

Remove Fake Antivirus - Chapter 1

Problem Environment: General Windows

Some sites are full ads, banner, pop-ups.
Eventually you will click on one of those undesirable ads.
The result of this click is some times a new self called Anti-Virus installed on your machine.
Some may seem pretty real. Software simulate scans of you computer files. Alerts you to a possible danger and infections.

So how can you check if this software is real? Here are some hints to help you.
  1.  Did you installed this new software by yourself? Did you buy this new software that is running in your machine? Did you downloaded a new antivirus from a secure site and installed it in your pc? If the answer is no you are most likely infected with some kind virus.
  2. Real Anti-Virus Software proudly publishes their company or product name in the software. Check this new so called antivirus for product or company names. If the product/company name does not ring a bell it's most probably a virus itself.

Here is a list of some real antivirus: AVG, Avast, Norton, Kaspersky, Trend Micro, McAfee. This list is for sure incomplete. If you have any doubts about the software just go google it. Be sure to type the exact name on the software. Open the company page and check the content. Check for solid info about removing virus, product details, partners, etc. If still not sure google again in forums or computer science related sites for opinion about this product.

So if you are infected, how can you remove this software?
This type of virus had some evolution. Their first appearances were simple windows that would redirect you to a website with the intention to sell their "fish". Some would block the whole screen with a message.
I named this Chapter 1 because some of this software has new undercover functions. New variants added some functions like disable Administration.

I you have a simple software variant of this virus on your computer it's quite simple to resolve. Follow the next steps to clean your computer:

  1. Reboot you Windows to safe mode. To reboot Windows to safe mode press F8 on computer startup.
  2. If you are still using Windows XP immediately after startup you will be prompted to start system restore. If you are using another Windows version search for "System Restore". This will guide to a wizard that will help you in the process. The goal for this is to set you computer as it was on date before your infection. So be sure to choose a date prior to infection.
  3. After System Restore you will be prompted to reboot you system. Startup you computer in regular mode. If the unwanted software disappeared you still should do some additional steps. Go to Step 7.
  4. If system restore did not solve your issue you will have to struggle a bit more. Usually this software is located in the temp folder or application data folder. Search for your user folder in your system drive. If  you are still using Windows XP it should be Documents and Settings\[user]\Local Settings\Temp. If you are using using other newer version of Windows it should be Users\[user]\Local Settings\Temp. After you find this folder delete all content. 
  5. Locate folder Application Settings. In Windows XP "c:\Documents and Settings\[user]\Local Settings\Application Data" on other Windows "c:\Documents and Settings\[user]\Local Settings\Application Data". Locate executable files (with extension .exe) in this folder and all subfolders with odd names. Like A00001.exe. Rename suspicious files changing their extension. By changing the .exe extension, Windows does not know what to do with that file when it's called. Example rename file A00001.exe to A00001.zzz.
  6. Repeat steps 4 and 5 for all other existing user profiles on your computer.
  7. Go to Control Panel and Internet Options and delete all history, temporary internet files and cookies.
  8. If you have other browsers installed, like Google Chrome, Mozilla Firefox, Safari, etc.. look delete browsing history. On Google Chrome and Mozilla Firefox press Crtl+Shift+Del and clean all browsing history.
  9. Scan all files from your computer with a real anti-virus.


The war against computer virus is never won. It's a daily battle. For sure this post "Chapter 1" will be completed or revised in the future considering new virus evolution and features.

I hope this post helped you with your issue.
You are welcome to complete or comment this article.

domingo, 29 de setembro de 2013

Installing Wordpress on Windows - sqmapi.dll not found

Problem Environment: Windows 2003 Server

I was trying to install Wordpress on my old Windows 2003 Server.
Here is the link with the installation instructions for Wordpress Windows setup.
After running the Web Platform Installer, that sets up IIS, MySql, PHP, etc.. it was time to setup Wordpress itself.

After that a error message appeared saying that sqmapi.dll was not found. Due to this error Wordpress was not installed.
My first attempt was to Google for this error. I found no relevant solution.

Here's what I've done.

I've searched My Computer for this sqmapi.dll. Search found one copy at the folder
C:\Program Files\IIS\Microsoft Web Deploy V3.

I thought maybe it was not on the search path for Windows.
So I went to My Computer Properties, Environment Variables, and added the path.

If you are a rookie in this sort of things don't forget to add a ; before the path you want to add and check if the path variable has everything else that was there before and you new entry.

After reboot I tried installing Wordpress again.
Done!! Problem Solved By IT.







General Computer Problems

I'm an IT Manager.
Solving problems is my job.

The purpose of this blog is to provide help on problems and issues concerning Computer Science.

How many times did you googled your problem and did not find an answer?
Many times right? But somehow you finished solving the problem by your own.
If you share your answer the next time anyone google's for a problem the answer will be available.
This is exactly what I want to do: Share the information for all those who need it.

All comments are welcome as they will contribute to a better answer.