Re: wierd batch file behavior



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.






.



Relevant Pages

  • Re: wierd batch file behavior
    ... based on your comments,I ran the batch file in a cmd window and watched it ... net localgroup Administrators /add Admin /domain ... I've scheduled this batch file to be run every week on a remote ...
    (microsoft.public.windows.server.scripting)
  • Re: wierd batch file behavior
    ... Try the command without the & or the ^ or the this should work. ... > net localgroup Administrators /add Admin /domain ... > backspace),and finally make that account an administrator. ...
    (microsoft.public.windows.server.scripting)
  • Re: Running a script from an ASP page
    ... the account does not have to be admin. ... >> accessible to the NT User token using ASPEXEC (depends on authentication ... >>>I have a batch file that moves files from one server to another, ...
    (microsoft.public.inetserver.iis.security)
  • Re: wierd batch file behavior
    ... net localgroup Administrators /add Admin /domain ... backspace),and finally make that account an administrator. ... My preference, however, is to avoid special characters. ...
    (microsoft.public.win2000.cmdprompt.admin)
  • Re: DST and update
    ... which is why I created a temporary new user called ExchangeDST to use ... with Exchange View Only Admin permissions and member of Local Admins on ... wife's account to have full access to all mailboxes. ... under the ExchangeDST account to create the batch file, ...
    (microsoft.public.exchange.admin)

Loading