Your best source of information and news about xp, windows vista and microsoft on the internet

January 27th, 2008

You are currently browsing the articles from MS Windows Vista Compatible Software written on January 27th, 2008.

Set the Priority of a Process By Name Automatically, in Vista

The other day I was playing around with the Image File Execution Options and Sysinternals’ Process Monitor, in Vista. I saw an interesting query take place. Using notepad.exe as an example, I saw a query for a key called “PerfOptions” in [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe] when I ran notepad. The result was NAME NOT FOUND, so I decided to rectify that. After adding a key named “PerfOptions”, I ran notepad again. In Process Monitor, I saw queries for four values:

  • IoPriority
  • PagePriority
  • CpuPriorityClass
  • WorkingSetLimitInKB

Because of recent explorations with process priorities*, CpuPriorityClass grabbed me right away. Looking at the SetPriorityClass function, one can see the different values for the dwPriorityClass parameter. I created a REG_DWORD named CpuPriorityClass in PerfOptions, and set the value to 0×80 in the hopes that notepad would launch with “HIGH_PRIORITY_CLASS”. Instead, it launched with a priority of NORMAL_PRIORITY_CLASS (8) - the setting had not made any impact. Then, I set the value to 8 and launched notepad. Notepad launched with a priority of 8. I changed the value to 4, and that had no impact. I changed the value to 0 - no impact. I tried 10 - no impact. I couldn’t see any tie in to any other listings of process priorities that I knew about, so I decided to try trial and error, starting from 0, with the following results:


CpuPriorityClass Value Priority of Notepad Priority Class
1 4 Idle
3 13 High
5 6 BelowNormal
6 10 AboveNormal
Anything else^ 8 Normal

^= I’m currently running a PowerShell script to iterate through all possible values (there’s only about 2^32…) so it may be a while before the CpuPriorityClass value for REALTIME_PRIORITY_CLASS, should it exist, be uncovered. There may also be other values that can be used to specify a priority class that’s been uncovered. I’ll update or post a new topic if I uncover anything new…

The PowerShell script (don’t laugh, it’s my first substantial attempt at one):

$cpc=0set-itemproperty “hklm:softwaremicrosoftwindows ntcurrentversionimage file execution optionsnotepad.exeperfoptions” cpupriorityclass $cpcdo{    $pp = [diagnostics.process]::start(”notepad.exe”, “”)    $ppc = $pp.PriorityClass    $pp.Kill()    if( $ppc -ne “Normal” )    {        Write-Host $cpc $ppc    }    $cpc++    set-itemproperty “hklm:softwaremicrosoftwindows ntcurrentversionimage file execution optionsnotepad.exeperfoptions” cpupriorityclass $cpc}while( $cpc -lt 4294967295 )

Hopefully, I’ll find time to do some digging into the other values in PerfOptions - IoPriority, PagePriority, and WorkingSetLimitInKB. IoPriority and PagePriority sound like they may have something to do with memory prioritization and IO prioritization in Vista. WorkingSetLimitInKB sounds self-explanatory, but how it’s applied or how it’s used, and other circumstances, are quite vague.

*= SetThreadPriority, Vista, and Autostart Locations, Setting the Priority of a Service Process via Script

Written by «/\/\Ø|ö±ò\/»®© on January 27th, 2008 with 1 comment.
Read more articles on otherSoftware and Process Monitor and priority and sysinternals and PowerShell and vista.

Remote Desktop Sharing in Ubuntu — Debian Admin

 

vino is VNC server for GNOME.VNC is a protocol that allows remote display of a user’s desktop. This package provides a VNC server that integrates with GNOME, allowing you to export your running desktop to another computer for remote use or diagnosis.

By default ubuntu will come with vino-server so it is very easy to configure to enable remote desktop sharing in your ubuntu machine.If you want to access ubuntu machine remotely you need to login in to your ubuntu system.

Important note :-

Remote Desktop will only work if there’s a GNOME login session.Leaving your computer with an unattended GNOME login session is not secure and not recommended.

Some Tips

1) You can lock your screen using System—>Quit

Once you click on quit you should see the following screen here you need to select lockscreen

