Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Remote Registry Rename
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Trev  
View profile  
 More options Mar 17, 12:41 pm
Newsgroups: microsoft.public.windows.powershell
From: Trev <trevor.do...@gmail.com>
Date: Tue, 17 Mar 2009 09:41:37 -0700 (PDT)
Local: Tues, Mar 17 2009 12:41 pm
Subject: Remote Registry Rename
I've been trying to Rename a registry Key on a remote system, I've
found info to do this locally but not remotely. Anyone know of a way
to do it, except for deleting and recreating?

Thanks


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Shay Levy [ MVP ]  
View profile  
 More options Mar 22, 8:03 am
Newsgroups: microsoft.public.windows.powershell
From: Shay Levy [MVP] <n...@addre.ss>
Date: Sun, 22 Mar 2009 12:03:51 +0000 (UTC)
Local: Sun, Mar 22 2009 8:03 am
Subject: Re: Remote Registry Rename
Hello Trev,

There is no builtin support to rename keys, you'll have to create/copy the
same key tree under a new name and then delete the *old* one.

---
Shay Levy
Windows PowerShell MVP
http://blogs.microsoft.co.il/blogs/ScriptFanatic
PowerShell Toolbar: http://tinyurl.com/PSToolbar

T> I've been trying to Rename a registry Key on a remote system, I've
T> found info to do this locally but not remotely. Anyone know of a way
T> to do it, except for deleting and recreating?
T>
T> Thanks
T>


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Vadims Podans  
View profile  
 More options Mar 22, 10:06 am
Newsgroups: microsoft.public.windows.powershell
From: "Vadims Podans" <vpodans>
Date: Sun, 22 Mar 2009 16:06:52 +0200
Local: Sun, Mar 22 2009 10:06 am
Subject: Re: Remote Registry Rename
It is too hard to accomplish this via PowerShell (.NET or WMI). However we
can easily use reg.exe utility:
$source = "hklm\software\abc"
$dest = "hklm\software\abcd"
$computer = "computer"
$a = reg copy \\$computer\$source \\$computer\$dest /s
if ($a) {reg delete \\$computer\$source /f} else {write-warning "some error
occurred"}

--
WBR, Vadims Podans
PowerShell blog - www.sysadmins.lv

"Shay Levy [MVP]" <n...@addre.ss> rakstīja ziņojumā
"news:37162f677444b8cb790e29bec81a@news.microsoft.com"...


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Shay Levy [ MVP ]  
View profile  
 More options Mar 22, 3:16 pm
Newsgroups: microsoft.public.windows.powershell
From: Shay Levy [MVP] <n...@addre.ss>
Date: Sun, 22 Mar 2009 19:16:14 +0000 (UTC)
Local: Sun, Mar 22 2009 3:16 pm
Subject: Re: Remote Registry Rename
Excellent.

---
Shay Levy
Windows PowerShell MVP
http://blogs.microsoft.co.il/blogs/ScriptFanatic
PowerShell Toolbar: http://tinyurl.com/PSToolbar

Vv> It is too hard to accomplish this via PowerShell (.NET or WMI).
Vv> However we
Vv> can easily use reg.exe utility:
Vv> $source = "hklm\software\abc"
Vv> $dest = "hklm\software\abcd"
Vv> $computer = "computer"
Vv> $a = reg copy \\$computer\$source \\$computer\$dest /s
Vv> if ($a) {reg delete \\$computer\$source /f} else {write-warning
Vv> "some error
Vv> occurred"}
Vv> "Shay Levy [MVP]" <n...@addre.ss> rakst?ja zi?ojum?
Vv> "news:37162f677444b8cb790e29bec81a@news.microsoft.com"...
Vv>


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google