/build/static/layout/Breadcrumb_cap_w.png

Any way to change the sambe share password within a KBE without rebuilding it?

We have a single KBE designed for a paticular system, and I no longer have the files available to rebuild it. It was made before the system Sambe Share password was updated, and all other KBEs have been created with the new Samba Share password. 

Is there any way to break open that KBE and update the password its using, or even just to SEE what password it has?


0 Comments   [ + ] Show comments

Answers (2)

Posted by: SMal.tmcc 11 years ago
Red Belt
0

If you use it as a boot stick, yes you can


Comments:
  • mount the boot.wim file that is in \files\sources directory and edit the startnet.cmd file in windows\system32 then commit the changes and unmount the file. - SMal.tmcc 11 years ago
Posted by: SMal.tmcc 11 years ago
Red Belt
0

to mount, commit and unmount use imagex and the followiing commands


Comments:
  • SMal, thanks for the reply, but pretend I'm extra retarded. I've never used imagex (though Im sure I could figure it out), but I'm not seeing the purpose of mounting, commiting, and unmounting. Does this allow me to edit the wim or view its contents? Or maybe both? - aaronr 11 years ago
  • within the boot.wim you want to edit the windows\system32\startnet.cmd file there are net use lines in it that passes the password for the share.
    change that to the new password and save and reseal the boot file so the changes are there.

    this is part of one of my startnet.cmd files

    @echo.
    @echo *** Mounting the install shares
    @echo off
    net use Y: \\%KBOX_IP%\peinst /user:%KBOX_IP%\www "password"
    @if errorlevel 1 (
    @echo.
    @echo ERROR: Unable to mount shares at \\%KBOX_IP%\peinst
    exit /b 1
    )

    @echo off
    net use T: \\%KBOX_IP%\petemp /user:%KBOX_IP%\www "password"
    @if errorlevel 1 (
    @echo.
    @echo ERROR: Unable to mount shares at \\%KBOX_IP%\petemp
    exit /b 1
    ) - SMal.tmcc 11 years ago
  • Is there a way to grab the kbe off the kbox, place it on the imagex thumb drive, edit it, and then place it back on to the kbe? Or is this a one way trip? - aaronr 11 years ago
    • because how the kbox creates this startnet.cmd file during the upload phase and the regeneration would use the new password you can try to create a boot stick and then use the kbe manipulator to upload that wim by choosing that file under the "Upload a Custom KBE" tab. any special drivers would stay, you would only have to reenter custom commands you used the first time if you uploaded the original with the KBE_Man. - SMal.tmcc 11 years ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