Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > W7 user right from the command line?

Reply
Thread Tools Display Modes

W7 user right from the command line?

 
 
ToddAndMargo
Guest
Posts: n/a

 
      01-29-2009
Hi All,

I just installed W7 beta in a virtual machine.
I want to run "slmgr -rearm" from the command line.
But, get tagged with "Access Denied: the requested
action required elevated privileges".

Under Linux, this is solved with the "su"
(switch user) command. For instance:
su todd -c "whoami"
will prompt for Todd's password and run the
"whoami" (todd, duh) command.

Does W7 have anything similar? If not, how
do I run "slmgr -rearm" as administrator?

Many thanks,
-T
 
Reply With Quote
 
 
 
 
Steve McGarrett
Guest
Posts: n/a

 
      01-29-2009
On Wed, 28 Jan 2009 19:52:48 -0800, ToddAndMargo
<> wrote:

>Hi All,
>
> I just installed W7 beta in a virtual machine.
>I want to run "slmgr -rearm" from the command line.
>But, get tagged with "Access Denied: the requested
>action required elevated privileges".
>
> Under Linux, this is solved with the "su"
>(switch user) command. For instance:
> su todd -c "whoami"
>will prompt for Todd's password and run the
>"whoami" (todd, duh) command.
>
>Does W7 have anything similar? If not, how
>do I run "slmgr -rearm" as administrator?


Direct this and all future W7 requests/comments to

http://social.technet.microsoft.com/...egory/w7itpro/
 
Reply With Quote
 
Gene E. Bloch
Guest
Posts: n/a

 
      01-29-2009
On Wed, 28 Jan 2009 19:52:48 -0800, ToddAndMargo wrote:

> Hi All,
>
> I just installed W7 beta in a virtual machine.
> I want to run "slmgr -rearm" from the command line.
> But, get tagged with "Access Denied: the requested
> action required elevated privileges".
>
> Under Linux, this is solved with the "su"
> (switch user) command. For instance:
> su todd -c "whoami"
> will prompt for Todd's password and run the
> "whoami" (todd, duh) command.
>
> Does W7 have anything similar? If not, how
> do I run "slmgr -rearm" as administrator?
>
> Many thanks,
> -T


Try running the command window in elevated mode. I think if you right-click
on the shortcut for cmd and choose "Run as administrator" you'll be ok.
There's another way, but at the moment I can't think of it, sorry.

--
Gene E. Bloch letters0x40blochg0x2Ecom
 
Reply With Quote
 
ToddAndMargo
Guest
Posts: n/a

 
      01-29-2009
Steve McGarrett wrote:
> On Wed, 28 Jan 2009 19:52:48 -0800, ToddAndMargo
> <> wrote:
>
>> Hi All,
>>
>> I just installed W7 beta in a virtual machine.
>> I want to run "slmgr -rearm" from the command line.
>> But, get tagged with "Access Denied: the requested
>> action required elevated privileges".
>>
>> Under Linux, this is solved with the "su"
>> (switch user) command. For instance:
>> su todd -c "whoami"
>> will prompt for Todd's password and run the
>> "whoami" (todd, duh) command.
>>
>> Does W7 have anything similar? If not, how
>> do I run "slmgr -rearm" as administrator?

>
> Direct this and all future W7 requests/comments to
>
> http://social.technet.microsoft.com/...egory/w7itpro/


Hi Steve,

Great link. Thank you!

-T
 
Reply With Quote
 
Tyro
Guest
Posts: n/a

 
      01-29-2009
This is not a Windows 7 newsgroup. Close observation on your part would
reveal to you that it is a Windows Vista newsgroup.

Tyro

"ToddAndMargo" <> wrote in message
news:...
> Hi All,
>
> I just installed W7 beta in a virtual machine.
> I want to run "slmgr -rearm" from the command line.
> But, get tagged with "Access Denied: the requested
> action required elevated privileges".
>
> Under Linux, this is solved with the "su"
> (switch user) command. For instance:
> su todd -c "whoami"
> will prompt for Todd's password and run the
> "whoami" (todd, duh) command.
>
> Does W7 have anything similar? If not, how
> do I run "slmgr -rearm" as administrator?
>
> Many thanks,
> -T


 
Reply With Quote
 
measekite
Guest
Posts: n/a

 
      01-29-2009
On Thu, 29 Jan 2009 06:25:03 +0200, Fibonacci number wrote:

