A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Performance and Maintainance of XP
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

runas issue



 
 
Thread Tools Display Modes
  #1  
Old August 7th 08, 03:04 AM posted to microsoft.public.windowsxp.perform_maintain
Andy
external usenet poster
 
Posts: 96
Default runas issue

hi,folks,recently,i met a system(winxp Pro sp2) probelm from user's
desktop:in my company,non-it employees are downgraded to Power Users,not
Administrators,so sometimes when we do troubleshooting,we need to run
applications as "administrator" by using "runas",but after I type in the
password and then system prompts that the password I entered is not
right,while I can log on to the operation system by using "administrator"
with the same password ,so i wanna know what issue causes this situation? THX.
Ads
  #2  
Old August 12th 08, 06:30 PM posted to microsoft.public.windowsxp.perform_maintain
LeftFoot
external usenet poster
 
Posts: 6
Default runas issue

Sorry for the late reply. Hope you've got this resolved by now. If not, is it
possible that the user name is being used in two different contexts? In other
words, local vs. domain account?

"andy" wrote:

hi,folks,recently,i met a system(winxp Pro sp2) probelm from user's
desktop:in my company,non-it employees are downgraded to Power Users,not
Administrators,so sometimes when we do troubleshooting,we need to run
applications as "administrator" by using "runas",but after I type in the
password and then system prompts that the password I entered is not
right,while I can log on to the operation system by using "administrator"
with the same password ,so i wanna know what issue causes this situation? THX.

  #3  
Old August 13th 08, 03:24 AM posted to microsoft.public.windowsxp.perform_maintain
Andy
external usenet poster
 
Posts: 96
Default runas issue

thx for your reply.
this pc hasn't been joined to domain yet,just in Workgroup,and the user i
need to use to run the command "runas" is local user:Administrator with its
own password.
By now,This case has been resolved ,resolution:creating another local
user(also belongs to local group:Power Uers) for employee on this pc,and then
i can run the command "runas" by lcoal user "Administrator" with password
normally on this new user's context,but i don't know why,i guess this issue
may be caused by user's profile problem.
who can kindly tell me why?
"LeftFoot" wrote:

Sorry for the late reply. Hope you've got this resolved by now. If not, is it
possible that the user name is being used in two different contexts? In other
words, local vs. domain account?

"andy" wrote:

hi,folks,recently,i met a system(winxp Pro sp2) probelm from user's
desktop:in my company,non-it employees are downgraded to Power Users,not
Administrators,so sometimes when we do troubleshooting,we need to run
applications as "administrator" by using "runas",but after I type in the
password and then system prompts that the password I entered is not
right,while I can log on to the operation system by using "administrator"
with the same password ,so i wanna know what issue causes this situation? THX.

  #4  
Old August 13th 08, 11:26 AM posted to microsoft.public.windowsxp.perform_maintain
LeftFoot
external usenet poster
 
Posts: 6
Default runas issue

I'm glad you resolved the issue, even if the solution wasn't particularly
pleasing to you.

My only guess concerning the odd behavior is to wonder if the first power
user account was at one time an admin account and was changed to power user.
If so, did that leave only the built-in admin user? WinXP has these funny
"preferences" for having two admin accounts, and it seems to get particularly
petulant when it is given a second admin account and then that second admin
account is taken away.

