Guide to install vsftp on Ubuntu Server on Windows Azure
June 7, 2013 – 11:50 pm | 9 Comments

Once you install a Linux box on Azure you will want some way to send files to and from it. There are plenty of options but one way is to use plain old FTP. The …

Read the full story »
Online Gaming

All about online gaming focusing mainly on First Person Shooters on the PC platform. Consoles may get a mention also but PCZFTW

Game Programming

If its making mods using scripting languages like Unrealscript or dealing with SDK’s like DirectX using C++ it’s in here.

Dot NET

Focusing on the Windows .NET platform. Programming in C# using Visual Studio.

General Computing

Everything got to do with using computers. Whether its Windows, Linux, Mac or other flavour its in here.

Computer Hardware

Graphics Cards, CPU’s, Memory and everything else got to do with building your own PC and modding your existing ones.

Home » Dot NET, Featured, Headline

How-To Start iTunes as a Windows service

Submitted by on October 1, 2009 – 6:57 am38 Comments

Update 28/11/09

Download the application from here


http://www.johncleary.net/2009/11/download-jtunes-here/

I recently got around to getting an iPhone 3GS which hasn’t left my hand since. Being a gadget freak I cannot help but be in awe at the amount of technology packed into this device. This is not my first iPhone either. I got a first generation one sent over from America about two years ago as they were unavailable here at the time. I had the thing for less than two months before it got robbed on me. I only have myself to blame anyway because I spent most of Saturday nights running around bars and night clubs showing the thing to anybody that would care to give me five minutes of their time.

Remote iPhone App

Remote iPhone App

After playing around on the AppStore for a while I discovered a charming little free application named simply ‘Remote’. Once installed it lets you use your iPhone as a remote control for iTunes over your WiFi network. What’s more, you can also store multiple profiles on it which for someone like me who has access three PC’s and a laptop at home it’s a great feature. I could now take my music with me as I moved around the house controlling what music played from each computer all from my phone, but I had to be logged-on on each machine with iTunes running in order for this to work.


This wouldn’t always be the case as there are other people who use the computers also or I simply may not be logged-on. It didn’t take long for me to start thinking how this setup could be improved on.

The one solution that came to mind was to somehow get iTunes to run as a Windows Service, so I started Visual Studio and Googled  ‘C# Windows Service’.  After a bit of reading I started on my App. I would need to develop a service that would run under my account and not the LocalSystem or LocalService accounts that a service will use by default. This was fine on my computer which is running Windows 7 Ultimate RC and other PC’s running Vista Ultimate as I can give my account the ‘Logon as Service’ privilege by simply opening the Local Security Policy editor, but the laptop runs Vista Home Premium which doesn’t have such easy access to the Local Security Policy. I finally found a simple little program on the net that allowed me to give the ‘Logon as Service’ privilege to users on non ‘Ultimate’ machines called NTRights.

I now can play music on any computer in my house with any user logged in or even if no one is logged-on and all this from my iPhone. The only problem is now when I try to start iTunes in the normal way it fails because it is running already as a background process so I have to stop and then restart the service while doing things like syncing my ipod. I am currently rewriting the app with a nice user (noob) friendly GUI instead of its current form being a bunch of console programs and batch scripts. I will release it here once it gets completed.

