Jump to content

Kingskawn

Member
  • Posts

    132
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Belgium

Posts posted by Kingskawn

  1. Under XP I had a vbs that copied the correct .pbk file with all necessary connection information to All users.

    Now under 7 this procedure must be changed in order to have this VPN connection visible under 'Dial-Up and VPN'

    How can I do this. Looked on google but with the wrong words maybe. Tried win7, vpn, unattended, automatically,... but never come on something usefull.

  2. I don't know about anyone else but I use the following script. It runs after the WIM has been copied to C:\ and updates sysprep.inf with the information for the appropiate HAL. So far it hasn't failed me yet.

    'On Error Resume Next

    Set objWshShell = CreateObject("WScript.Shell")

    Set objFSO = CreateObject("Scripting.FileSystemObject")

    ' Activate the partition

    Call ActivateDisk()

    ' Customize the local sysprep.inf file based on the HAL type

    Call UpdateSysprepinf ()

    ' Done, quit.

    WScript.Quit

    Sub ActivateDisk()

    ' Wait a few seconds, assign drive letter and activate

    wscript.sleep 5000

    cmd = "cmd /c diskpart.exe /s Activate.txt"

    rc = objWshShell.run(cmd, 6, 1)

    ......

    How can I use this script in MS ConfigMgr 2007?

  3. Hi guys,

    I want to set virtual memory page file size option as "system managed size" through whatever script.

    I have WIM images (made with SCCM) and already installed XP machines that have pagefile set to 2086mb and I want it to set to "System Managed Size".

    Is this possible?

    <Edit>(posts merged by Moderator)

    I already found something but only works for the current user:

    @echo off

    attrib -H "%SYSTEMDRIVE%Documents and SettingsDefault UserNTUSER.DAT"
    copy "%SYSTEMDRIVE%Documents and SettingsDefault UserNTUSER.DAT" "%SYSTEMDRIVE%Documents and SettingsDefault UserNTUSER.DAT.BAK"
    attrib +H "%SYSTEMDRIVE%Documents and SettingsDefault UserNTUSER.DAT"
    attrib +H "%SYSTEMDRIVE%Documents and SettingsDefault UserNTUSER.DAT.BAK"

    REG LOAD HKEY_USERS.Default_User "%SYSTEMDRIVE%Documents and SettingsDefault UserNTUSER.DAT"
    REGEDIT /S regional_uk.reg
    REG UNLOAD HKEY_USERS.Default_User

    EXIT

    It comes from http://www.msfn.org/board/applying-current...ers-t16626.html

    What it is supposed to do is copying all registry to default user which is the base user everybody begins with it.

    And the "regional_uk.reg" in the same folder is this;

    Windows Registry Editor Version 5.00

    [HKEY_CURRENT_USERControl PanelInternational]
    "iCountry"="44"
    "iCurrDigits"="2"
    "iCurrency"="1"
    "iDate"="1"
    "iDigits"="2"
    "iLZero"="1"
    "iMeasure"="0"
    "iNegCurr"="5"
    "iTime"="1"
    "iTLZero"="1"
    "Locale"="00000809"
    "s1159"=""
    "s2359"=""
    "sCountry"="United Kingdom"
    "sCurrency"="€"
    "sDate"="/"
    "sDecimal"="."
    "sLanguage"="ENG"
    "sList"=","
    "sLongDate"="dd MMMM yyyy"
    "sShortDate"="dd/MM/yyyy"
    "sThousand"="."
    "sTime"=":"
    "sTimeFormat"="HH:mm:ss"
    "iTimePrefix"="1"
    "sMonDecimalSep"="."
    "sMonThousandSep"="."
    "iNegNumber"="1"
    "sNativeDigits"="0123456789"
    "NumShape"="1"
    "iCalendarType"="1"
    "iFirstDayOfWeek"="0"
    "iFirstWeekOfYear"="0"
    "sGrouping"="3;0"
    "sMonGrouping"="3;0"
    "sPositiveSign"=""
    "sNegativeSign"="-"

    [HKEY_CURRENT_USERControl PanelInternationalGeo]
    "Nation"="21"

    [HKEY_CURRENT_USERKeyboard Layout]

    [HKEY_CURRENT_USERKeyboard LayoutIMEtoggle]

    [HKEY_CURRENT_USERKeyboard LayoutIMEtogglescancode]

    [HKEY_CURRENT_USERKeyboard LayoutPreload]
    "1"="00000809"

    [HKEY_CURRENT_USERKeyboard LayoutSubstitutes]
    "00000809"="00000813"

    [HKEY_CURRENT_USERKeyboard LayoutToggle]
    "Hotkey"="1"
    "Language Hotkey"="3"
    "Layout Hotkey"="3"

  4. It's working if I give a path to the settings.ini but now he say that Firefox is installed and if he must install a codec for it too. How to not get that screen?

    Also, is there a veriable path that we can give for the settings.ini? If my line is

    ACEMCP603PRO.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-

    ==> works but with AV screen

    ACEMCP603PRO.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP /LOADINF=settings.inf

    ==> works but with AV screen

    ACEMCP603PRO.exe /LOADINF=settings.inf /nocancel /silent /S" /f /SUPPRESSMSGBOXES

    ==> works but with AV screen

    ACEMCP603PRO.exe /LOADINF="C:\Documents and Settings\Administrator\Desktop\Ace codecs\settings.inf" /VERYSILENT /SUPPRESSMSGBOXES

    ==> no AV screen but asks me to confirm for installation of firefox codec

    So when I don't set the full path to settings.inf he refuses to install it like he should. Is just installing the default pro version with AV scan :'(

  5. i usually run 'net stop wuausrv' and delete c:\windows\softwaredistribution c:\windows\temp and %temp% & deactivate hibernation before imaging then my imaging software (PING) deletes the swapfile before taking the image.

    you can also delete things like the sample music and c:\windows\web\wallpapers too if you wanna go crazy about it but those wont save you much

    First useful tips, thanks! :thumbup

  6. There are tons of tutorials that explains how to install xp unattended but where can we find some info what we can delete in order to have an image as little as it is possible?

    The image must be used in a business so things Movie Maker can be deleted. Network support on the other hand is crucial

    Have anybody done this before and can give some info on this?

  7. I'm using SCCM to deploy machines now. What I thought this hta was, was a frontend where you can deploy xp from a central machine (can be a server or normal desktop machine) where resides the wim files and all the stuff that is needed in order to stage machines remotely.

    But this hta doesn't allow remote installations, it's all on individual machines that the hta page must be loaded and execute.

    In SCCM I deploy a wim files that contains the xp OS but after that it gets a whole bunch of software programs installed on it.

  8. We had an universal ghost image that worked untill we got Lenovo T500's and M57's. They end up with a black screen and there is nothing to do. Maybe you got an idea on that?

    The image was build on a uniprocessor (basic machine). The newest are dual cores and have problems with HAL and mass storage like Iceman told.

    Otherwise I would like to make a new ghost image on a T500 but my old winpe 1.2 doesn't recognize the NIC so I can't continue.

    Can someone help on this?

  9. Super interesting this tool! Can you please tell me how it works if you want to install xp on a new machine. How can you push the wim file on it? With 'how' I mean, what information do you use to deploy it, MAC, GUID,...? Or is it only on one machine at the time?

    I could use such a tool if I can install xp on a distant machine (LAN) if I only know the MAC address. (I already have a running WDS so machines can boot on PXE and of course a DHCP server :) )

  10. I made some nLite cd's based on XP and I must say that it cuts down the time in making one on my own with scripts.

    Now I would like to know if it's a good start to use this in a business environment to deploy this image to other machines. To be clear I have to make a "GOLDEN" image, an image that will be the base of all machines. This will be an nLite install let's say with things enabled and disabled. After that I make a sysprep of it from the deploy.cab file.

    Will that image be usable and will every service start like a normal untouched WinXP because I have the impression that sometimes some services have problems to start or maybe it's somewhere else. Or maybe there is a lastsession.ini file specially used for business environments?

  11. In our production enviroment we uses an in house developed four step method:

    0. Operating system and mui

    1. Hotfixes/patches and apps

    2. Gui Adjustments

    3. Defrag and sysprep

    for each of these steps we take a new image, therefore it's wery rare that we do a new 0 image. Uasally we just load that up from disk, and goes into step one, adds the last months uppdates, patches and changed apps. Step two is mostly automated but some GUI tweaks requiers manual adjustments, therefore we have a checklist for that, Step three is fully auto with the exption of adjusting sysprep inf for new massstorage controllers. This gives us very stable "fat" images containing everything an ordinary user requires to start working.

    Doing this the scripted way takes about 6-7 Hours, With imaging it taks 30 min to reinstall a PC. This means that we don't do deeper troubleshoting of software problems anymore. Helpdesk uses 15 max to try and fix it, if they can't they reinstall the PC remotly or asks the user to press F12 to start the reinstallation manually. A coffeebreak (about 30 min) later he/she has a working machine again. If you compare that with dispatching a tech and in worst case having the box replaced, imaging saves time for the users and lowers our operating costs. Especially if you have many offices and don't have local techs on all locations

    Sure it takes some time to maintain the images but with 19K boxes it's sufficient to save a few minutes/a box to pay for the image handeling time. The rest is a bonus.

    Nice to see that you can do an install in just 30minutes. Maybe you could make a tutorial of what consists those 4 steps you're using. Leave out your production settings and make it in an universal way.

×
×
  • Create New...