Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Update > GetUserTokenFromSessionId failed with hr 0x800706d3

Reply
Thread Tools Display Modes

GetUserTokenFromSessionId failed with hr 0x800706d3

 
 
Nocturnal
Guest
Posts: n/a

 
      08-15-2005
What does the GetUserTokenFromSessionId mean?

--
Nocturnal



 
Reply With Quote
 
 
 
 
Robert Aldwinckle
Guest
Posts: n/a

 
      08-15-2005
"Nocturnal" <> wrote in message
news:...
> What does the GetUserTokenFromSessionId mean?


Maybe it's an internal function which happens to be implemented
with GetUserToken() method? SessionId is some derived class?

http://msdn.microsoft.com/library/de...tokentopic.asp

(Google web search for
intitle:GetUserToken site:microsoft.com
)

<quote>
When overridden in a derived class, returns the client's impersonation token.
</quote>


For an interpretation of the return code try converting the last 4 hex digits
to decimal (1747) and search for that:


http://msdn.microsoft.com/library/de...1700-3999_.asp

(Google web search for
(return OR error) code 1747 site:microsoft.com
)

<quote>
RPC_S_UNKNOWN_AUTHN_SERVICE
1747 The authentication service is unknown.

</quote>


Are you sure you have the right code? <eg>

Hmm... that's one that we have been speculating was related to
permissions. Perhaps it is really a symptom of a configuration
problem?

OTOH if it is a really a permissions problem and that fact wasn't
recognized soon enough this symptom could just be a case of GIGO.
What was the context?


Here is an excerpt from a recent reply I gave to another user
if you are interested in looking for better diagnostics.

<paste>
If you don't get anywhere trying to change permissions (e.g. the way that
others have done successfully) I would try adding /verbose to the
command line options of a manual install and see if that gives you any
clearer picture of what's wrong. Note: so far people who have tried this
suggestion with me haven't had much luck finding where the /verbose
log is going. In that case I have suggested that they do a file find
(e.g. Win-F) for all files which were changed on the day of the update
and sort that result by Date Modified (thus sorting the list by timestamp
and allowing you to see files listed within the minutes that the install
was active.) Alternatively or in addition, I would run FileMon filtering on
SoftwareDistribution;Update;CatRoot to supplement (and identify) any
logs which the install produces. There is also a verbose option for the
download and install (if done by WU) documented in KB902093.


HTH

Robert Aldwinckle
---
</paste>


 
Reply With Quote
 
Nocturnal
Guest
Posts: n/a

 
      08-16-2005
Robert I've read all of your replies, I almost know each one like the back
of my hand. I have had no luck with attempting to change the permissions,
to installing this file to re-registring this .dll. It's really been a
hassle and I'm finally going to just cut my loses tomorrow as I go into work
and let the client know that is all I can do. The client is unable to find
her Windows 2000 CD and without that I can't do a SFC /Scannow nor can I do
an overlay of the OS which normally solves this issue.

--
Nocturnal


"Robert Aldwinckle" <> wrote in message
news:...
> "Nocturnal" <> wrote in message
> news:...
>> What does the GetUserTokenFromSessionId mean?

>
> Maybe it's an internal function which happens to be implemented
> with GetUserToken() method? SessionId is some derived class?
>
> http://msdn.microsoft.com/library/de...tokentopic.asp
>
> (Google web search for
> intitle:GetUserToken site:microsoft.com
> )
>
> <quote>
> When overridden in a derived class, returns the client's impersonation
> token.
> </quote>
>
>
> For an interpretation of the return code try converting the last 4 hex
> digits
> to decimal (1747) and search for that:
>
>
> http://msdn.microsoft.com/library/de...1700-3999_.asp
>
> (Google web search for
> (return OR error) code 1747 site:microsoft.com
> )
>
> <quote>
> RPC_S_UNKNOWN_AUTHN_SERVICE
> 1747 The authentication service is unknown.
>
> </quote>
>
>
> Are you sure you have the right code? <eg>
>
> Hmm... that's one that we have been speculating was related to
> permissions. Perhaps it is really a symptom of a configuration
> problem?
>
> OTOH if it is a really a permissions problem and that fact wasn't
> recognized soon enough this symptom could just be a case of GIGO.
> What was the context?
>
>
> Here is an excerpt from a recent reply I gave to another user
> if you are interested in looking for better diagnostics.
>
> <paste>
> If you don't get anywhere trying to change permissions (e.g. the way that
> others have done successfully) I would try adding /verbose to the
> command line options of a manual install and see if that gives you any
> clearer picture of what's wrong. Note: so far people who have tried
> this
> suggestion with me haven't had much luck finding where the /verbose
> log is going. In that case I have suggested that they do a file find
> (e.g. Win-F) for all files which were changed on the day of the update
> and sort that result by Date Modified (thus sorting the list by timestamp
> and allowing you to see files listed within the minutes that the install
> was active.) Alternatively or in addition, I would run FileMon
> filtering on
> SoftwareDistribution;Update;CatRoot to supplement (and identify) any
> logs which the install produces. There is also a verbose option for the
> download and install (if done by WU) documented in KB902093.
>
>
> HTH
>
> Robert Aldwinckle
> ---
> </paste>
>
>



 
Reply With Quote
 
Robert Aldwinckle
Guest
Posts: n/a

 
      08-16-2005
"Nocturnal" <> wrote in message
news:...
> Robert I've read all of your replies, I almost know each one like the back
> of my hand. I have had no luck with attempting to change the permissions,
> to installing this file to re-registring this .dll.


Then I shouldn't have to repeat this excerpt from my latest reply
in Raymond's thread (which you once posted in).
If it looks familiar it's because it is a refinement of a previous reply
which I included in my first reply to you but which you have not
referred to. <eg>