38 Comments »

  • Tom says:

    When is the release date?

  • Howard says:

    Looking forward to this, I’ve been wanting to do it a while in our shared house but I’m too lazy.

  • James says:

    Hi

    This errors for me when installing the service, running Windows 7 Home. Any ideas please? Log below:

    ************** Exception Text **************
    System.IO.IOException: The request is not supported.

    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    at System.IO.File.Encrypt(String path)
    at JTunesService.LoginDetails.SaveDetails(String Username, String ComputerName, String Password)
    at JTunesService.Form1.installBtn_Click(Object sender, EventArgs e)
    at System.Windows.Forms.Control.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ButtonBase.WndProc(Message& m)
    at System.Windows.Forms.Button.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

  • Amy says:

    When is the release date?

  • Sara says:

    Looking forward to this, I’ve been wanting to do it a while in our shared house but I’m too lazy.
    +1

  • ClearZ says:

    It is released. Just follow the link at the bottom of the article.

  • James says:

    Still no suggestions for the above error I posted please?

  • ClearZ says:

    James, I have updated the app so that you should not get that error any more. Try re-downloading the new version and give that a go.

  • Eivind says:

    I love this tool/application/service. Thanks John!

    If you’re taking donations, where can I contribute?

  • $author Thanks for a wonderful post. Can not wait to come back and read more on your blog. Have a great day.

  • Espen says:

    I did install jtunes but it won’t show home sharing when running as a service. How can I make this work

  • web site says:

    Thanks , I have just been searching for info approximately this topic for a
    long time and yours is the best I have came upon till now.

    However, what about the conclusion? Are you certain concerning the supply?

  • I visited multiple web sites however the audio quality for audio songs present at this site is really fabulous.

  • An E-cigarette is a safe and clean smoking alternative.
    E-cigarettes and accessories might be bought online in the event you cannot find
    one within your local stores. They are made with pre-drilled holes
    of their bases so they could be permanently mounted to the sidewalk or patio.

  • But what perhaps unites them all is that a home is actually one of the few places where
    you belong, a place that you can call it your own. Frequent vacuuming
    is a great help, especially if you have children and pets,
    since it will help prevent crumbs and tracked in dirt
    from building up and embedding itself in the carpet fibers.
    Getting machine repaired when a problem occurs greatly hamper the
    productivity.

  • For example, two 45 degree cuts are generally required to join pieces to make a 90
    degree turn. There are flip-top hampers, collapsing hampers, rolling
    hampers, hanging hampers and more. You may even be able to get on the Internet and
    find some reviews that are written by customers of these businesses.

  • Valid reasons for not closing on time may include a sudden illness, the failure
    of a home that the seller was planning to purchase not going through, or some other catastrophic event.
    The government wants to avoid this kind of conditions,
    because the properties have to be used correctly for good flow of cash in the nation.
    If you find them chances are good that you need some work.

  • These big screen television sets are bought to gain more pleasure and ease because
    they can be conveniently attached to a laptop or a computer for easy working or playing over
    the large screen. The financial aid consists of myriad grants and loans at 1%
    fee of interest, which is really minimal, when
    in comparison towards the conventional money lenders’ curiosity fee.
    Handymen charge either on hourly basis or on piece-rate basis,
    determined before the work starts.

  • One area that is easy to neglect is the attic, but a poorly insulated attic will lose an awful
    lot of heat, and in addition will let a lot of heat in during a hot summer.
    When faced with hard market evidence, it can be hard to justify holding out for a higher price.
    People from any walk of life have the opportunity for success.

  • Now, if you are seeking a solution to the dreaded problem then you have a few options at your disposal:.
    So before onset of the summer season, do not forget to get
    the evaporator coil checked. Point the straw at the chip and press down
    on the top of the can to blow the air and force loose bits of food, dirt and dust out of the depression.

  • Great items from you, man. I have understand your
    stuff previous to and you are simply too fantastic.
    I really like what you have bought here, certainly like what you are saying and the best
    way during which you assert it. You make it entertaining and you still care for to stay
    it sensible. I cant wait to learn much more from you.
    That is actually a great website.

    Feel free to visit my blog post – free itunes codes (http://Www.Youtube.com)

  • Cubase is a voice recording software program from Steilberg that’s great for
    recording, audio editing, oor organizing music as a part of digital audio workstation.
    It’s really a true disappointment thuough to invest lots
    of time looking to get efficient at that fresh new, sick and tired defeat design
    onlyy tto find that when that they obtain it
    lower it isn’t awesome any longer and threes somethying more latest and also chillier
    that has become the desired one. Describing the
    particular form such future development wiol take iis speculative, but the combined capabilities
    of intelligent and expert systems is one possible way SPC software
    could evolve to address new challenges.

  • This is really interesting, You’re a very skilled blogger.

    I’ve joined your feed and look forward to seeking more
    of your magnificent post. Also, I have shared your site in
    my social networks!

    My blog concrete polishing Tampa Florida

  • I blog often and I seriously appreciate your information. This article has truly peaked my interest.

    I will bookmark your site and keep checking for new information about once per week.
    I opted in for your RSS feed too.

  • excellent put up, very informative. I’m wondering why the other specialists of this
    sector do not notice this. You should continue your writing.

    I’m confident, you have a huge readers’ base already!

  • ten tips says:

    When someone writes an article he/she retains the thought of a user in his/her mind
    that how a user can be aware of it. Therefore that’s why this
    piece of writing is outstdanding. Thanks!

  • Maradona played in four different FIFA World Cup tournaments,
    and he made news headlines each time. The teams for all these games are well trained, honest and passionate with their profession. The second half however would
    prove to be my first heartbreaking experience in football
    as five minutes in to the second half Brandts would redeem
    himself by scoring for the Netherlands to make the score one, one.

  • bing.com says:

    * Keep for Chrome does not allow users to share notes with
    others. You don’t want to give them too many options which may stun them into taking no action at all – you
    need to take them to a page will the only options
    are focused on their presenting need. 519Studio is an independent, full service, digital creative
    agency.

  • Hi there to every one, as I am actually keen of reading this web site’s post to be
    updated on a regular basis. It includes pleasant stuff.

  • So in case you pay attention to tunes made up of surpasses
    within a volume of 10 Hz you’ll produce a lot more brainwaves having a 10 Hz frequency and get into a relaxed Alpha mental status.
    Today songs is a using the most reliable resources for inducing rest.
    78violet, a put rock features two sister, Alyson Renae “Aly”
    Michalka and Amanda Delight Andldquo;AJ”
    Michalka.

  • Now I am ready to do my breakfast, later than having my breakfast coming
    yet again to read more news.

  • This includes key markets such as Australia, China, Hong Kong,
    Japan, Singapore and other markets. Many businesses are looking for
    investment partners for their opportunities, here is a list of 10 venture capital and private equity firms you can consider,
    many of these firms are multi-sector investors. Wedding Planning college students will receive a program to check
    out the big event schedule as well as spending budget administration.

  • Andra says:

    Hi there, after reading this awesome piece of writing i am too delighted to share
    my knowledge here with mates.

  • Thanks for any other magnificent article.
    The place else may just anyone get that kind of information in such an ideal approach
    of writing? I have a presentation subsequent week, and I’m on the look for such info.

  • I am a programmer and I have just developed a groundbreaking online social networking online
    site. I was seeking beta test candidates to search
    and check it out. If you’d like to opt in? We intend to compensate you.

  • Thanks for one’s marvelous posting! I really enjoyed reading
    it, you happen to be a great author. I will
    be sure to bookmark your blog and may come back later on. I
    want to encourage yourself to continue your great
    work, have a nice weekend!

  • I have read so many articles regarding the blogger lovers but this piece
    of writing is genuinely a pleasant piece of writing, keep it up.

  • If you cannot seem to find them that way, you could always stop in at the actually meeting centers and get some more information. The only
    thing these ingredients offer happens to be excess weight.
    Pomegranate vinegar prevents the blood-sugar spikes that fuel fat storage.

    Also visit my site :: weight destroyer review

Leave a comment!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.

Code*: