Jump to content

Change User Name


Recommended Posts

Hi all,

I am not sure whether this is the correct category to submit my doubt or not. Can anyone please help me out .. how to change the user name? Now my username is chaitanyakumar. I want to change it to someother name. Please tell me how to change user name not display name. Thanks in advance.

Thanks

Link to comment
Share on other sites

Hi,

two ways:

1) Right Click on "My Computer" -> Manage -> Local Users and Groups -> Users -> Right Click on Account -> Rename

2)

_change_user_name ("oldaccountname", "newaccountname")

Func _change_user_name ($userorigin, $newname)
    ; Generated by AutoIt Scriptomatic
    $bchange = False
    $wbemFlagReturnImmediately = 0x10
    $wbemFlagForwardOnly = 0x20

    $strComputer = "localhost"

    $objWMIService = ObjGet("winmgmts:\\" & $strComputer & "\root\CIMV2")
    $colItems = $objWMIService.ExecQuery("SELECT * FROM Win32_UserAccount Where LocalAccount = True And Name = '" & $userorigin & "'", "WQL", _
                                              $wbemFlagReturnImmediately + $wbemFlagForwardOnly)

    If IsObj($colItems) then
        For $objitem in $colItems
            $objitem.Rename ($newname)
            $bchange = True
        Next
    Else
        MsgBox (0, "Error", "WMI Query failed!")
    EndIf
    If $bchange Then 
        MsgBox (0, "Change User", "Sucessfully rename user " & $userorigin & " to " & $newname)
    Else
        MsgBox (0, "Change User", "User " & $userorigin & " not found!")
    EndIf
EndFunc

;-))

Stefan

Link to comment
Share on other sites

It's not clear if you are talking about your forum login name or something else. If it is your forum login name, why would you think creating a thread about it is going to be helpful rather than PMing a moderator directly?

Link to comment
Share on other sites

  • Moderators

chaitu,

Just do as Valik suggested and PM him with your request to change your AutoIt forum user name. :idea:

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

  • Moderators

chaitu,

As you cannot seem to make up your mind, here is what to do in both cases: :)

I am talking about autoit user name.

PM Valik.

I want to change autoit forum name only

Go to your avatar in the top right of the screen. Click on the little down arrow and select <My Settings>. Click on <Change Display Name>. Change the name.

Happy? :idea:

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

PM Valik.

M23

Been suicidal for very long M23?

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Link to comment
Share on other sites

  • Moderators

George,

As I said earlier, it is what Valik himself suggested: :idea:

It's not clear if you are talking about your forum login name or something else. If it is your forum login name, why would you think creating a thread about it is going to be helpful rather than PMing a moderator directly?

And for our more junior readers, sending Valik a PM is not suicidal if you have a valid reason (although I will admit that he has the final decision on whether it is valid! :) )

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

It's your life pal, do with it as you see fit. I forgot that Valik was once in a generous spirit and did in fact post that. He may have since recinded the offer though. I'm pretty sure in this case it's simply the display name but who knows for sure. As you pointed out, he wasn't overly clear on that point.

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Link to comment
Share on other sites

I found where I am confusing all of you. It is my mistake that I didnt tell you my correct problem.

First of all I will open the site http://www.autoitscript.com/forum/index.php?, If I want to login I will click on signin option. Then I will be prompted for username and password to enter into the above site(autoit forums).

Then I give user name as chaitanyakumar and my password. Now I want to change this name(chaitanyakumar) and give something else. How can I do that? Thats what I am asking. By the by someof you people are telling me to PM valik. what is this PM?

Thanks

Link to comment
Share on other sites

Open Your Profile, Change Display Name. To login you must enter your old(first) UserName. Or register once again with another name.

PM - Personal Message.

Edited by GodlessSinner

_____________________________________________________________________________

Link to comment
Share on other sites

  • Developers

... Or register once again with another login.

Real bad advice as this is not appreciated here.

chaitanyagutala: What do you want it to be?

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers

Displayname can only contain these characters: a-zA-Z0-9. The underscore is not allowed.

I see you managed to change the displayname already 2 times so assume you will mange to change it within the rules that apply.

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...