> ToddAndMargo wrote:
>> Hi All,
>>
>> I just installed W7 beta in a virtual machine.
>> I want to run "slmgr -rearm" from the command line.
>> But, get tagged with "Access Denied: the requested
>> action required elevated privileges".
>>
>> Under Linux, this is solved with the "su"
>> (switch user) command. For instance:
>> su todd -c "whoami"
>> will prompt for Todd's password and run the
>> "whoami" (todd, duh) command.
>>
>> Does W7 have anything similar? If not, how
>> do I run "slmgr -rearm" as administrator?
>>
>> Many thanks,
>> -T

>
>
> this is not a windows 7 newsgroup
> in here you will find idiots like frank and spanky de monkey though.


Do you think that Frankie Crankie is Da Jerk?


Do you believe that spanky de monkey is really Spanky Da Baboon and is
also Da LambChop?

Do you believe that Da Jerk went out with Da LambShank, Da LambChop's
daddy) and that is why Da Jerk is mentoring Da LambChop?
 
Reply With Quote
 
measekite
Guest
Posts: n/a

 
      01-29-2009
On Wed, 28 Jan 2009 21:43:15 -0800, FBonWin7b1x64 wrote:

> capin' crunch, the idiot help desk worker (loser) wrote:
>
> this is not a windows 7 newsgroup
> in here you will find me, capin' crunch, the idiot help desk worker
> (loser).


Wow, now Frank is calling himself capin' crunch and an idiot. I have to
agree with that.
 
Reply With Quote
 
Alias
Guest
Posts: n/a

 
      01-29-2009
measekite wrote:
> On Wed, 28 Jan 2009 21:43:15 -0800, FBonWin7b1x64 wrote:
>
>> capin' crunch, the idiot help desk worker (loser) wrote:
>>
>> this is not a windows 7 newsgroup
>> in here you will find me, capin' crunch, the idiot help desk worker
>> (loser).

>
> Wow, now Frank is calling himself capin' crunch and an idiot. I have to
> agree with that.


Me too.

Alias
 
Reply With Quote
 
Alias
Guest
Posts: n/a

 
      01-29-2009
Steve McGarrett wrote:
> On Wed, 28 Jan 2009 19:52:48 -0800, ToddAndMargo
> <> wrote:
>
>> Hi All,
>>
>> I just installed W7 beta in a virtual machine.
>> I want to run "slmgr -rearm" from the command line.
>> But, get tagged with "Access Denied: the requested
>> action required elevated privileges".
>>
>> Under Linux, this is solved with the "su"
>> (switch user) command. For instance:
>> su todd -c "whoami"
>> will prompt for Todd's password and run the
>> "whoami" (todd, duh) command.
>>
>> Does W7 have anything similar? If not, how
>> do I run "slmgr -rearm" as administrator?

>
> Direct this and all future W7 requests/comments to
>
> http://social.technet.microsoft.com/...egory/w7itpro/


Yeah, MS wants to make sure they can censor you.

Alias
 
Reply With Quote
 
ToddAndMargo
Guest
Posts: n/a

 
      01-29-2009
Gene E. Bloch wrote:
> On Wed, 28 Jan 2009 19:52:48 -0800, ToddAndMargo wrote:
>
>> Hi All,
>>
>> I just installed W7 beta in a virtual machine.
>> I want to run "slmgr -rearm" from the command line.
>> But, get tagged with "Access Denied: the requested
>> action required elevated privileges".
>>
>> Under Linux, this is solved with the "su"
>> (switch user) command. For instance:
>> su todd -c "whoami"
>> will prompt for Todd's password and run the
>> "whoami" (todd, duh) command.
>>
>> Does W7 have anything similar? If not, how
>> do I run "slmgr -rearm" as administrator?
>>
>> Many thanks,
>> -T

>
> Try running the command window in elevated mode. I think if you right-click
> on the shortcut for cmd and choose "Run as administrator" you'll be ok.
> There's another way, but at the moment I can't think of it, sorry.


I could not figure out how to get the parameter (-rearm) added to the
right click method. Any way to elevate and add a parameter?
 
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
What is the command line command for unzipping files? Jim H Windows Vista General Discussion 3 12-04-2008 03:22 AM
Command Line Ren (Rename) command broken? SixSigmaGuy Windows Vista General Discussion 5 05-20-2008 10:52 AM
XP command line Qfreed Windows Vista Networking 2 08-25-2007 02:31 PM
Fast User Switching via Command Line or Batch File? Woody45 Windows Vista General Discussion 1 03-17-2007 05:52 PM
Fast User Switching via Command Line or Batch File? Woody45 Windows Vista Administration 0 02-27-2007 09:09 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