Tag: windows

Entries for tag "windows", ordered from most recent. Entry count: 39.

Uwaga! Informacje na tej stronie mają ponad 5 lat. Nadal je udostępniam, ale prawdopodobnie nie odzwierciedlają one mojej aktualnej wiedzy ani przekonań.

Pages: > 1 2 3 4 5 >

# Deeper Look Inside Windows

Jul 2010

Typically Linux users spend much time dealing with details of their system while Windows users blame all errors on bad Microsoft and Bill Gates, especially nowadays as for more and more people computer usage shrinks only to a web browser. But sometimes it's nice and useful to look into the system, deeper than to the list of files on disk or installed programs in Control Panel / Add or remove programs. Here are some Windows applications that may help with that (use Google to find them by name):

Starting with tools that ship with Windows itself, we have:

More information about the system can be revealed with free programs, like:

Do you know any other tools like these or other types of system information that are worth seeing?

Comments | #windows Share

# SVN in My Windows Made Me Angry

Feb 2010

Today I had an unpleasant adventure with SVN. Although I'm now going to use Mercurial (with TortoiseHG client) for my home projects, as this whole distributed revision control systems looks quite promising, I wanted to checkout some SVN repository and it turned out to be much bigger problem than I expected.

The obvious solution is to install and use TortoiseSVN - great shell extension for Windows. Unfortunately it doesn't work in my 64-bit Windows 7. Setup succeeds, but then no new items appear in context menus for directories. I tried to install both 64-bit and 32-bit versions, two times, with restarting my computer. Nothing helped. I tried to disable read-only attribute for TortoiseSVN directory, give full permission to this directory for all users, maually run TSVNCache.exe (because it doesn't start automatically) and nothing helped. I also ensured shell extensions are successfully installed by using ShellExView. Google knows this problems, but not the solution.

So then I installed RapidSVN - a normal Windows SVN client. Such application seems even nicer for me than shell extension. But then another obstacle appeared: opening repository in RapidSVN failed with error message: rapidsvn Error: Error while updating filelist (Can't create tunnel: The system cannot find the file specified. ). I though: Fuuuu! After issues with new Windows version here come Linux-like issues with some command-line or config driven, small and independent programs that never smoothly work together. I knew it was probably because the repository I wanted to checkout have an URL starting with svn+ssh:// so the SVN client probably needs to create an SSH tunnel.

After some searching in Google I found a solution. I needed to download PuTTY package and set special environmental variable to point to the plink.exe program that, according to Google, work as SSH tunnel. This variable is named "SVN_SSH" and its value must be like "E:\\PuTTY\\plink.exe" - without quotes, but with these double backslashes! Here I was sure it had to come from the Linux/Unix world, noone other would come up with something like this :P

It seemed to work so I was a step further, but still I couldn't access the SVN repository. This time when checking out, an empty console appeared and freezed so the RapidSVN didn't go any further. I wanted to try some "easy" solution so I installed another windowed client - Qsvn, as well as console SVN client - SilkSVN, but it seemed to recognize and run this SSH tunnel and finally freeze in same situation. So after another Googling I've found this post, opened configuration file "C:\Users\MY_LOGIN\Application Data\Subversion\config" and inserted this line into it:


It finally worked and I could access the repository, but it took me so much time that it made me really angry. I hope I'll live to see the day when there will be no such stupid problems with software. Meanwhile, now you can understand why do I always *very* carefully handle all errors in my code (check returned values, throw exceptions, write logs) - to always know exactly what, when, where and why went wrong, so no annoying things can happen like "context menu items don't show up and I don't know why" or "empty console window opens and freezes".

Comments | #svn #windows #software #tools #version control Share

# Adventures with Windows XP and Windows 7

Nov 2009

So I'm back after hardware upgrade and system reinstallation. What I want to write about today is my recent adventures with installing Windows. I've decided to install Windows 7 64-bit (as I believe it's already good and very promising platform which will soon become a standard) and Windows XP 32-bit (in case something I need wouldn't work in Win7, like the connection with my Mio palmtop).

I've installed Windows 7 first. While inside the installer, I've created an NTFS partition for that system, called "Win_7". Win7 created one additional 100 MB NTFS partition at the very beginning of my disk, named it "System Reserved" and didn't mount it as any drive letter. Oh well, maybe it's just needed for something...

Then I wanted to install old good Windows XP. Unfortunately WinXP SP2 setup doesn't recognize my SATA disk. I didn't want to switch it from native SATA (AHCI) to IDE emulation mode in BIOS as it degrades performance AFAIK. My motherboard manual and many other sources give a solution as a driver which has to be recorded on a... floppy disk and given to WinXP setup. And I don't even have a floppy disk drive!

Fortunately I've googled another solution. This article shows how to prepare your own "distribution" of Windows XP install CD with selected drivers and updates already integrated inside. All I had to do was to copy original install CD to my hard disk, download and unpack SATA/RAID drivers for my motherboard, install freeware nLite program and use it to burn new CD. It works perfectly! Now I have WinXP install CD which recognizes my SATA disk.

While installing XP, I've created another (third) NTFS partition. I named that partition "Win_XP" and set up WinXP on it. Everything went fine and the only strange thing was different naming of partitions in both systems (you can't change drive letter of the system partition).