Only other thing I can think of is that the use of the Special Accounts
setting in the registry to hide an admin account at the Welcome screen (I
don't use Welcome screen on any of our systems, but I have seen this done on
other folks' systems.) can leave you able to log on to a hidden account but
NOT able to use it or see it from many parts of the OS, like the user
accounts management applet, for instance. If it's set, I wonder if it also
precludes use of the account with the run as function? I don't know. I might
do a test on a spare system (if I can find one) today to find out.

"andy" wrote:

thx for your reply.
this pc hasn't been joined to domain yet,just in Workgroup,and the user i
need to use to run the command "runas" is local user:Administrator with its
own password.
By now,This case has been resolved ,resolution:creating another local
user(also belongs to local group:Power Uers) for employee on this pc,and then
i can run the command "runas" by lcoal user "Administrator" with password
normally on this new user's context,but i don't know why,i guess this issue
may be caused by user's profile problem.
who can kindly tell me why?
"LeftFoot" wrote:

Sorry for the late reply. Hope you've got this resolved by now. If not, is it
possible that the user name is being used in two different contexts? In other
words, local vs. domain account?

"andy" wrote:

hi,folks,recently,i met a system(winxp Pro sp2) probelm from user's
desktop:in my company,non-it employees are downgraded to Power Users,not
Administrators,so sometimes when we do troubleshooting,we need to run
applications as "administrator" by using "runas",but after I type in the
password and then system prompts that the password I entered is not
right,while I can log on to the operation system by using "administrator"
with the same password ,so i wanna know what issue causes this situation? THX.

  #5  
Old August 14th 08, 07:59 AM posted to microsoft.public.windowsxp.perform_maintain
Andy
external usenet poster
 
Posts: 96
Default runas issue

hi,leftfoot,firstly,thx for ur timely response.
Originally,employee user was local admin account(so there were total two
local admin accounts including the built-in admin account
"Administrator"),and a few months ago,we IT personnels have to downgrade them
to Power Users per new company policy,so then only one local built-in admin
accout "Administrator" left in OS.
You mentioned that winxp has some funny "preferences" when it has two local
admin accounts,and the system may get particularly peculant after we take
away the second local admin accout from local Administrators---I am not clear
about this point,could u kindly tell me what are these funny
"preferences",and why only a couple of pcs encounter this issue,not all
pcs?----and there is no any special accounts setting in registry.Thx.
"LeftFoot" wrote:

I'm glad you resolved the issue, even if the solution wasn't particularly
pleasing to you.

My only guess concerning the odd behavior is to wonder if the first power
user account was at one time an admin account and was changed to power user.
If so, did that leave only the built-in admin user? WinXP has these funny
"preferences" for having two admin accounts, and it seems to get particularly
petulant when it is given a second admin account and then that second admin
account is taken away.

Only other thing I can think of is that the use of the Special Accounts
setting in the registry to hide an admin account at the Welcome screen (I
don't use Welcome screen on any of our systems, but I have seen this done on
other folks' systems.) can leave you able to log on to a hidden account but
NOT able to use it or see it from many parts of the OS, like the user
accounts management applet, for instance. If it's set, I wonder if it also
precludes use of the account with the run as function? I don't know. I might
do a test on a spare system (if I can find one) today to find out.

"andy" wrote:

thx for your reply.
this pc hasn't been joined to domain yet,just in Workgroup,and the user i
need to use to run the command "runas" is local user:Administrator with its
own password.
By now,This case has been resolved ,resolution:creating another local
user(also belongs to local group:Power Uers) for employee on this pc,and then
i can run the command "runas" by lcoal user "Administrator" with password
normally on this new user's context,but i don't know why,i guess this issue
may be caused by user's profile problem.
who can kindly tell me why?
"LeftFoot" wrote:

Sorry for the late reply. Hope you've got this resolved by now. If not, is it
possible that the user name is being used in two different contexts? In other
words, local vs. domain account?

"andy" wrote:

hi,folks,recently,i met a system(winxp Pro sp2) probelm from user's
desktop:in my company,non-it employees are downgraded to Power Users,not
Administrators,so sometimes when we do troubleshooting,we need to run
applications as "administrator" by using "runas",but after I type in the
password and then system prompts that the password I entered is not
right,while I can log on to the operation system by using "administrator"
with the same password ,so i wanna know what issue causes this situation? THX.

  #6  
Old August 14th 08, 11:52 AM posted to microsoft.public.windowsxp.perform_maintain
LeftFoot
external usenet poster
 
Posts: 6
Default runas issue

Hi, andy.

I wish my information on this were more clear to me, as well. I can't give you
a definitive accouting of what happens and why it happens, but I'll try to
illustrate what I mean.

First of all, I have never seen this happen on any member systems of domains
that I admin, only on workgroup members. Since these individual systems were
not under my direct control but were brought to me for rescue maintenance, I
cannot claim to have a really solid history on them. That being said, in a
couple of cases the users on the boxes have well above ordinary user level of
knowledge of operating system and software behaviors (mostly developers, and
good ones at that).

Typical story is that the user supplied a password for the built-in admin
during installation of the OS, then added a new user at the subsequent setup
screen that asks the installer to add names of users. Naturally, that first
new user is an admin user. Later on we mention that we would like for these
folks to use restricted user accounts for any operations that don't strictly
require admin privs. The user logs on as the built-in admin and goes through
the Run dialog to crank up the userpasswords2 applet instead of using the
ordinary User Accounts applet. (The regular applet doesn't allow you to change
the second admin account to a restricted user, but you can accomplish it via
this method.) Voila! Now you have a machine which at one time had the proper
number of admin accounts, and now it has only the original built-in account
and one restricted user account.

At some point the user now decides to change the password on his restricted
account. He logs on as the admin and goes to the regular User Accounts applet.
His regular account isn't listed! He goes into control userpasswords2, and it
isn't listed there, either! But he can't add the user because the applet says
the user account already exists. The profile storage location is intact, and
he can log on to the restricted account, but he can't administer the account
via any normal means. (Well, he could change his password, for instance, by
using Ctrl-Alt-Del from a logged in session on the account and choosing
change Password there, but he is freaked out at this point because his dev
box isn't acting properly.)

Bear in mind that we would have seen the effect immediately if any of our
people used the Welcome screen. We all use policy to enforce use of Ctrl-Alt
-Del dialog for logon. I know this because I turn on the Welcome screen, and
the restricted account is not listed. I can still log on to it, however, by
using the trick one normally uses at the Welcome screen for logging on to the
built-in admin account, by hitting Ctrl-Alt-Del twice.

At this point the fix is to add another admin account, and to go into the
registry Special Accounts section and change the DWORD value for the mal-
functioning account from 1 to 0. Now the user has his restricted account back,
and he can admin it properly.

I saw this happen on several boxes within a few weeks following mandate by
company policy that the devs change their accounts to restricted level, so I
I know that the behavior isn't isolated. WinXP likes to hide the built-in
admin account, of course. But this is like the OS becomes "frustrated"
because it can't do that, so it hides the only other account on the box.

I know it's weird of me to personify the OS by talking about its preferences
and about it being frustrated, but I think this behavior was clearly not
intended by Microsoft. It's just an idiosyncracy brought out by using the
OS in a manner they hadn't anticipated.

I have not tested to see if runas from a restricted user account will work
on a system with only the built-in admin. Obviously the hidden special
account issue isn't happening on the system you're describing, but the
history you relate suggests that the issue may have something to do with
the account having been an admin account at one time before having its
privilege level reduced.

"andy" wrote:

hi,leftfoot,firstly,thx for ur timely response.
Originally,employee user was local admin account(so there were total two
local admin accounts including the built-in admin account
"Administrator"),and a few months ago,we IT personnels have to downgrade them
to Power Users per new company policy,so then only one local built-in admin
accout "Administrator" left in OS.
You mentioned that winxp has some funny "preferences" when it has two local
admin accounts,and the system may get particularly peculant after we take
away the second local admin accout from local Administrators---I am not clear
about this point,could u kindly tell me what are these funny
"preferences",and why only a couple of pcs encounter this issue,not all
pcs?----and there is no any special accounts setting in registry.Thx.
"LeftFoot" wrote:

I'm glad you resolved the issue, even if the solution wasn't particularly
pleasing to you.

My only guess concerning the odd behavior is to wonder if the first power
user account was at one time an admin account and was changed to power user.
If so, did that leave only the built-in admin user? WinXP has these funny
"preferences" for having two admin accounts, and it seems to get particularly
petulant when it is given a second admin account and then that second admin
account is taken away.

Only other thing I can think of is that the use of the Special Accounts
setting in the registry to hide an admin account at the Welcome screen (I
don't use Welcome screen on any of our systems, but I have seen this done on
other folks' systems.) can leave you able to log on to a hidden account but
NOT able to use it or see it from many parts of the OS, like the user
accounts management applet, for instance. If it's set, I wonder if it also
precludes use of the account with the run as function? I don't know. I might
do a test on a spare system (if I can find one) today to find out.

"andy" wrote:

thx for your reply.
this pc hasn't been joined to domain yet,just in Workgroup,and the user i
need to use to run the command "runas" is local user:Administrator with its
own password.
By now,This case has been resolved ,resolution:creating another local
user(also belongs to local group:Power Uers) for employee on this pc,and then
i can run the command "runas" by lcoal user "Administrator" with password
normally on this new user's context,but i don't know why,i guess this issue
may be caused by user's profile problem.
who can kindly tell me why?
"LeftFoot" wrote:

Sorry for the late reply. Hope you've got this resolved by now. If not, is it
possible that the user name is being used in two different contexts? In other
words, local vs. domain account?

"andy" wrote:

hi,folks,recently,i met a system(winxp Pro sp2) probelm from user's
desktop:in my company,non-it employees are downgraded to Power Users,not
Administrators,so sometimes when we do troubleshooting,we need to run
applications as "administrator" by using "runas",but after I type in the
password and then system prompts that the password I entered is not
right,while I can log on to the operation system by using "administrator"
with the same password ,so i wanna know what issue causes this situation? THX.

 




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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 03:28 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.