How can I change local admin pwd w/o going to the machines? I don't wont my
pwd to be visible if I am pushing via GPO, BAT or Script?

How would Microsoft do this, do they rely on third party, my guess No????

Advise Please.

Re: Change local Admin Pwd - [WP] by Jeffery

Jeffery
Fri Jan 26 10:07:45 CST 2007

On Fri, 26 Jan 2007 06:56:02 -0800, WILDPACKET wrote:

> How can I change local admin pwd w/o going to the machines? I don't wont my
> pwd to be visible if I am pushing via GPO, BAT or Script?
>
> How would Microsoft do this, do they rely on third party, my guess No????
>
> Advise Please.

I wrote a Mr. Roboto column for REDMOND Magazine on this very topic
(http://redmondmag.com/columns/article.asp?EditorialsID=1594). The tool I
developed is at http://jdhitsolutions.com/pwdman/index.htm. I recommend you
read the columnn before using the tool.
--
Jeffery Hicks
SAPIEN Technologies - Scripting, Simplified. www.SAPIEN.com
VBScript & Windows PowerShell Training -
www.ScriptingTraining.com/classes.asp
Windows PowerShell? - www.SAPIENPress.com/powershell.asp

blog: http://blog.SAPIEN.com
blog: http://jdhitsolutions.blogspot.com

Re: Change local Admin Pwd - [WP] by E

E
Fri Jan 26 20:00:30 CST 2007

I sometimes think I should merry HTAs, I love them, but I can't stand them. I can't seem to figure
out how to make them. Also, how do you get output within the same page. I havnt seen an example I
can follow, including my favorite "The Scriptin Guys".

Jeffery Hicks wrote:
> On Fri, 26 Jan 2007 06:56:02 -0800, WILDPACKET wrote:
>
>> How can I change local admin pwd w/o going to the machines? I don't wont my
>> pwd to be visible if I am pushing via GPO, BAT or Script?
>>
>> How would Microsoft do this, do they rely on third party, my guess No????
>>
>> Advise Please.
>
> I wrote a Mr. Roboto column for REDMOND Magazine on this very topic
> (http://redmondmag.com/columns/article.asp?EditorialsID=1594). The tool I
> developed is at http://jdhitsolutions.com/pwdman/index.htm. I recommend you
> read the columnn before using the tool.

Re: Change local Admin Pwd - [WP] by Paul

Paul
Sat Jan 27 00:56:19 CST 2007


"E C H (He of too much code)" <glasswalkertheurge@juno.com> wrote in message
news:egfUzbbQHHA.3304@TK2MSFTNGP03.phx.gbl...
>I sometimes think I should merry HTAs, I love them, but I can't stand them.
>I can't seem to figure out how to make them. Also, how do you get output
>within the same page. I havnt seen an example I can follow, including my
>favorite "The Scriptin Guys".
>
Wouldn't it be nice if there were some kind of tool to help you write HTAs?
It would be called HTA Helpomatic. If we are lucky, Outlook Express has
included a link to it.

http://www.microsoft.com/downloads/info.aspx?na=47&p=4&SrcDisplayLang=en&SrcCategoryId=&SrcFamilyId=890cd06b-abf8-4c25-91b2-f8d975cf8c07&u=details.aspx%3ffamilyid%3d231D8143-F21B-4707-B583-AE7B9152E6D9%26displaylang%3den

-Paul Randall



Re: Change local Admin Pwd - [WP] by E

E
Sun Jan 28 09:49:02 CST 2007

I have tried this before, I will try again. Thanks

Paul Randall wrote:
<SNIP>
>>
> Wouldn't it be nice if there were some kind of tool to help you write HTAs?
> It would be called HTA Helpomatic. If we are lucky, Outlook Express has
> included a link to it.
>
<SNIP>
>
> -Paul Randall
>
>

Re: Change local Admin Pwd - [WP] by E

E
Sun Jan 28 22:04:18 CST 2007

I am trying to duplicate an object innderdev type effect in my hta. Ok, might not make sense. I
have a bunch of HTML code dumped into a variable. I would like that variable to be output to the
HTA, then updated programatically. Your help would be greatly appreciated.

E C H (He of too much code) wrote:
> I have tried this before, I will try again. Thanks
>
> Paul Randall wrote:
> <SNIP>
>>>
>> Wouldn't it be nice if there were some kind of tool to help you write
>> HTAs?
>> It would be called HTA Helpomatic. If we are lucky, Outlook Express
>> has included a link to it.
>>
> <SNIP>
>>
>> -Paul Randall
>>

Re: Change local Admin Pwd - [WP] by Ayush

Ayush
Sun Jan 28 22:44:34 CST 2007

Replied to [E C H (He of too much code)]s message :
> I am trying to duplicate an object innderdev type effect in my hta. Ok,
> might not make sense. I have a bunch of HTML code dumped into a
> variable. I would like that variable to be output to the HTA, then
> updated programatically. Your help would be greatly appreciated.

/element/.innerHTML="someHtml code" OR variable
where /element/ is some element object.. for example:
document.body
OR
document.getElementById("id of element")


You can also use insertAdjacentHTML method like this:
/element/.insertAdjacentHTML("BeforeEnd","HTML code" or variable)




--
â?? Ayush
-------------
Search - www.Google.com | Wikipedia - http://en.wikipedia.org
Snip your long urls - http://snipurl.com/
-------------

Re: Change local Admin Pwd - [WP] by Paul

Paul
Mon Jan 29 09:49:12 CST 2007


"E C H (He of too much code)" <glasswalkertheurge@juno.com> wrote in message
news:%23qakOq1QHHA.2076@TK2MSFTNGP05.phx.gbl...
>I am trying to duplicate an object innderdev type effect in my hta. Ok,
>might not make sense. I have a bunch of HTML code dumped into a variable.
>I would like that variable to be output to the HTA, then updated
>programatically. Your help would be greatly appreciated.
>
Are you trying to build an HTML editor? Where you put 'a bunch of HTML
code', allow the user to modify it, and then display it in another frame,
for instance? If so, you might look at Microsoft's HTA tutorial on 'How to
Create an HTML Editor Application' at:
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/editing/tutorials/HTML_Editor.asp

Or Active Server Pages Technical Articles -- In-Line HTML Editor at:
http://msdn2.microsoft.com/en-us/library/ms972345.aspx

A download for a somewhat functional HTA html editor that I often use for
other purposes:
http://msdn.microsoft.com/archive/en-us/samples/internet/author/html/htmleditor/default.asp
The nice thing about this HTA is that it incudes a single-user license for a
fully-functional 'save as' and shows how to use other portions of the
comdlg32.dll.

-Paul Randall



Re: Change local Admin Pwd - [WP] by E

E
Mon Jan 29 14:05:06 CST 2007

Ok, I am slow (new to HTA), if you could provide some aircode (VBScript/Body) for one or more of
these that you think easy to implement.

Ayush wrote:
<SNIP>
>
> /element/.innerHTML="someHtml code" OR variable
> where /element/ is some element object.. for example:
> document.body
> OR
> document.getElementById("id of element")
>
>
> You can also use insertAdjacentHTML method like this:
> /element/.insertAdjacentHTML("BeforeEnd","HTML code" or variable)
>
>
>
>

Re: Change local Admin Pwd - [WP] by E

E
Mon Jan 29 14:10:27 CST 2007

Not trying to create a HTA to monitor status of servers. I have a VBScript that does this, but I
would love to offer it in a more configurable/graphical options. The only way I am going to learn
HTA is by making one.

Paul Randall wrote:
> "E C H (He of too much code)" <glasswalkertheurge@juno.com> wrote in message
<SNIP>
>>
> Are you trying to build an HTML editor? Where you put 'a bunch of HTML
> code', allow the user to modify it, and then display it in another frame,
> for instance? If so, you might look at Microsoft's HTA tutorial on 'How to
> Create an HTML Editor Application' at:
> http://msdn.microsoft.com/library/default.asp?url=/workshop/author/editing/tutorials/HTML_Editor.asp
>
> Or Active Server Pages Technical Articles -- In-Line HTML Editor at:
> http://msdn2.microsoft.com/en-us/library/ms972345.aspx
>
> A download for a somewhat functional HTA html editor that I often use for
> other purposes:
> http://msdn.microsoft.com/archive/en-us/samples/internet/author/html/htmleditor/default.asp
> The nice thing about this HTA is that it incudes a single-user license for a
> fully-functional 'save as' and shows how to use other portions of the
> comdlg32.dll.
>
> -Paul Randall
>
>

Re: Change local Admin Pwd - [WP] by Paul

Paul
Mon Jan 29 17:08:42 CST 2007


"E C H (He of too much code)" <glasswalkertheurge@juno.com> wrote in message
news:e6vMHG%23QHHA.1908@TK2MSFTNGP05.phx.gbl...
> Not trying to create a HTA to monitor status of servers. I have a
> VBScript that does this, but I would love to offer it in a more
> configurable/graphical options. The only way I am going to learn HTA is
> by making one.

Learn by using HTA Helpomatic, free download from Microsoft. Link here:
http://blogs.technet.com/tonyso/archive/2005/10/21/412817.aspx

When you run the HTA, you can click on a list of about 30 topics, and it
produces 1) HTML to implement that topic, 2) a description of the topic or
HTML, and for many topics, 3) in some cases, such as for a button's
on-click event, the Script code for a function that executes when the event
fires, and often, 4) an implementation of the HTML and script, so for
example, you can actually see the button produced by the HTML and the
tooltip displayed by the script when you hover the mouse over the button.

