One more little issue...
If I use strComputer = "." I get an error stating that the user does not exist so it can't be added to the group.
If I use strComputer = "Computername" with a computer name in it it runs fine. Is there a way to get it to work with the "."?????
Thanks
I did find the below script to add a user to the admin group. Can the two be combined anyway?
strComputer = "."
Set objGroup = GetObject("WinNT://" & strComputer & "/Administrators,group")
Set objUser = GetObject("WinNT://" & strComputer & "/USERNAME,user")
objGroup.Add(objUser.ADsPath)
I have used the script below successfully to create a user, is there a way to have the script make the user a member of the Administrators group when creating the account?
strComputer = "."
Set colAccounts = GetObject("WinNT://" & strComputer & "")
Set objUser = colAccounts.Create("user"...
I am trying to figure out the best way to script removing a computer from a Domain and adding it to a workgroup. I also then have to add a local user and move the domain profile that was there to the workgroup user's profile. Any suggestions or help would be appreciated.
All I have is the script below
strComputer = "computername"
Set colAccounts = GetObject("WinNT://" & strComputer & "/Administrators,group")
Set objUser = colAccounts.Create("/USERNAME,user")
objUser.SetPassword "1234"
objUser.SetInfo
Try uninstalling the modem from device manager, reboot and reinstall it again. You may want to remove the data cable you have connected from one PC to the other until you get the modem working.
DSL is the way to go. Whether you can install it or not depends on the type of modem they supply and your level of comfort around a PC. If you do not feel comfortable opening your PC to install a network card, then hopefully they will provide a USB modem. I personally do not recommend a USB...
I would recommend using the moveuser utility from Microsoft. You can get it from the Windows 2003 Resource toolkit. http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en
An example of using it would be:
moveuser user1 MIS\user2 /y...
Windows ME to Windows 2000 upgrade is not supported
http://support.microsoft.com/?kbid=272627
SUMMARY
Upgrading Windows Millennium Edition (Me) to Microsoft Windows 2000 Professional has not been tested for full feature functionality and is not a supported upgrade path.
MORE INFORMATION
A...
I found this script, maybe someone can tell me what I need to edit to get it to work,
Option Explicit
Dim oFileSystem 'Scripting Dictionary object
Dim oWshShell 'Windows Script Host Shell object
Dim sCurrentName 'holds computername environment variable
Dim oWshEnvironment 'Windows Script...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.