Jump to content

dtek

Member
  • Posts

    13
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

About dtek

Contact Methods

  • Website URL
    http://www.domitek.net

dtek's Achievements

0

Reputation

  1. MSNwar, Thank for taking the time and pointing me to some reference. I will give this a try.... BTW the script is to be use on Windows 2000 Domains and stand alone servers... Just incase you come across to any scripts that match my search... Peace! \\// | | --- Dtek
  2. Hi... I am new to vbs scripting.. . But I am working on learning... I need a script to re-set a user's password from a flat file. I would like to know if it is posible, that some could give a hand with this or to give some idea on how to get the script to read the file. My Project: I need change a password for a user that I have setup on all my clients (Domain). The user is name as follow (user+ID) ID is the id for the client. For example RemoteUser102. 1) ClientsEnv.txt (flat file) User Name PWS ------------------ ------------ RemoteUser100 Password RemoteUser101 Password 2)ResetPws.vbs <script code> Can anyone help me with this? Thanks, Dtek
  3. What OS are you running? If you are running XP. You could just create an dummy account or log in as the Administrator. Install PS 8. These settings will only apply to users that have not log in to the PC in the past. Meaning that the user does not have a profile on the PC. 1) Login as Administrator or Dummy accont. 2) Install PS 8. (Reboot if requier) 3) Login as the Administrator, if you used Dummy account (viseversa) 4) Right-click on my Computer, select Properties. 5) Select the Advanced Tab. 6) Look for the section Users Profiles and click on the Settings Button. 7) At the next screen, select the user you use to install the application. 8) Click the Copy button. 9) At the next screen in the section labled Copy Profile: type C:\Documents and Settings\Default User or the profile you want to copy this settings. 10) In the Permited to Use Click the Change Button. at the next screen Type Everyone Click Check Names button. 11) Click OK. 12) Click OK and Yes at the next prompt. Now, if the user already has a profile, this will not apply to them it will only apply to users that have not log in to the PC. 1) Login as Administrator or Dummy accont. 2) Install PS 8. (Reboot if requier) 3) Login as the Administrator, if you used Dummy account (viseversa) 4) Right-click on my Computer, select Properties. 5) Select the Advanced Tab. 6) Look for the section Users Profiles and click on the Settings Button. 7) At the next screen, select the user you use to install the application. 8) Click the Copy button. 9) At the next screen in the section labled Copy Profile: type C:\Documents and Settings\ User Profile (example C:\Documents and Settings\ User1) 10) In the Permited to Use Click the Change Button. at the next screen Type Everyone Click Check Names button. 11) Click OK. 12) Click OK and Yes at the next prompt. 13) Log off and have the user log in. Also you may need to make the user a power user or give the user permission on the registry key for PS. NOTE: Be very careful when you edit the Registry. Click on Start\Run Type Regedit Navigate to the HKEY_LOCAL_MACHINE\SOFTWARE\Name of the software Right click and select Permission. in the permissions add the Users Group and give this group Full Control or Click on Advanced and give this group all rights execpt the Delete. Hope this help...
  4. Thank you, both for your sugestions. 1) I ran the setup again with out the updates..it seems to work fine. 2) Now I am going to fixed my Hotfixes.cmd file and add the correct updates as suggested by AaronXP... Will get back to you with final results.... Thanks
  5. After following the instructions to the tip...everything seems to be working fine. Execpt for the Hotfixes script that did not run. I fixed the problem. But when I ran the setup again I encountered the following error message. Error message. ==================================================== A problem is preventing Windows from accurately checking the license for this computer. Error 0x80004005 ===================================================== when I click OK. the PC log me off. I have a Valune license. Any ideas why I'm getting this error message? I've try everything all over but nothing, I still get the same error message. below are the settings on the winnt.sif and hotfixes.cmd files ================================================= Winnt.sif ;SetupMgrTag [Data] AutoPartition=1 MsDosInitiated="0" UnattendedInstall="Yes" [unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=Yes TargetPath=\WINDOWS Repartition=Yes UnattendSwitch=no WaitForReboot=No DriverSigningPolicy=Ignore [GuiUnattended] AdminPassword=* EncryptedAdminPassword=NO OEMSkipRegional=1 TimeZone=35 OemSkipWelcome=1 AutoLogon=Yes AutoLogonCount=1 [userData] FullName="Prefer Customer" OrgName="Domitek" ComputerName=XPSetup ProductID=remove [Display] BitsPerPel=32 Xresolution=800 YResolution=600 [TapiLocation] CountryCode=1 Dialing=Tone [Components] AccessOpt=Off Chat=Off Fax=Off Fp_extensions=Off Fp_vdir_deploy=Off Hypertrm=Off Indexsrv_system=Off Media_utopia=Off Minesweeper=Off Mousepoint=Off Msnexplr=Off Wms=Off Zonegames=Off [branding] BrandIEUsingUnattended=Yes Home_Page=http://www.domitek.net Help_Page=http://support.microsoft.com Search_Page=http://www.google.com [Proxy] Proxy_Enable=0 Use_Same_Proxy=1 [PCHealth] RA_AllowUnsolicited=1 [TerminalServices] AllowConnections=1 [shell] DefaultStartPanelOff=Yes DefaultThemesOff=Yes [GuiRunOnce] %systemdrive%\install\main_batch.cmd %systemdrive%\install\hotfixes.cmd %systemdrive%\install\applications.cmd [identification] JoinWorkgroup=GHOST_IMAGE [Networking] InstallDefaultComponents=No [NetAdapters] Adapter1=params.Adapter1 [NetClients] MS_MSClient=params.MS_MSClient [NetProtocols] MS_TCPIP=params.MS_TCPIP [params.MS_TCPIP] DNS=Yes UseDomainNameDevolution=No EnableLMHosts=Yes AdapterSections=params.MS_TCPIP.Adapter1 [params.MS_TCPIP.Adapter1] SpecificTo=Adapter1 DHCP=Yes WINS=No NetBIOSOptions=0 [params.Adapter1] INFID=* [NetServices] MS_SERVER=params.MS_SERVER =================================================== Hotfixes CLS @echo off ECHO. ECHO Installing Windows Update Hotfixes ECHO. ECHO Installing Q329115 Windows Update... start /wait %systemdrive%\install\Hotfixes\Q329115_WXP_SP2_x86_ENU.exe /Q /M /Z ECHO. ECHO Installing Q329048 Windows Update... start /wait %systemdrive%\install\Hotfixes\Q329048_WXP_SP2_x86_ENU.exe /Q /M /Z ECHO. ECHO Installing Q323255 Windows Update... start /wait %systemdrive%\install\Hotfixes\Q323255_WXP_SP2_x86_ENU.exe /Q /M /Z ECHO. ECHO Installing Q329834 Windows Update... start /wait %systemdrive%\install\Hotfixes\Q329834_WXP_SP2_x86_ENU.exe /Q /M /Z ECHO. ECHO Installing Q329170 Windows Update... start /wait %systemdrive%\install\Hotfixes\Q329170_WXP_SP2_x86_ENU.exe /Q /M /Z ECHO. ECHO Installing Q328310 Windows Update... start /wait %systemdrive%\install\Hotfixes\Q328310_WXP_SP2_x86_ENU.exe /Q /M /Z ECHO. ECHO Installing Q329390 Windows Update... start /wait %systemdrive%\install\Hotfixes\Q329390_WXP_SP2_x86_ENU.exe /Q /M /Z ECHO. ECHO Installing Q810833 Windows Update... start /wait %systemdrive%\install\Hotfixes\Q810833_WXP_SP2_x86_ENU.exe /Q /M /Z ECHO. ECHO Installing Q810577 Windows Update... start /wait %systemdrive%\install\Hotfixes\Q810577_WXP_SP2_x86_ENU.exe /Q /M /Z ECHO. ECHO Installing Q331953 Windows Update... start /wait %systemdrive%\install\Hotfixes\Q331953_WXP_SP2_x86_ENU.exe /Q /M /Z ECHO. ECHO Installing Q814995 Windows Update... start /wait %systemdrive%\install\Hotfixes\Q814995_WXP_SP2_x86_ENU.exe /Q /M /Z ECHO. ECHO Installing Q811630 Windows Update... start /wait %systemdrive%\install\Hotfixes\Q811630_WXP_SP2_x86_ENU.exe /Q /M /Z ECHO. ECHO Installing JScript 5.6... start /wait %systemdrive%\install\Hotfixes\js56nen.exe /Q:A /R:N ECHO. ECHO Installing Q810565 Windows Update... start /wait %systemdrive%\install\Hotfixes\Q810565_WXP_SP2_x86_ENU.exe /Q /M /Z ECHO. ECHO Installing Q814033 Windows Update... start /wait %systemdrive%\install\Hotfixes\Q814033_WXP_SP2_x86_ENU.exe /Q /M /Z ECHO. ECHO Installing Q815021 Windows Update... start /wait %systemdrive%\install\Hotfixes\Q815021_WXP_SP2_x86_ENU.exe /Q /M /Z ECHO. ECHO Installing Q811493 Windows Update... start /wait %systemdrive%\install\Hotfixes\Q811493_WXP_SP2_x86_ENU.exe /Q /M /Z ECHO. ECHO Installing Q817606 Windows Update... start /wait %systemdrive%\install\Hotfixes\Q817606_WXP_SP2_x86_ENU.exe /Q /M /Z ECHO. ECHO Installing Q823559 Windows Update... start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB823559-x86-ENU.exe /Q /M /Z ECHO. ECHO Installing Q823980 Windows Update... start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB823980-x86-ENU.exe /Q /M /Z ECHO. ECHO Installing Q821557 Windows Update... start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB821557-x86-ENU.exe /Q /M /Z ECHO. ECHO Installing Q817287 Windows Update... start /wait %systemdrive%\install\Hotfixes\Q817287.exe /Q:A /R:N ECHO. ECHO Installing Q828026 Windows Error Reporting Update... start /wait %systemdrive%\install\Hotfixes\WindowsMedia-KB828026-x86-ENU.exe /Q /M /Z ECHO. ECHO Installing Q329170 Windows Update... start /wait %systemdrive%\install\Hotfixes\Q329170_WXP_SP2_EN.exe /Q /M /Z ECHO. ECHO Installing Q331953 Windows Update... start /wait %systemdrive%\install\Hotfixes\Q331953_WXP_en.exe /Q /M /Z ECHO. ECHO Installing Q810577 Windows Update... start /wait %systemdrive%\install\Hotfixes\Q810577_WXP_en.exe /Q /M /Z ECHO. ECHO Installing Q811630 Windows Update... start /wait %systemdrive%\install\Hotfixes\Q811630_WXP_SP2_EN.exe /Q /M /Z ECHO. ECHO Installing Q89696 Windows Update... start /wait %systemdrive%\install\Hotfixes\Q819696_WXP_SP2_x86_ENU.exe /Q /M /Z ECHO. ECHO Installing Q823182 Windows Update... start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB823182-x86-ENU.exe /Q /M /Z ECHO. ECHO Installing Q824105 Windows Update... start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB824105-x86-ENU.exe /Q /M /Z ECHO. ECHO Installing Q824141 Windows Update... start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB824141-x86-ENU.exe /Q /M /Z ECHO. ECHO Installing Q824146Windows Update... start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB824146-x86-ENU.exe /Q /M /Z ECHO. ECHO Installing Q825119 Windows Update... start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB825119-x86-ENU.exe /Q /M /Z ECHO. ECHO Installing Q826939 Windows Update... start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB826939-x86-ENU.exe /Q /M /Z ECHO. ECHO Installing Q828035 Windows Update... start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB828035-x86-ENU.exe /Q /M /Z ECHO. ECHO Installing Q328310 Windows Update... start /wait %systemdrive%\install\Hotfixes\Q328310_WXP_SP2_en.exe /Q /M /Z ECHO. ECHO Installing Q329048 Windows Update... start /wait %systemdrive%\install\Hotfixes\Q329048_xp.exe /Q /M /Z ECHO. ECHO Installing Q329390 Windows Update... start /wait %systemdrive%\install\Hotfixes\Q329390_WXP.exe /Q /M /Z ECHO. ECHO Installing Q329834 Windows Update... start /wait %systemdrive%\install\Hotfixes\Q329834_WXP_SP2_en.exe /Q /M /Z ECHO. ECHO Installing Q811632 Windows Update... start /wait %systemdrive%\install\Hotfixes\Q811632_WXP_SP2_x86_ENU.exe /Q /M /Z ECHO. ECHO Installing Q815487 Windows Update... start /wait %systemdrive%\install\Hotfixes\Q815487_WxP_SP2_i386_ENU.exe /Q /M /Z ECHO. ECHO Installing June 2003, Cumulative Patch for IE6... start /wait %systemdrive%\install\Hotfixes\Q900036.exe /Q:A /R:N ECHO. ECHO Installing April 2003, Cumulative Patch for OE6... start /wait %systemdrive%\install\Hotfixes\q813951.exe /Q:A /R:N ECHO. ECHO Installing April 2003, Cumulative Patch for OE6... start /wait %systemdrive%\install\Hotfixes\vbs56nen.exe /Q:A /R:N ECHO. ECHO Installing April 2003, Cumulative Patch for OE6... start /wait %systemdrive%\install\Hotfixes\q330994.exe /Q:A /R:N ECHO. ECHO Installing April 2003, Cumulative Patch for OE6... start /wait %systemdrive%\install\Hotfixes\q828750.exe /Q:A /R:N ECHO. ECHO Installing April 2003, Cumulative Patch for Windows Media... start /wait %systemdrive%\install\Hotfixes\Q817787.exe /Q:A /R:N ECHO. ECHO Installing April 2003, Cumulative Patch for DirectX... start /wait %systemdrive%\install\Hotfixes\Q819696.exe /Q:A /R:N ECHO. ECHO Installing April 2003, Cumulative Patch for mac... ECHO. EXIT I don't know if there is a hotfix that is causing this. Please help any idea? Dtek....
×
×
  • Create New...