But then I was unable to start my Win7 as WinXP installation overwritten MBR with its own, old bootloader without detecting Win7 and adding it to the boot menu. It's interesting that WinXP, although installed on the "Win_XP" partition (E:), placed its Boot.ini file on the "System Reserved" partition.

I tried to modify boot.ini to add Win7 to the menu, but nothing seemed to work. The WinXP boot manager simply isn't able to start Windows 7 and that's exactly what I've found when searching Google. Win7 has its own, new boot menu which has to be used to be able to boot this system.

To restore MBR of Windows 7:

Now, how to add WinXP entry to the Win7 boot menu? The new boot manager of Windows 7 is not such simple text file as boot.ini was, but it's a database stored in this invisible "System Reserved" partition. User can edit the menu using bcdedit command line tool (you must run Command Prompt as Administrator to use it), but there is another solution: a freeware application called EasyBCD. Not only it simplifies this task by providing GUI, but it's also able to switch MBR between XP and Vista/7 version and it also works in Windows XP! It seemed like I was almost there...

But unfortunately the Win7 boot menu sees partitions just like Win7 does, so the first partition - the one where WinXP placed its boot.ini file - was invisible to it. My solution (© Reg ;) was to run WinXP (by switching MBR to XP version), to copy files needed for booting - boot.ini, ntdetect.com, ntldr - from "System Reserved" to "Win_XP" partition and point WinXP entry in the 7 boot menu to the "Win_XP" partition (E:). Finally I could switch back to Win7 MBR with my boot menu working for both systems.

Comments | #windows Share

# Mounting Drives and Directories in Windows

Oct 2009

You don't have to use only drive letters C:, D:, E: and so on for subsequent disk partitions. Windows gives much freedom in managing drive letters and partitions, if you know how to do that.

First, you can change a drive letter for a hard disk partition or removable disk drive. For example, I like to have my DVD as drive X:. To do that:

Second, you can mount whole partition or drive in an existing, empty directory. To do that:

And finally, you can do the opposite - mount a directory as a separate drive. The way to do it is quite different, as it requires to use a console command:

subst s: d:\Dir\Subdir

To remove such drive, use the following command:

subst s: /D

Comments | #windows Share

# Computer Self-Defense for Beginners

Jul 2009

Inspired by recent virus-infestation of one of my family member's computer I've decided to write a small guide to computer self-defense for beginners - that is, to write down things that are obvious for every computer scientist, but not for every user. I emphasize I'm not a security specialist so for some of you my thoughts may look lame :)

Historical background: Many years ago people used to copy programs and transfer them between computers using floppy disks. Viruses were infecting EXE files by adding their code to programs and once someone ran such file, the virus spread to other programs in his computer. Viruses were sometimes written for fun. Some of them were harmless, while other did "pranks" such as formatting whole hard drive :) Now we live in the Internet era and programs downloaded from the Web or from CD/DVD disks require installation, so viruses like these are no longer effective.

