Jump to content


Johnson

Established Members
  • Posts

    6
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Sweden

Johnson's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi. During my Deployment of Windows 7 within my Task Sequence I would like to add a popup-prompt where I can type in a domain username. And the domain user I type in will be added to the local Administrator Group. I did find something on google, but I´m not able to get rid of why it isnt working. Anyone out there who have an idea? /Johnson domain = InputBox("What is the Domain name?") myUser = InputBox _ ("What NT LOGON NAME do you wish to add to the Local Administrator Group?") strDomainGroup = "WinNT://" & domain & "/" & myGroup & ",group" Set objDomainGroup = GetObject(strDomainGroup) Set objNetwork = CreateObject("Wscript.Network") strComputer = objNetwork.ComputerName Set objLocalGroup = GetObject("WinNT://" & strComputer _ & "/Administrators,group") If Not objLocalGroup.IsMember(objDomainGroup.AdsPath) Then objLocalGroup.Add(objDomainGroup.AdsPath) End If strDomainUser = "WinNT://" & domain & "/" & MyUser & ",user" Set objDomainUser = GetObject(strDomainUser) Set objNetwork = CreateObject("Wscript.Network") strComputer = objNetwork.ComputerName Set objLocalGroup = GetObject("WinNT://" & strComputer _ & "/Administrators,group") If Not objLocalGroup.IsMember(objDomainUser.AdsPath) Then objLocalGroup.Add(objDomainUser.AdsPath) end IF
  2. Johnson

    Proxy settings xml

    Thanks wmmayms, think my first step/try will be RunOnce. Is it more powerfull then SCCM 2007?
  3. Johnson

    Proxy settings xml

    Thanks for your answer, unfortunately we dont use GPO at my company =/ I will see what IEAK can do for me, but I i would prefer to have every settings in my xml file
  4. Hi. I'm almost done with my unattended.xml but I cant figure out where to out my proxy settings in IE. I would like to select "Use automatic configuration script" and type in my proxy url and also deselect "Automatic detect settings" See picture Hope anyone can help me out. /Johnson
  5. Thanks Peter. I did find a "semi-solution" in that page. Created a bat with "net localgroup administrators "mydomain\domain users" /add" but then I manually need to remove "domain users" and add the "username" when I have logged in to Windows. The perfect solution for me would be a prompt where I can typ in the username which would be added to localgroup Administrator Do you or anyone else have an idea if it's even possible? /Johnson
  6. Hi. I would like help with my Task Sequence (it's one of my last step) In my task sequence I add the computer to our domain (successfully) and I want to add a "domain user account" (e.g mydomain\ed) to the Administrator Group on the computer that i deploy. So do anyone know if I can create a vbs script, or something similar, to get an prompt where I can type in the username? Thanks in advanced. /Johnson
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.