For example, for the "Create basic HTA" topic, this HTML is displayed:
<html>
<head>
<title>HTA Helpomatic</title>

<HTA:APPLICATION
ID="objHTAHelpomatic"
APPLICATIONNAME="HTAHelpomatic"
SCROLL="yes"
SINGLEINSTANCE="yes"
WINDOWSTATE="maximize"
>
</head>

<SCRIPT Language="VBScript">
</SCRIPT>
<body>


</body>
</html>

And this description tells you how to use it:
Sample code that creates the basic structure of an HTA; to use this, copy
the code, paste it into Notepad, and then save the file with a .hta file
extension. You can then place HTML elements (such as buttons and listboxes)
inside the body tag, and place scripts that you write inside the script tag.

Note: Be sure your scripts have unique names within each HTA, and that they
start with the Sub tag (for example, Sub RunScript) and end with the End Sub
tag.

Run the HTA and spend 20 minutes looking at what you get with each of the
topics and you will be amazed at your expertise.

The guts of HTA Scriptomatic is a set of If D1.Value="The Topic" Then ...
End If blocks, one for each of the topics. These IF blocks create four
strings, strScript, strSub, strExample, strDescription

The following five lines display the stings and where applicable, set up to
display the strings in action:

ConfigureArea.Value = strScript
SubroutineArea.Value = strSub
SampleArea.InnerHTML = strExample
Description.InnerHTML = strDescription
ExampleScript.Text = SubroutineArea.Value

