Results 1 to 4 of 4

Thread: Unable to Playsound using valid user account

  1. #1
    Join Date
    Feb 2009
    Posts
    78

    Unable to Playsound using valid user account

    I can do this in XP, if the Windows Service is log on using a valid user account.

    But cannot get this to work in Vista.

    May I know what is missing?Can anyone help me...

    Thanks in advance

  2. #2
    Join Date
    Dec 2008
    Posts
    69

    Re: Unable to Playsound using valid user account

    Check Device Manager, any yellow ? or ! marks showing, report shows C-Media as sound adapter, check this to see if default driver

    Go to Control Panel / Sound & Audio Devices / Properties / Sound Playback – click on down arrow and check that the correct audio is selected. Typically the problem will be something “modem line 0 playback” has been substituted for the correct audio device.

    Hope this helps

  3. #3
    Join Date
    Jan 2009
    Posts
    125

    Re: Unable to Playsound using valid user account

    This has always been an issue, and I think the fact that it works on XP is more luck than anything else.

    Under Windows, only the active session which owns the desktop is allowed to play sound. Services exist in a separate session and do not have access to the desktop by default. The easiest solution is usually to have a client component that runs under the user session and communicates to your service. This client application need not be visible or even own a window. You can set the application to start automatically with the user logon. I don't think there is a way to play sounds anymore without a user logged on. I'm not
    read up on the Vista replacement for GINA.

  4. #4
    Join Date
    Dec 2008
    Posts
    70

    Re: Unable to Playsound using valid user account

    1st, user need this application running without logon to Windows.

    2nd, this application will continuously monitor event and boardcast via speaker (something like what you heard in Airport terminal).

Similar Threads

  1. Unable to see PNG files in user account except admin account
    By Baiju Bavara in forum Operating Systems
    Replies: 6
    Last Post: 02-07-2011, 09:56 AM
  2. Unable to access new user account in windows xp
    By Teesta in forum Operating Systems
    Replies: 4
    Last Post: 07-02-2011, 07:38 PM
  3. Unable to delete extra user account from XP
    By kolton in forum Operating Systems
    Replies: 4
    Last Post: 15-08-2010, 01:14 AM
  4. Standard User Account and User Account Controls Question
    By Susquehannock in forum Operating Systems
    Replies: 6
    Last Post: 06-08-2010, 06:08 AM
  5. Error 1609: User is not a valid user or group
    By !const in forum Operating Systems
    Replies: 3
    Last Post: 16-03-2009, 02:02 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,146,691.14452 seconds with 16 queries