Today's viruses are no longer infecting particular EXE files. They are rather kind of worms or trojan horses (however you call or classify them) - they just install themselves in Windows and run in the background as separate programs. They are neither destroying whole computer nor totally harmless. Modern malware software is part or organized crime, so it can, for example, steal user's passwords to online bank account, MMORPG game or use his computer to perform DDOS attacks and sending spam.

So how (not) to catch a virus? Viruses are not usually able to infect a computer without user's initiative. It's quite safe to use Windows, be connected to the Internet, browse any websites, read any emails, open any files such as music (like MP3), images (like JPG), archives (like ZIP) or documents (like PDF). The exception is when one of the programs have a bug which can be exploited to execute code embedded into document's data. Such critical security bugs are fixed quickly so the security procedure for them is to update your software regularly - use Windows Update / Microsoft Update and install new versions of programs you use, especially these connecting to the Internet.

The only possibility when a virus can run without user's approval is Autoplay technology for flash drives and CD/DVD disks. Each time you enter such media, Windows looks for autorun.inf file and can automatically run prepared program. As pendrives are very popular nowadays, I consider critical for computer security to turn off the Autoplay functionality. You can do it using free Tweak UI tool, just like that:

Tweak UI Autoplay

It's amazing to me how some people constantly suffer from viruses on their computers while other almost never catch any. Do the second never visit porn sites or use cracks and pirated software? Maybe, but I think it's rather the matter of obeying some simple security rules. Websites, emails or image/music/document files are not able to run arbitrary code on your computer. You must explicitly agree for that. This danger comes in two forms. First one is when a website wants to run/install something on your computer, usually using ActiveX technology. You can see warning about that asking if you really want to allow the website to run such program. Virus installs itself on your computer only if you agree to that.

The second danger is when you just run new EXE file. How to distinguish between safe and dangerous executables? First of all, never run unknown EXE files just for fun. Never trust it's a new brilliant porn screensaver, good and free antivirus software or a document in executable form (like image gallery, video, ebook, archive), even if you have it from your best friend. Pirated software and cracks/keygens from P2P networks also very often contain viruses. On the other hand, you can be almost sure it's safe when you download a well-known application from its author website or a website such as SourceForge.net. If you are not sure about an executable file and you really need to run it, scan it with an antivirus first.

I believe these simple rules are worth much more than not using Windows, Internet Explorer, Outlook Express or cracks/pirated software and using any firewall or resident antivirus protection.

Comments | #windows #software Share

# Windows 7 RC - moja recenzja

May 2009

Zainstalowałem na swoim laptopie dostępną za darmo, testową wersję Windows 7 RC. Laptop jest raczej złomowy i nie spełnia nawet wymagań (procesor Turion 64, 1.8 GHz, 1 GB RAM, a wersja 64-bitowa wymaga 2 GB RAM). Mimo tego nowy Windows działa całkiem nieźle. Ale po kolei... Poniżej moja mała recenzja Windows 7, z perspektywy stałego użytkownika Windows XP, który nie lubi i nie używa Visty.

Instalacja trwała ok. pół godziny. Pierwsze wrażenie: system jest ładny, podoba mi się jego styl graficzny. Pamięć RAM zajęta po uruchomieniu systemu, bez żadnych uruchomionych programów: 500 MB. To już mi się mniej podoba.

Nowy sposób, w jaki najczęściej używane programy można dodawać do paska zadań i do menu Start, podoba mi się bardzo. Nareszcie można przestawiać przyciski programów na pasku zadań!!! - coś czego od zawsze brakowało w Windowsie i o czym zawsze marzyłem :)

Read full entry > | Comments | #windows Share

# Mój niezbędnik - Najlepsze programy

May 2009

Zebrałem tu listę programów, których używam i które polecam do poszczególnych zastosowań. Każdy z nas ma swoje ulubione programy, ale to który jest lepszy to zwykle nie jest kwestia gustu, tylko obiektywny fakt. Dlatego aby wiedzieć o dobrych programach, warto się takimi informacjami jak te tutaj wymieniać. W komentarzach piszcie, jakie są wasze ulubione programy.

Założenia wstępne: Używam Windows XP. Staram się używać programów darmowych, a nie piracić (wszędzie, gdzie nie wspominam o kosztach, mowa jest o programie Freeware lub Open Source). Komputera używam do wielu różnych rzeczy, ale przede wszystkim do programowania.


