By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,906 Members | 1,715 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,906 IT Pros & Developers. It's quick & easy.

How do I change control panel settings for Web Service User Account in XP

P: n/a
Sorry if this is in the wrong group, I've searched long & hard without
finding anything even slightly useful. (recommendations for a more
relevant group gratefuly received)

I need to change the settings for the default web service user account
so that sounds go through a sound card rather than the on-board sound.
I can do this simply when I'm logged in to my own user account by going
through control panel. If I can't log on as the Web Service account
then I can't get to Control Panel and so can't do it the same way.

Any advice would be gratefully received.
(Web service is vb.net running under XP Pro SP2)

Nov 23 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Hi,

Making a web service play sounds on a given machine or card is not
advisable. In multi-user scenarios (where each service request is a
different log-in) you will get unexpected collissions at the sound card.

If you MUST write a hardware dependent algorithm, you may want to use the
SDK that comes with the sound cards themselves, rather than rely on the
generic Windows sound interface in your code. For instance, Creative has
an SDK that lets you check to see if the card is available,and manipulate
it's capabilities directly. I haven't tried this, and I would expect
direct hardware access from a web service to be prevented by the service
sandboxing security.

Again, not advisable at all.

Best of luck

Dan Rogers
Microsoft Corporation
--------------------
From: pe****@bigfoot.com
Newsgroups: microsoft.public.dotnet.framework.webservices
Subject: How do I change control panel settings for Web Service User
Account in XP
Date: 20 Dec 2004 08:08:25 -0800
Organization: http://groups.google.com
Lines: 13
Message-ID: <11*********************@f14g2000cwb.googlegroups. com>
NNTP-Posting-Host: 81.144.201.214
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1103558910 22169 127.0.0.1 (20 Dec 2004
16:08:30 GMT)
X-Complaints-To: gr**********@google.com
NNTP-Posting-Date: Mon, 20 Dec 2004 16:08:30 +0000 (UTC)
User-Agent: G2/0.2
Complaints-To: gr**********@google.com
Injection-Info: f14g2000cwb.googlegroups.com; posting-host=81.144.201.214;
posting-account=hPZSSAwAAADGhAEdCOYXeiopISUHKO6m
Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFT NGP08.phx.gbl!news-out.cwi
x.com!newsfeed.cwix.com!news.maxwell.syr.edu!postn ews.google.com!f14g2000cwb
.googlegroups.com!not-for-mail
Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.webservices:8207
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices

Sorry if this is in the wrong group, I've searched long & hard without
finding anything even slightly useful. (recommendations for a more
relevant group gratefuly received)

I need to change the settings for the default web service user account
so that sounds go through a sound card rather than the on-board sound.
I can do this simply when I'm logged in to my own user account by going
through control panel. If I can't log on as the Web Service account
then I can't get to Control Panel and so can't do it the same way.

Any advice would be gratefully received.
(Web service is vb.net running under XP Pro SP2)
Nov 23 '05 #2

P: n/a
Thanks a million Dan, I know it could go crazy in a multi-user scenario
but it's just for a home audio solution so there's only me. I'm not
sufficiently technical to go down the SDK route so I'll keep looking.
I've managed to get it to use the correct card by disabling the
on-board but I still need to change the default device for Audio in the
Sounds & Audio devices option..

Dan Rogers wrote:
Hi,

Making a web service play sounds on a given machine or card is not
advisable. In multi-user scenarios (where each service request is a
different log-in) you will get unexpected collissions at the sound card.
If you MUST write a hardware dependent algorithm, you may want to use the SDK that comes with the sound cards themselves, rather than rely on the generic Windows


Nov 23 '05 #3

P: n/a
I think you're best off with just disabling the on-board sound.

Windows, as a multi-user operating system, keeps user specific settings in
a user hive in the registry. When nobody is logged in at the console,
there IS not place where this data is kept in memory - it is built when the
user logs in and their shell establishes an interactive login.

Because a user COULD log in and try and do something while a service or
non-winstation log-in is running, in general, background processes are not
given control over the local user settings in this way. Sound settings are
user settings because people could have different volume preferences, etc.

Sorry we couldn't find an easier way than the SDK route. There may be more
windows control in Media Center - but I can't be certain (I'm a WS guy, not
a media guy!)

Dan
--------------------
From: pe****@bigfoot.com
Newsgroups: microsoft.public.dotnet.framework.webservices
Subject: Re: How do I change control panel settings for Web Service User
Account in XP
Date: 20 Dec 2004 14:52:20 -0800
Organization: http://groups.google.com
Lines: 23
Message-ID: <11**********************@c13g2000cwb.googlegroups .com>
References: <11*********************@f14g2000cwb.googlegroups. com>
<Hx**************@cpmsftngxa10.phx.gbl>
NNTP-Posting-Host: 83.216.133.252
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1103583150 29332 127.0.0.1 (20 Dec 2004
22:52:30 GMT)
X-Complaints-To: gr**********@google.com
NNTP-Posting-Date: Mon, 20 Dec 2004 22:52:30 +0000 (UTC)
In-Reply-To: <Hx**************@cpmsftngxa10.phx.gbl>
User-Agent: G2/0.2
Complaints-To: gr**********@google.com
Injection-Info: c13g2000cwb.googlegroups.com; posting-host=83.216.133.252;
posting-account=hPZSSAwAAADGhAEdCOYXeiopISUHKO6m
Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFT NGP08.phx.gbl!news-out.cwi
x.com!newsfeed.cwix.com!news.maxwell.syr.edu!postn ews.google.com!c13g2000cwb
.googlegroups.com!not-for-mail
Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.webservices:8227
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices

Thanks a million Dan, I know it could go crazy in a multi-user scenario
but it's just for a home audio solution so there's only me. I'm not
sufficiently technical to go down the SDK route so I'll keep looking.
I've managed to get it to use the correct card by disabling the
on-board but I still need to change the default device for Audio in the
Sounds & Audio devices option..

Dan Rogers wrote:
Hi,

Making a web service play sounds on a given machine or card is not
advisable. In multi-user scenarios (where each service request is a
different log-in) you will get unexpected collissions at the sound card.
If you MUST write a hardware dependent algorithm, you may want to use the SDK that comes with the sound cards themselves, rather than rely on the generic Windows

Nov 23 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.