Spend another 20 minutes studying the If D1...End If blocks and the five
lines above, and you will be an HTA expert!

-Paul Randall



Re: Change local Admin Pwd - [WP] by E

E
Tue Jan 30 13:45:37 CST 2007

Thanks, I already have the basic code, I no longer open a seperate window, and I tried to play with
the innerhtml, but couldn't get it to work. I am looking at the helpomatic code now, unfortunately,
it seems vastly different from the code I used before. I have made a couple attempts at HTA before,
but I was too used to linear code. I have been working in VB.NET 2k5 Express, so it seem a little
easier. I will let you know if I can figure it out.

Thanks much

Paul Randall wrote:
> "E C H (He of too much code)" <glasswalkertheurge@juno.com> wrote in message
> news:e6vMHG%23QHHA.1908@TK2MSFTNGP05.phx.gbl...
<SNIP>
> Learn by using HTA Helpomatic, free download from Microsoft. Link here:
> http://blogs.technet.com/tonyso/archive/2005/10/21/412817.aspx
<SNIP>
> The following five lines display the stings and where applicable, set up to
> display the strings in action:
>
> ConfigureArea.Value = strScript
> SubroutineArea.Value = strSub
> SampleArea.InnerHTML = strExample
> Description.InnerHTML = strDescription
> ExampleScript.Text = SubroutineArea.Value
>
> Spend another 20 minutes studying the If D1...End If blocks and the five
> lines above, and you will be an HTA expert!
>
> -Paul Randall
>
>