Manager plików: Total Commander. Jest bezdyskusyjnie bezkonkurencyjny. Niestety jest Shareware. Niezarejestrowana wersja w pełni działa, ale legalnie można jej używać tylko przez 30 dni.

Kompresja: 7-Zip. Pakuje formaty 7z, zip, gzip, bzip2, a jeszcze więcej rozpakowuje (w tym rar). Rozpakowywać różne archiwa potrafi też wprawdzie Total Commander, ale 7-Zip ma fajny interfejs (bardzo podobny do WinRAR) i do obliczeń wykorzystuje obydwa rdzenie procesora. Trzeba w tym miejscu dodać, że nie ma darmowych programów zdolnych pakować format rar - to potrafi tylko płatny WinRAR.

Antywirus: Mamy już na szczęście takie czasy, że są darmowe i niezłe programy antywirusowe. Mnie najbardziej podoba się Avira AntiVir. Niezły jest też avast!, ale wymaga darmowej rejestracji e-mailowej raz do roku i mniej mi się podoba jego interfejs. Cały czas zastanawiam się też nad zakupem komercyjnego pakietu bezpieczeństwa (firewall + antywirus i inne) - to wydatek rzędu 150-200 zł. Poza tym w szukaniu szkodników w systemie pomóc może HijackThis (pokazuje podejrzane dodatki zainstalowane w systemie), SpyBot Search & Destroy (skanuje system jak antywirus, ale pod kątem spyware, adware i podejrzanych ciasteczek) oraz ShellExView (listuje i zarządza zainstalowanymi rozszerzeniami powłoki systemowej).

Emulacja napędu CD/DVD z plików z obrazem płyt (np. ISO): Daemon Tools.

Launchy - używam go zamiast Menu Start i Pulpitu. Pisałem o nim tutaj.

Samurize - wykresy pokazujące statystyki działania komputera. Pisałem o nich tutaj.

Nagrywanie płyt: Nero Express dołączany do nagrywarek. Potrafi wszystko co potrzebne.

WinDirStat - bardzo oryginalny program, który analizuje wybrany dysk lub katalog, a potem pokazuje graficznie i w kolorach, które podkatalogi i które typy plików zajmują jak dużo miejsca.

Console2 - zamiennik systemowej konsoli. Pozwala zmieniać czcionkę i ogólnie jest sympatyczny. Obsługuje zakładki. Można do niego podłączać inne "powłoki", np. Windows PowerShell czy Python (command line).

TweakUI - pozwala konfigurować masę ustawień systemowych, np. łatwo wyłączyć wszelkie autostarty z płyt CD i pamięci Flash (co moim zdaniem jest obecnie podstawą bezpieczeństwa komputera, bo wirusy często przenoszą się przez Pendrive).

Platformy: DirectX Redistributable, .NET Framework (pobiera się go przez Windows Update), Java Runtime Environment, Adobe Flash Player.

Read full entry > | Comments | #windows #software Share

# Windows 7 RC publicznie i za darmo

May 2009

Jak podaje serwis www.windows7.pl i inne źródła w Sieci, Microsoft udostępnił za darmo do pobrania testową wersję Windows 7 oznaczoną jako RC (Release Candidate). Można go ściągnąć stąd: Windows 7 Release Candidate. System działa do 1 marca 2010. Dostępna jest wersja 32- i 64-bitowa.

Postanowiłem zapoznać się z Windows 7, bo mam nadzieję, że to będzie dobry system, który zastąpi powszechnie dziś używany Windows XP z pominięciem nieudanej Visty. Na razie ściągam ten ważący 3.05 GB plik ISO. Kiedy będę już miał jakieś wnioski z instalacji i używania systemu, na pewno o nich napiszę. Póki co warto zwrócić uwagę na ciekawostkę, że pobieranie odbywa się przez osadzony w przglądarce aplet napisany w... Javie :)

Comments | #windows Share

Pages: > 1 2 3 4 5 >

[Stat] [STAT NO AD] [Download] [Dropbox] [pub] [Mirror]
Copyright © 2004-2017