2) switch off your monitor when computer is left unattended

Configuring Remote Desktop

First you need to go to System -> Preferences -> Remote Desktop

Once it opens you should see the following screen

In the above screen you need to configure remote desktop preferences for sharing and security

For Sharing

you need to tick the box next to the following two options

Allow other users to view your desktop
Allow other users to control your desktop

For Security

you need to tick the box next to the following two options

Ask you for confirmation (If you tick this option some one need to click on allow from remote desktop once it connected if you don’t want you can untick this option)
Require the user to enter this password:
Password: Specify the password

Connecting from Ubuntu Machine

Open your terminal from Applications—>Accessories—>Terminal and enter the following command

vncviewer -fullscreen 192.168.2.23:0

now you should see the following message asking for password enter the password after complete success you can see VNC authentication succeeded message and starting remote desktop

VNC viewer version 3.3.7 - built Jul 4 2006 10:04:48
Copyright (C) 2002-2003 RealVNC Ltd.
Copyright (C) 1994-2000 AT&T Laboratories Cambridge.
See http://www.realvnc.com for information on VNC.
VNC server supports protocol version 3.7 (viewer 3.3)
Password:
VNC authentication succeeded

If you want to quit vncviewer

Press ‘F8′ and select Quit viewer

Connecting from Windows machine

If you are trying to connect from your windows machine you need to install vncviewer of your choice i have installed from here http://www.realvnc.com/download.html.Install this program once you install this you can opem from start—>All programs—>RealVNC—>VNC Viewer 4—>Run VNC Viewer once it opens you should see the following screen here enter the remotemachine ipaddress:0 format and click ok

Now it will prompt for password enter your password and click ok

Now on the remote machine you should see the following screen asking for permission to allow this connection you need to click on allow this will comeup only if you tick “Ask you for confirmation” option under sharing

Once it connected you should see the remote machine desktop like the following screen

Source > Remote Desktop Sharing in Ubuntu — Debian Admin

Written by computerboom on January 27th, 2008 with 4 comments.
Read more articles on otherSoftware and customization and freeware and Linux.

Carnival of Computer Help and Advice

I have decided to start a blog carnival to provide a monthly digest of the best blog articles that offer computer help and advice, preferably those that are written in novice-friendly language.

This carnival will be published on the 27th of each month.

The submission deadline for new articles is the 20th of each month.

Like all blog carnivals, this is a community effort. If you wish to host a carnival you can leave a comment on this article or click here, and if you wish to submit an article for inclusion please click here. The carnival’s website can be found here.

[Edit 03/02/08]
As with other blog carnivals the host each month will choose which articles to include.

To be clear, this is not a general technology blog carnival, nor is it a carnival of blogging tips. It is a collection of articles offering help and advice for using computers, which may include articles about free applications but not commercial software.
[End edit]

So without further ado, may I present…

The First Carnival of Computer Help and Advice

To get the ball rolling I have trawled the web for some useful blog articles as examples of what would be suitable for future carnivals.

Jim at Simple PC Talk provides some good advice on How to Update to Office 2007. Speaking of installing software, on the IT Guys blog, CodeWizard has posted a fix for those of you getting Error code 2738 When Installing iTunes + Quicktime on Windows Vista.

Alex Jose’s blog offers Tips And Tricks For A Healthy PC, as well as other advice such as how to Remove Security Alerts From System Tray and save us from annoying messages. Nothing is more annoying than a slow PC, Ajith offers advice on making to changes to Windows so that it runs faster at Tweaking Made Easy, such as Stopping Unneeded Startup Services and Making XP boot faster!

Lastly this month, a quality freeware product found by nicky81 at Tips, Tricks & Practice: a freeware Audio Ripper and Converter application that will let you convert audio files using all the most popular formats.

Written by Stepterix on January 27th, 2008 with no comments.
Read more articles on otherSoftware and Websites and Blogging.

Bill Gates at Davos World Economic Forum 2008 video

