Jump to content

jb3rry

Member
  • Posts

    28
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

About jb3rry

jb3rry's Achievements

0

Reputation

  1. I search for this but might be using the wrong key words...... Is there a way to bypass this. i.e. Put the cd in and have it go directly into the unattended install?
  2. Thanks.... Amazing how long one can work with windows and over look some of the simpliest commands. Thanks again
  3. prathapml Tried your way and and could not find the differences. I have tried doing this in a couple of different places using different methods. secedit /configure on the inf files rundll32.exe on the inf files No matter what I try (Other than manually importing the inf through mmc) These 3 and only these 3 setting are not set. Password History Password Length Minimum Password Age Any insight would be great.
  4. What is the reccomend or most prefered way to add policies during an unattended install? Thanks
  5. Is it possible to have multiple vendor drivers included in an unattended install and soes xp automagically choose the correct ones? Thses drivers are basically video, sound, chipset, network etc..... Laptops(Gateway, dell, Panasonic,HP). Or do I have to setup a specific cd for each one? Thanks
  6. This might be a dumb question but where do you actually get a copy of WinPE?
  7. Here is the original code that was in my start.cmd. I then later moved to RunnceEX. ECHO Adjusting Profiles ECHO Please wait... start /wait %systemdrive%\install\Admin.vbs In the RunOnceEx I was have problems every now and then where the VBS script was not being associated with Wscript and would not run. Someone on this board recommeded using Trying the code below and it has worked every since. This way there is not an association problem. REG ADD %KEY%\215 /VE /D "Massaging Local Admin" /f REG ADD %KEY%\220 /V 1 /D "WScript.exe %CDROM%\Software\vbs\admin.vbs" /f Hope this helps
  8. This has come up in numerous post.... Below is the code I Call from RunOnceEx.... Afterwards you do need to reboot or else the administrator group will still show "Administrator" After reboot the administrator group will show the new name for administrator. RunOnceEx REG ADD %KEY%\215 /VE /D "Renaming Local Admin" /f REG ADD %KEY%\220 /V 1 /D Wscript.exe "%CDROM%\Software\vbs\admin.vbs" /f ------------------------------------------------------------------------ 'vbscript On Error Resume Next strComputer = "." strCompPass = "Password12" strRemoveHA = "HelpAssistant" strRemoveSup = "SUPPORT_388945a0" strRemoveAdmin = "Administrator" Set WshShell = WScript.CreateObject("WScript.Shell") Set WshNetwork = WScript.CreateObject("WScript.Network") Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & "." & "\root\default:StdRegProv") strComputer = WshNetwork.ComputerName 'Renaming Admin Set oMachine = GetObject("WinNT://" & strComputer) Set oInfoUser = GetObject("WinNT://" & strComputer & "/Administrator,user") set oUser = oMachine.MoveHere(oInfoUser.ADsPath,"NEWNAME") 'Reseting Admin Password Set objUser = GetObject("WinNT://" & strComputer & "/NEWNAME, user") objUser.SetPassword "Password12" objUser.SetInfo 'Renaming Guest Set oMachine = GetObject("WinNT://" & strComputer) Set oInfoUser = GetObject("WinNT://" & strComputer & "/Guest,user") set oUser = oMachine.MoveHere(oInfoUser.ADsPath, "NoGuest") 'Reseting Guest Password Set objUser = GetObject("WinNT://" & strComputer & "/NoAccess, user") objUser.SetPassword "&*UIer78aB#4" objUser.SetInfo 'Disabling Guest Account Set objUser = GetObject("WinNT://" & strComputer & "/NoAccess") objUser.AccountDisabled = True objUser.SetInfo 'Deleting Help Assistant Account, Support Account Set objComputer = GetObject("WinNT://" & strComputer & "") objComputer.Delete "user", strRemoveHA objComputer.Delete "user", strRemoveSup
  9. Below is the code I Call from RunOnceEx.... Afterwards you do need to reboot or else the administrator group will still show "Administrator" After reboot the administrator group will show the new name for administrator. RunOnceEx REG ADD %KEY%\215 /VE /D "Renaming Local Admin" /f REG ADD %KEY%\220 /V 1 /D Wscript.exe "%CDROM%\Software\vbs\admin.vbs" /f ------------------------------------------------------------------------ 'vbscript On Error Resume Next strComputer = "." strCompPass = "Password12" strRemoveHA = "HelpAssistant" strRemoveSup = "SUPPORT_388945a0" strRemoveAdmin = "Administrator" Set WshShell = WScript.CreateObject("WScript.Shell") Set WshNetwork = WScript.CreateObject("WScript.Network") Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & "." & "\root\default:StdRegProv") strComputer = WshNetwork.ComputerName 'Renaming Admin Set oMachine = GetObject("WinNT://" & strComputer) Set oInfoUser = GetObject("WinNT://" & strComputer & "/Administrator,user") set oUser = oMachine.MoveHere(oInfoUser.ADsPath,"NEWNAME") 'Reseting Admin Password Set objUser = GetObject("WinNT://" & strComputer & "/NEWNAME, user") objUser.SetPassword "Password12" objUser.SetInfo 'Renaming Guest Set oMachine = GetObject("WinNT://" & strComputer) Set oInfoUser = GetObject("WinNT://" & strComputer & "/Guest,user") set oUser = oMachine.MoveHere(oInfoUser.ADsPath, "NoGuest") 'Reseting Guest Password Set objUser = GetObject("WinNT://" & strComputer & "/NoGuest, user") objUser.SetPassword "&*UIer78aB#4" objUser.SetInfo 'Disabling Guest Account Set objUser = GetObject("WinNT://" & strComputer & "/NoGuest") objUser.AccountDisabled = True objUser.SetInfo 'Deleting Help Assistant Account, Support Account Set objComputer = GetObject("WinNT://" & strComputer & "") objComputer.Delete "user", strRemoveHA objComputer.Delete "user", strRemoveSup
  10. Thanks...will give it a try.... Do we know what sometimes it works and sometimes it doesnt?
  11. Whats wierd about this is that I have not changed my config files at all...I have created numerous unattended installs, but every now and then I get that error where a file is not associated with a program. (VBS only)
  12. I have created a couple of unattended installs using NLite & also CDimage Pro... every so often during the install I will get and Error during runonceEx asking about what program to choose to run the VBS script. Has anyone else seen this? If so what files are it tied to that may have been deleted during the Source reduction.
  13. I remember in one thread where a user had some code where all he looped through all the hotfixes in a specified Directory. I tried searching for it and couldnt fin it...anyone know where it might be?
×
×
  • Create New...