Friday, August 12, 2011

Nice PDF cropping tool

By using this tool you can easily crop pdf files to help them match the screen of your e-reader or smartphone http://www.pdfscissors.com/

Wednesday, July 20, 2011

Moving WSUS content and Windows Internal Database to another drive

Today I had to create a RAID massive from the disk, where WSUS content was stored. Also there was database file of Windows Internal Database (that's how I store the information about my WSUS).
Moving WSUS content is a really easy task involving just a few steps.
It requires just one command.
wsusutil movecontent [path to new location] [path to log file]
(Location of wsusutil command is %drive%\Program Files\Update Services\Tools)
It's a bit strange, but the command couldn't run successfully and terminated with error "access to log file path is denied" nevertheless it had "everyone full access, network service full access, etc." permissions. The solution I found, was to create a simple txt file and point the command to it rather than to the folder. That's funny that the file has to be created manually.

To move database files, I had to install SQL Server Management Studio Express.
Fill the following parameters In the connection dialogue box:
Server Type: Database Engine
Servername: \\.\pipe\MSSQL$MICROSOFT##SSEE\sql\query
Authentication: Windows Authentication

In the "Databases" find "SUSDB", click on "Tasks" and then "Detach". In the dialogue box select "Drop connections".
Then we have to simply copy the folders using explorer or anything else.
When folders are in the right place, open SQL  Server Management Studio Express and right click on "Databases". Select "Attach" and choose the .mdb file.

Done!

Wednesday, July 6, 2011

Dual-boot Windows XP and Linux Ubuntu time problem

If you are using both Windows and Linux at your PC, then chances are that you will face a problem of time difference between operating systems. To solve this problem:
gksudo gedit /etc/default/rcS
Change UTC=yes to UTC=no

Wednesday, April 20, 2011

Recovery of lost partitions and files in Ubuntu

There is really nothing to say about it but one word: TestDisk.

Tuesday, April 19, 2011

Making a Video DVD from VIDEO_TS folder in Ubuntu

This task turned out to be easy to accomplish. Just 2 simple commands and voila.

1. mkisofs -dvd-video -o image.iso /dvd

where /dvd - the folder that contains VIDEO_TS folder.
This command will create iso file to burn to dvd disc.

2. growisofs -dvd-compat -Z /dev/scd0=image.iso

The second command burnes iso image to the dvd disc.