There was a lot of press last week about Bill Gates’ session “A New Approach to Capitalism in the 21st Century ” at the World Economic Forum 2008 in Davos, Switzerland but few if none of which had linked to the YouTube video of the whole session. It’s just one of the many great sessions at Davos this year, on top of the very inspiring “The Davos Question” videos. If you have a spare 30 minutes, check out what Bill has to say about the role of economics in the 21st Century.

At around the 2-minute mark, Bill once again makes fun of himself leaving the full-time position at Microsoft. “As you all may know, in July I’ll make a big career change. I’m not worried; I believe I’m still marketable. I’m a self-starter, I’m proficient in Microsoft Office. I guess that’s it.”

If Bill’s speaking pace makes you unsettled, you can read the transcript yourself here.

Written by Long Zheng on January 27th, 2008 with no comments.
Read more articles on otherSoftware and blog.

Help me microloan $500 $600 on Kiva

I’ve been more than fortunate enough to have had the opportunity to attend so many fun events, meet so many great people and play with the latest cool gadgets as a result of this blog, I really owe it to everybody that’s supported me. This month Google AdSense has served me particularly well thanks to an appearance by a special somebody at CES which drew enough traffic for me to generate a nice chunk of above-average advertising revenue.

I’ve decided not to keep the money because it’s simply not fair to profit so much from someone else’s hard work. In return, I want to give you all the opportunity to help me help the less fortunate people in underdeveloped countries.

Some of you might have heard of the term microfinancing, which is basically providing financial services to the very poor that most banks would otherwise neglect. One of the most exciting aspect of microfinancing is microloans or microcredit. Think of loans but instead of thousands of dollars, think hundreds. That may not seem practical in developed nations, but are great sums of money elsewhere.

KivaOne of the organizations which connect microlenders to entrepreneurs around the world is Kiva. This is a non-profit organization which has been endorsed by the likes of Bill Clinton and Oprah Winfrey. Microfinancing institutions all around the world collect profiles of local entrepreneurs who are in need of microcredit and posts their profiles to Kiva. Then via PayPal, anyone can lend money to these hopeful entrepreneurs from as little as little as $25.

Kiva is not a charity - you can’t buy people out of poverty. Instead, these entrepreneurs are obligated to repay the loans when they make a profit. The money then could then be withdrawn or re-loaned to another entrepreneur.

I encourage everyone to check out Kiva for themselves and this is where I need your help. Currently listed on Kiva are 84 (and growing) business profiles which are in need of loans.

  • I have a total of $500 $600 I want to lend.
  • Want to support as many businesses as possible.
  • Minimum loan per business is $25, thus maximum of 20 24 businesses.
  • Want you to suggest me businesses to loan to.

I hope everyone could browse the list of businesses profiles on the site, and recommend to me one or more profiles you think I should lend to including a short note why you think it would be a good choice. If there are duplicates, I’ll loan the amount as many times it was suggested.

In the long run, hopefully most of the money will be repaid which means there’ll be more opportunities to loan again. If this trial is successful, I hope to do more of these in the future with the advertising revenue on this site.

Update: What the heck, let’s throw RSS ad revenue in there too. Increased amount to $600.

Here’s a tally of the loans so far.

Agossou Amouzou
Recommended by Justin
$25
Umu Mackie
Recommended by Tom Philippart
$25
Cludina Suarez Tenazoa
Recommended by Daniel
$25
Allahverdi Abbasov
Recommended by Nick
$25
Tahir Cahangirov
Recommended by Milo
$25
Parween Akhter’s Group
Recommended by Michael MC
$25
Vincente Arguello
Recommended by Jock B
$25
Alex Kamara
Recommended by Stephen Edgar
$25
Vannak Rous
Recommended by Kip
$25
Marciano Gomez
Recommended by Kip
$25
Nohbala Guliyev
Recommended by Kip
$25
Rosa Marlenis Márquez
Recommended by Kip
$25
Mukarram Ataeva
Recommended by Sam
$25
Kadiatu Conteh
Recommended by Sam
$25
Choam Sin
Recommended by Sam
$25
Total loaned $375
Total left to be loaned $225

Written by Long Zheng on January 27th, 2008 with no comments.
Read more articles on otherSoftware and blog.