<quote>

The problem has always been that we don't have sufficient information
about the cause of the failure to really know what to suggest.
And so far, we haven't had anybody who has the problem willing to do
the necessary diagnosis to figure out what the real underlying problem
symptoms are so we can devise a more appropriate repair procedure.


>
> Running Win 2000 Sp4 with admin authority
> Got error "80070005 :wuauclt handler: failed to spawn COM server" from
> update log. Tried following links from this news group but no luck.


http://groups-beta.google.com/groups...t=0&scoring=d&

(Google Groups search for
"failed to spawn COM server" group:microsoft.*
- ordered by date to capture current thinking
)

Agreed. This is different from some of the other 0x80070005 cases
However, at least one user claims that changing permissions solves it:

http://groups-beta.google.com/group/...3d501a93606ea0

(in a thread from the second result page of the above search)


If you don't get anywhere trying to change permissions (e.g. the way that
others have done successfully) I would try adding /verbose to the
command line options of a manual install (as described above)
and see if that gives you any clearer picture of what's wrong.
Note: so far people who have tried this suggestion with me haven't had
much luck finding where the /verbose log is going. In that case I have
suggested that they do a file find (e.g. Win-F) for all files which were
changed on the day of the update and sort that result by Date Modified
(thus sorting the list by timestamp and allowing you to see files listed within
the minutes that the install was active.) Alternatively or in addition, I would
run FileMon filtering on SoftwareDistribution;Update;CatRoot to supplement
(and identify) any logs which the install produces. There is also a verbose
option for the download and install (if done by WU) documented in KB902093.

In order to get the best match for install log records with FileMon trace
entries it is very useful to use FileMon's Clock Time and Milleseconds
options. E.g. provided the FileMon filter includes writes to the install log
you will then see a timestamp down to the millesecond tied to the length
of an install log record. Then it is simply a matter of checking the length
of the records in that context to figure out what the more accurate timestamp
for that install record would be. This is particularly useful if you are doing
concurrent RegMon tracing with the same options set. E.g. then you can
match a context of the FileMon trace with a context of the RegMon trace.

Hopefully a /verbose log would have sufficient context but the FileMon
and RegMon idea is more general and may still be necessary if it turns
out that there is insufficient detail even in the /verbose log.


HTH

Robert Aldwinckle
---
</quote>


> It's really been a
> hassle and I'm finally going to just cut my loses tomorrow as I go into work
> and let the client know that is all I can do. The client is unable to find
> her Windows 2000 CD and without that I can't do a SFC /Scannow nor can I do
> an overlay of the OS which normally solves this issue.
>
> --
> Nocturnal
>
>
> "Robert Aldwinckle" <> wrote in message
> news:...
>> "Nocturnal" <> wrote in message
>> news:...
>>> What does the GetUserTokenFromSessionId mean?

>>
>> Maybe it's an internal function which happens to be implemented
>> with GetUserToken() method? SessionId is some derived class?
>>
>> http://msdn.microsoft.com/library/de...tokentopic.asp
>>
>> (Google web search for
>> intitle:GetUserToken site:microsoft.com
>> )
>>
>> <quote>
>> When overridden in a derived class, returns the client's impersonation
>> token.
>> </quote>
>>
>>
>> For an interpretation of the return code try converting the last 4 hex
>> digits
>> to decimal (1747) and search for that:
>>
>>
>> http://msdn.microsoft.com/library/de...1700-3999_.asp
>>
>> (Google web search for
>> (return OR error) code 1747 site:microsoft.com
>> )
>>
>> <quote>
>> RPC_S_UNKNOWN_AUTHN_SERVICE
>> 1747 The authentication service is unknown.
>>
>> </quote>
>>
>>
>> Are you sure you have the right code? <eg>
>>
>> Hmm... that's one that we have been speculating was related to
>> permissions. Perhaps it is really a symptom of a configuration
>> problem?
>>
>> OTOH if it is a really a permissions problem and that fact wasn't
>> recognized soon enough this symptom could just be a case of GIGO.
>> What was the context?
>>
>>
>> Here is an excerpt from a recent reply I gave to another user
>> if you are interested in looking for better diagnostics.
>>
>> <paste>
>> If you don't get anywhere trying to change permissions (e.g. the way that
>> others have done successfully) I would try adding /verbose to the
>> command line options of a manual install and see if that gives you any
>> clearer picture of what's wrong. Note: so far people who have tried
>> this
>> suggestion with me haven't had much luck finding where the /verbose
>> log is going. In that case I have suggested that they do a file find
>> (e.g. Win-F) for all files which were changed on the day of the update
>> and sort that result by Date Modified (thus sorting the list by timestamp
>> and allowing you to see files listed within the minutes that the install
>> was active.) Alternatively or in addition, I would run FileMon
>> filtering on
>> SoftwareDistribution;Update;CatRoot to supplement (and identify) any
>> logs which the install produces. There is also a verbose option for the
>> download and install (if done by WU) documented in KB902093.
>>
>>
>> HTH
>>
>> Robert Aldwinckle
>> ---
>> </paste>
>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
failed RAID mirror - both drives failed dryguy Windows Vista Hardware 4 05-25-2008 12:24 AM
RC1 upgrade failed... roll back failed... help? theDon Windows Vista General Discussion 1 09-26-2006 03:06 PM
Installation Failed at Extracting Files - rollback failed dismally CrAy-Z Windows Vista Installation 0 06-25-2006 03:14 AM
GetUserTokenFromSessionId failed with hr 0x800704dd Chango V. Windows Update 1 04-10-2005 11:38 AM
windows update, says failed, no errors, just failed john Windows Update 2 08-25-2003 08:42 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59