Δευτέρα 23 Δεκεμβρίου 2013

Windows tricks by Mike Jericho Ntamoulakis




Windows!

They have their flaws, but truth to be told you love it and if you knew that there are things about them you didn't know and you can do, you will love it even more :)

Powercfg

How many times complain about your laptop energy consumption or a hibernation/power saving incompatible device?
But what if you knew that windows have a command to configure the power settings of your system?

Power config is a elevated diagnose command to control all configurable power system settings and it can create a detailed report of  "rights" and "wrongs" in your system very easily.

At Start/Run type cmd (the command will show at the top of your window), right click it and select run as administrator (cause it needs elevated privilleges)


At the command prompt type powercfg -energy -output c:\power.html

It will take about a minute for windows to calculate the power options of your system and at the end it will create a html file at your c: hard drive wih the name power.html


Afterwards you can run the report by double clicking it and see the result you can temper with.

Reseting printer queue

Say that you are at work and time is at the essence, you need to print a file quickly and the printer queue is stuck!

Best case scenarion reset your printer, deleting the file from the windows printer queue.

Worst case scenario you do all the above and still you cant print a thing so a restart is required!

In cases like these just close your printer, go to Start / search programs and files, type service and execute it.

Search for the Print Spooler service double click it and stop it (dont close the window yet)



Now go to windows explorer (right click on start and open windows explorer) and navigate to c:\windows\system32\spool\printers and delete everything in in.

Now double click on Print Spooler service once more and start it again

Open the printer, you 're queue.






Τρίτη 17 Δεκεμβρίου 2013

Reset the Windows password




Reset the Windows password
by Mike Jericho Ntamoulakis

Reasons

Lets say for some reason one day you forgot your login password (or have accidentally your children change it and they don't remember) , what you will do?

There's many software in the market that can reset your password with ease but most of everyday users they will not put themselves in a proccess of downloading the Hiren's CD (for example), make a boot cd/usb of it and reset the windows password .

We'll talk about a different approach that does not involve additional software than the version of windows installed on your machine.

All you need to have in your possession is a recovery disk of windows ( made ​​of your own system preferably ) .

Setting up the environment

Creating a windows recovery disk is simplier than it sounds, from Start / Control Panel / System And Security / Backup And Restore / Create A System Repair Disk

Place an empty dvd and in a few minutes you will have a repair disk.

For this to work we'll also need two windows system files, sethc.exe and cmd.

Sethc

All Windows have a proccess called sethc.exe (Windows Nt High Contrast Invocation) which activate (anywhere in the OS by default) by pressing five times the shift key.
Also known as sticky keys, there are accessibility features designed mostly for people with disabilities and by others as a means to reduce repetitive strain injury.

Cmd

The well known command prompt (or console) which will be used to inputting the commands.

The Reseting

Reboot your system with the repair disk and from the options, select windows command prompt

From the command promp type ...

c:\ ( which will retuns the path to the root directory of your hard disk )
md temp ( to create a safe folder called temp in the root directory)
cd c:\windows\system32 (to switch to the folder with the files we need )
copy sethc.exe c:\temp ( for copying (and backup) the original file to the safe folder)

The trick you do here is to replace the sticky keys with the command prompt so the next time you'll run the setch.exe will execute the command prompt ;) ).

copy cmd.exe sethc.exe ( press Y when you asked to to overwrite the file).

Remove the repair disk from the drive and restart the computer, when windows login screen shows just press 5 times the shift key and the command prompt will pop up.

If you remember the user name in your Windows type net user yourusername * and press enter,
the console will prompt you for a new password, type anything you like and press enter.
That will replace the user password.

In case you do not remember the user name, type net user and you will see all available users, pick the one you like and retyoe the net user yourusername * command .

Cleaning up

Last but not least you have to return the sticky keys to its original location

copy c:\temp\sethcexe c:\windows\system32\sethc.exe and type Y to replace the file.

Type in exit and press enter to close the console .

Do a final reboot and ... log in to Windows. :)

Κυριακή 15 Δεκεμβρίου 2013

Faster Internet / Γρηγορότερο Internet by Mike Jericho Ntamoulakis





About Bandwidth

Though bandwidth speed depends mostly on the package you have purchased from your internet provider , there are several ways to achieve better speeds .

Some have to do exclusively with the way windows manage bandwidth - and in some cases - (such as peer to peer programs utorrent etc) requires port opening through the router settings.

First of all, there is no program that makes the web faster.

If you found a program that promises faster internet are likely to be accompanied by a toolbar which is most likely to make your connection slower (or even worse) and you will get stuck with some malware or trojan.

Software

Some rare cases such as -the old good- SG TCP optimizer (which optimizes the TCP protocol) is worthy of mention and can do the trick, but if you're not familiar with his surroundings, I suggest that you make a backup of your registry and choose the recommended settings .

Also another worthwhile program (different philosophy though) is the Squid.

To squid is a caching proxy for browsers and ftp which reduces the bandwidth to pages that we visit, often creating cache and improving response time of websites.

As mentioned earlier some "speed promising" programs while installing toolbars on your browsers thereby creating a reduction in bandwidth by sending at regular intervals, reports to the authors and one of the drawbacks is that ad windows pop up on our computer .

Other factors

Also attention should be paid to the choice of extension and addon we use, cause sometimes can dramatically affect the speed of the internet .

Deleting cookies and history can also improve the speed of the browser.

Finally noting that some browsers are faster than others and although it is purely a matter of personal choice , the charge is the Google Chrome.

A easy way to optimize the speed of the Windows

The windows have some options which, if properly adjusted can optimize quite our internet speedt .

Reservable Bandwidth

The Windows 7 (if not set manually) retain 20% of the bandwidth for their personal use.