Re: Change local Admin Pwd - [WP] by E

E
Tue Jan 30 19:18:37 CST 2007

Ok, I don't understand where the D1 value is from. Is this DHTML?

Paul Randall wrote:
> "E C H (He of too much code)" <glasswalkertheurge@juno.com> wrote in message
<SNIP>
> The guts of HTA Scriptomatic is a set of If D1.Value="The Topic" Then ...
> End If blocks, one for each of the topics. These IF blocks create four
> strings, strScript, strSub, strExample, strDescription
>
> The following five lines display the stings and where applicable, set up to
> display the strings in action:
>
> ConfigureArea.Value = strScript
> SubroutineArea.Value = strSub
> SampleArea.InnerHTML = strExample
> Description.InnerHTML = strDescription
> ExampleScript.Text = SubroutineArea.Value
>
> Spend another 20 minutes studying the If D1...End If blocks and the five
> lines above, and you will be an HTA expert!
>
> -Paul Randall
>
>

Re: Change local Admin Pwd - [WP] by Paul

Paul
Tue Jan 30 22:22:23 CST 2007


"E C H (He of too much code)" <glasswalkertheurge@juno.com> wrote in message
news:eH88%23WNRHHA.4632@TK2MSFTNGP04.phx.gbl...
> Ok, I don't understand where the D1 value is from. Is this DHTML?

Just a few lines after the <body> tag is the topic selection box.
<select size="12" name="D1" onChange="GenerateCode">

When the selection changes, the GenerateCode routine runs and gets the
selection from D1.value.

-Paul Randall



Re: Change local Admin Pwd - [WP] by E

E
Wed Jan 31 12:35:11 CST 2007

Thanks, I missed that entirely.

Paul Randall wrote:
> "E C H (He of too much code)" <glasswalkertheurge@juno.com> wrote in message
> news:eH88%23WNRHHA.4632@TK2MSFTNGP04.phx.gbl...
>> Ok, I don't understand where the D1 value is from. Is this DHTML?
>
> Just a few lines after the <body> tag is the topic selection box.
> <select size="12" name="D1" onChange="GenerateCode">
>
> When the selection changes, the GenerateCode routine runs and gets the
> selection from D1.value.
>
> -Paul Randall
>
>

Re: Change local Admin Pwd - [WP] by Paul

Paul
Wed Jan 31 14:09:17 CST 2007


"E C H (He of too much code)" <glasswalkertheurge@juno.com> wrote in message
news:e%23drLaWRHHA.3412@TK2MSFTNGP05.phx.gbl...
> Thanks, I missed that entirely.

I really like the Scripting Guys' xxxOMatic HTAs. They do try to make
things understandable. D1 seems like an unintentional non-understandable
name for this selection box.

I find the techniques in the HTA code as useful as the output of the HTAs.

-Paul Randall