Re: wierd batch file behavior
- From: Sasi <Sasi@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 11 Jun 2007 13:16:01 -0700
what is cross-posting? I have no idea of what it is or how to do it.
"Al Dunbar" wrote:
.
"Sasi" <Sasi@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:FDE1FF9B-39DE-4951-8E7C-E2D470D61EB8@xxxxxxxxxxxxxxxx
thank you Dunbar
I ran the batch file in a cmd window and watched it carefully.
it actually ommited both % and ^ symbles during execution;so the password
will be the whole 13 sequence,without % and ^ symbols.
and by the way,sorry for multiposting! . some forums are not as active as
expected,so I multipost just to make sure that somebody would answer any
of
them.
You're welcome.
Try crossposting instead of multiposting.
/Al
"Al Dunbar" wrote:
See my response in microsoft.public.windows.server.scripting (or was that
microsoft.public.win2000.cmdprompt.admin), where the question is less OT
than here.
/Al
"Sasi" <Sasi@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:1766737D-789F-47E7-8F78-56D010E1A057@xxxxxxxxxxxxxxxx
this is the batch file I've written:
net user /add Admin ~!@#$%^&*()_+
net user Admin ~!@#$%^&*()_+
net localgroup Administrators /add Admin
net user /add Admin ~!@#$%^&*()_+ /domain
net user Admin ~!@#$%^&*()_+ /domain
net localgroup Administrators /add Admin /domain
it is supposed to create an account named "Admin" in case of laking
such
account,set and/or change its password to the 13 consequent keys of the
upper
row of a standard keyboard (tilda,exlamation,at sign,sharp,and etc till
backspace),and finally make that account an administrator.
the problem is that the account is created and it IS joined to the
administrators group,both locally and on domain;but the password is not
set
as expected.I tried everything I would think of,but none was the
password
it
has set.
I want to know ,considering exactly the script text above,what the
Admin
password would be.
I've scheduled this batch file to be run every week on a remote
computer
and
I have no access to it to change the designated password,so I need to
recover
this password.
- Follow-Ups:
- Re: wierd batch file behavior
- From: Al Dunbar
- Re: wierd batch file behavior
- References:
- Re: wierd batch file behavior
- From: Al Dunbar
- Re: wierd batch file behavior
- Prev by Date: Re: %errorlevel% and run/exec command
- Next by Date: Re: Set Screen Resolution
- Previous by thread: Re: wierd batch file behavior
- Next by thread: Re: wierd batch file behavior
- Index(es):
Relevant Pages
|
Loading