This is done for Microsoft to communicate more easily with their servers for updates microsoft windows, resulting in a reduction of bandwidth automatically when you finishing the installation windows.

To change the setting go to Start / Search programs and files and open the windows policies with gpedit.msc

From the group policy editor select Administrative Templates / Network / QoS Packet Scheduler and from the right screen double click on Limit Reservable Bandwdith.

As we see in the opened window the option is disabled ( which means that windows keep 20% of the bandwidth for their personal use).

Activate the option Enable and let the bandwidth limit to 0%

Press OK and close the policy editor.

                                                             

Περί ταχύτητας

Αν και κατ επί το πλείστον η ταχύτητα που συνδεόμαστε στο διαδίκτυο εξαρτάται από το πακέτο που έχουμε προμηθευτεί από τον εκάστοτε πάροχο, υπάρχουν διάφοροι τρόποι για να πετύχουμε καλύτερες ταχύτητες.
Κάποιοι έχουν να κάνουν αποκλειστικά με τον τρόπο που διαχειρίζονται τα windows το bandwidth ενώ σε ορισμένες περιπτώσεις (όπως των peer to peer προγραμμάτων (utorrent κ.λ.π) ) απαιτείτε άνοιγμα πόρτας μέσα από τις ρυθμίσεις του ρούτερ για μέγιστη ταχύτητα λήψεων.

Πρώτα απ'όλα θα ήθελα να τονίσω το εξης.

Δεν υπάρχει πρόγραμμα που κάνει το ίντερνετ γρηγορότερο.

Αν βρήκατε κάποιο πρόγραμμα που υπόσχεται γρηγορότερο internet το πιθανότερο είναι να συνοδεύεται από κάποιο toolbar το οποίο το πιθανότερο είναι να κάνει την σύνδεση σας ποιο αργή ή ακόμα χειρότερα να σας κολλήσει με κάποιο malware ή trojan.

Λογισμικό

Κάποιες σπάνιες περιπτώσεις προγραμμάτων όπως για παράδειγμα το SG TCP optimizer το οποίο βελτιστοποιεί το TCP πρωτόκολλο είναι άξια αναφοράς αλλά αν δεν είστε εξοικειωμένοι με το περιβάλλον του προτείνω να έχετε κάνει ένα backup το registry και να επιλέξετε τις προτεινόμενες ρυθμίσεις.

Επίσης ένα άλλο αξιόλογο πρόγραμμα (με διαφορετική φιλοσοφία όμως) είναι το Squid.

To squid είναι ένας caching proxy για browsers και ftp το οποίο μειώνει το bandwidth σε σελίδες που επισκεπτόμαστε συχνά δημιουργώντας cache και βελτιώνοντας τον χρόνο απόκρισης (response times) των ιστοσελίδων .
Επίσης χρησιμοποιείτε ευρέως από πολλούς πάροχους δικτυακών υπηρεσιών παγκοσμίως μιας και βελτιστοποιεί την ροή δεδομένων μεταξύ πάροχου / χρήστη.
Τι πρέπει να γνωρίζουμε γενικότερα

Όπως αναφέρθηκε νωρίτερα κάποια προγράμματα κατά την εγκατάσταση εγκαθιστούν μπάρες στους browsers με αποτέλεσμα να δημιουργείτε μειωση του bandwidth μιας και ένα από τα μειονεκτήματα τους είναι ότι στέλνουν κατά τακτά χρονικά διαστήματα αναφορές στους δημιουργούς του με αποτέλεσμα να βλέπουμε παράθυρα διαφημίσεων στον υπολογιστή μας.

Άλλοι παράγοντες

Επίσης προσοχή θα πρέπει να δοθεί και στην επιλογή των extension και addon που χρησιμοποιούμε στο browser, κάποιες φορές μπορεί να επηρεάζει δραματικά την ταχύτητα του διαδικτύου.

Η διαγραφή των cookies και του ιστορικού επίσης μπορεί να βελτιώσουν την ταχύτητα του browser.

Τέλος να αναφερθεί ότι κάποιοι browsers είναι γρηγορότεροι από κάποιους άλλους και αν και είναι καθαρά θέμα προσωπικής επιλογής, τα ηνία τα έχει το Google Chrome.

Βελτιστοποίηση της ταχύτητας από τα Windows
Τα windows έχουν κάποιες επιλογές οι οποίες αν ρυθμιστούν σωστά μπορούμε να βελτιστοποιήσουμε αρκετά την ταχύτητα μας στο διαδίκτυο.

Reservable Bandwidth

Τα Windows 7 αν δεν ρυθμιστούν χειροκίνητα κατακρατούν 20% του bandwidth μας για προσωπική τους χρήση.

Αυτό γίνετε περισσότερο για να επικοινωνούν ευκολότερα με τους διακομιστές της microsoft για ενημερώσεις των windows, με αποτέλεσμα να υπάρχει αυτόματα μείωση του bandwidth κατά την εγκατάσταση των windows.

Για να αλλάξουμε την ρύθμιση πηγαίνουμε στο Start / Search programs and files και ανοίγουμε τα windows policies πληκτρολογώντας gpedit.msc

Από τον group policy editor επιλέγουμε Administrative Templates /Network / QoS Packet Scheduler και από το δεξί παράθυρο κάνουμε διπλό κλικ στο Limit Reservable Bandwdith.

Όπως βλέπουμε στο παράθυρο που θα ανοίξει η επιλογή είναι απενεργοποιημένη (που σημαίνει ότι τα windows κρατάνε το 20% του bandwidth για προσωπική τους χρήση.

Ενεργοποιούμε την επιλογή Enable και αφήνουμε το bandwidth limit στο 0%

Πατάμε ΟΚ και κλείνουμε τον policy editor.