Cmd promt wrong character in unattend script

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Johan (johan_soderstrom_at_hotmail.com)
Date: 09/08/04


Date: Wed, 8 Sep 2004 13:02:23 +0200

Hello!

I have a big problem with my unattended xp installation.
I want to add a new user called admin, and put him in the administrators
group with no time limit for password from a command line.

in Sweden the administrators group is called administratörer.
everything is working if i write it in command promt but, if i put it in a
script like start.cmd or .bat file the administrators group becomes
administrat÷rer.

same if i write echo administratörer in a script or if i just write it in
the command promt directly.

example what I wanna do in the script :

net user admin passwd /add
net localgroup administratörer admin /add
net accounts /maxpwage:unlimited

Can anyone help me and solve this problem for me

Best regards
/Johan



Relevant Pages

  • SUMMARY WAS: OT? Philosophical Question on SA responsibilities
    ... helpful for managers interested in hiring new administrators. ... Would you go thru the 14,600 messages in root and admin ... If I was a new SA I would if encountering a security hole, ... I can see some use for the passwd -s part of the crontab script, ...
    (SunManagers)
  • Re: Can I add myself to Administrators group of all PCs when I log in?
    ... Actually your thought process concerning the add to group via a logon script ... if the user is added to the administrators ... But I should not make him Domain admin, ...
    (microsoft.public.windows.server.scripting)
  • Re: New Organizational Unit for a new remote office.
    ... This posting is provided "AS IS" with no warranties, and confers no rights. ... BLOG --> http://blogs.dirteam.com/blogs/jorge/default.aspx ... EVERY DOMAIN ADMIN IN THE FOREST ...
    (microsoft.public.win2000.active_directory)
  • Re: Rid AD of Circular Group Membership
    ... I'll try to keep this going; because it might be useful to another admin ... The quess is each has an account and uses it, ... part of stations) into the machine local Administrators group. ... Administrators Group has a members: ...
    (microsoft.public.windows.group_policy)
  • Re: MMC - admin locked out too
    ... just use the Deny trick to exempt ... from an admin account before it can edit policy, ... > Limit access to Regedit, MMC, command line, etc. & ... > restrict such items to Administrators only. ...
    (microsoft.public.windowsxp.security_admin)