I am attempting to do a few things with vb scripts. I have written a group policy that will distribute my script to all the users on my network that it applies to. I need a way to pull the current logged on username, and enter that in as a variable for my script. All of my users are roaming accounts too. I know that you can do something along the lines of. dim wsh set wsh = createobject("WScript.Shell") login_name = wsh.RegRead("HKEY_CURRENT_USER\Software\Microsoft\ Windows\CurrentVersion\Explorer\Logon User Name") Currently, I need to be able to grab the name, then pass it as a variable at the beginning of my script. The way the script is set up now, call updatecopyini("hard coded username") wscript.quit sub updatecopyini(iusername) I do not know how to get from one place to the next. thanks.