Jump to content

Gogol

Member
  • Posts

    37
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Canada

Everything posted by Gogol

  1. You can use ... set "cmd=compname /d ?s" for /f "Tokens=1*" %%a in ('%CMD%') do set strComputername=%%a echo Computername ="%strComputername%" > sysprep2.inf HTH
  2. I dont know if it's too late but I'm using that piece of code to disable all Wireless Lan connection. It can surely be modified for 1394 class. setlocal ENABLEEXTENSIONS & set "cmd=devcon listclass net^|find "Wireless"" for /f "Tokens=1,2* delims=:" %%a in ('%CMD%') do devcon disable @%%a HTH
  3. Try ... [NetOptionalComponents] beacon=0 as explained Here
  4. Take a look on that batch, it needs getsid.exe and administrative share active on C: drive. If administrative share is disabled, try Sid2user.exe Finaly if you dont need something working in unattended mode, ObjSid.exe works great too ! HTH
  5. You should try pathman.exe from MS Resource Kit This tool exist in different version. Here is the Win2k ... Pathman.exe
  6. Found in this place a few weeks ago ... Qwerty.Msi http://www.qwerty-msi.com/
  7. I baked this one to unbind NetBios but you can use it to bind it *Tested on a single nic workstation* with Xp @echo off & setlocal ENABLEEXTENSIONS :: Need Reg.exe and Regfind.exe (from MS toolkit) :: :: DelayedExpansion for Command Processor must be enable before running this batch in a different dosbox :: REG ADD "HKCU\Software\Microsoft\Command Processor" /v DelayedExpansion /t REG_DWORD /d 00000001 /f :: :: Adjust connName to your Connexion Name :: Caution for french user, edit this file with dos editor for "é" set connName="Lan Connexion" :: set file=%random%%computername% set "netbt=HKLM\SYSTEM\CurrentControlSet\Services\NetBT\Parameters\Interfaces\Tcpip_" set "netbt2=HKLM\SYSTEM\ControlSet001\Services\NetBT\Parameters\Interfaces\Tcpip_" set "lines=2" set i=-1 set "ok=" set "key=" :: regfind -i 0 -p HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Network\{4D36E972-E325-11CE-BFC1-08002BE10318} %connName% >%file%.txt :: for /f "delims=" %%a in ('more ^<%file%.txt') do ( set/a i+=1 & for /f %%z in ('echo/%%i%%') do ( if "%%z"=="%lines%" set ok=1 ) if not defined ok set key=%%a ) :: REG QUERY %netbt%%key% /v NetbiosOptions if errorlevel 1 goto Errmsg :: :: Dword 1 to bind and 2 to unbind Netbios REG ADD %netbt%%key% /v NetbiosOptions /t REG_DWORD /d 00000001 /f REG ADD %netbt2%%key% /v NetbiosOptions /t REG_DWORD /d 00000001 /f goto end :: :Errmsg Echo Unable to find %connName% as your Connexion Name :end del .\%file%.txt Enjoy !
  8. I had the same problem and it's now fixed with CdShell v2.1.5
  9. Available here MSI v3.0 Redistributable but still in v3.0.3790.2538 (3/4/2005)
  10. Hi Everybody, IBindCfg allow you to unbind print and files sharing, protocol and services in unattended mode. Great tool to use with snetcfg http://bink.nu/files/IBindCfg.zip Enjoy !
  11. Sorry to say that but I don't think powercfg (sp1) deal with button or close lid action. mwiner and I ... will be happy to learn more on that !
  12. Hi, Is there a way (batch or command line tool) to unbind or uninstall files sharing and ms_client ? I've tried snetcfg.exe who uninstall ms_server very well but I'm not able to manage user account after that ... "workstation service is not started" TIA
×
×
  • Create New...