Jump to content


  • Posts

  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by staples

  1. staples


    using the fixmbr utility posted (that was updated september 2005) would the command "MbrFix /drive 0 fixmbr /yes" be equilvant to the dos command "Fdisk /mbr"?
  2. What about without a RAMDisk contents of winnt.sif?
  3. I am trying to create a dual boot of Windows PE and Windows XP and be able to switch with Boot.ini. I have searched and cannot find the solution if they are on different partitions. partition view partition 1 - Windows PE partition 2 - Windows 2k/xp/2k3 - active partition with boot.ini partition 3 - Data Boot.ini [boot loader] timeout=30 default=multi(0)disk(0)rdisk(0)partition(1)\WINNT [operating systems] multi(0)disk(0)rdisk(0)partition(2)\WINNT="Microsoft Windows 2000 Professional" /fastdetect multi(0)disk(0)rdisk(0)partition(1)\MININT="Microsoft Windows PE 2005" /fastdetect /minint Has anyone else done this? Do you have some ideas? things I have tried... ntldr from different OSes. Different boot.ini settings. Tried Recover Console changes in different msfn postings.
  4. After you boot via pxe to Windows PE 2005 is there a way to detect the PXE server name? It says it during the OS chooser, and during tftp download.
  5. I have heard there is a way to install a hot key in the bios, that when press boots to another partition or directory. Simply press F11 during boot and then it will boot to your PE partition. But no one I know how to do it. Does anyone know how this is done? or is it just not technologically feasible?
  6. Get RegToAdm, it is a utility I have been using for years. create your own adm file from a reg file. it is in nuts.exe (http://yizhar.mvps.org/)
  7. I need to change the .net framework machine.config (XML file format) with a script does anyone currently do it? Currently I am working on a Perl script using Perl::XML but it is not returning the machine.config file back to the same format. I could also use VS 2005 but it is not out yet (I do not want to compile with a beta). help.
  8. Currently I am gathering looking at each pc and finding the reg hack for the nic and making the hack. Looks like that is the only way to do it. the setting is controlled by the driver and not the os.
  9. Does anyone have a script or ideas for a script that changes the nic(s) on a pc to 100 full duplex? I have a auto it script but it depends on the nic name on whether it works or not. This is for after a pc has windows 2000 install and not during setup.
  10. I fix my own issue... i did not put the the excludion for the webserver. so it would only work once. change line lockPref("network.proxy.no_proxies_on", "localhost,"); to lockPref("network.proxy.no_proxies_on", "localhost,, webserver");
  11. I did a search and did not find anything on MSFN. I know that there are other topics for Firefox but they do not have this level of detail. I am working on a centralizing the configuration settings for firefox via a script on a webserver and I am running into a issue. The configurations comes down for the first time but if the configuration file changes on the web server then the change does not occur on the cleint. does anyone else have firefox 1.03 configed like this? do you have the same issue? How to configure firefox to use a web server script for configuration: ------change C:\Program Files\Mozilla Firefox\greprefs\all.js lockpref("general.config.obscure_value", 0); // for MCD .cfg files lockpref("general.config.filename", "firefox.cfg"); lockpref("general.config.vendor", "firefox"); ------ (add filename and vendor line, change obscure_value) ------New file C:\Program Files\Mozilla Firefox\firefox.cfg // firefox.cfg lockPref("general.config.vendor", "firefox"); lockPref("autoadmin.global_config_url","http://webserver/firefox.js"); lockPref("autoadmin.append_emailaddr",false); ------ ------New file at http://webserver/firefox.js // Mozilla User Preferences try { lockPref("network.proxy.ftp", "proxy"); lockPref("network.proxy.ftp_port", 80); lockPref("network.proxy.http", "proxy"); lockPref("network.proxy.http_port", 80); lockPref("network.proxy.ssl", "proxy"); lockPref("network.proxy.ssl_port", 80); lockPref("network.proxy.type", 1); lockPref("network.proxy.no_proxies_on", "localhost,"); lockPref("startup.homepage_override_url", "http://homepage/"); lockPref("browser.startup.homepage", "http://homepage/"); lockPref("browser.startup.homepage_override", true); lockPref("browser.startup.homepage_override.mstone", "rv:1.7"); } catch(e){ displayError("lockedPref", e); } ------
  12. Ok I found out "rd %temp%\. /q/s" on some windows xp it deletes %temp%. to make it work you can fake it out by putting a log file in the location so the directory cannot be deleted. Try this: rd %temp%\. /q/s >%temp%\1.log
  13. Over coded rd %temp%\. /q/s on windows 2k forward this works.
  14. There may also be a custom action to cause the reboot. Use orca to look for a item in the custom action table that has the word restart or reboot. sometime the people who right msi want to assure it reboots.
  15. I was request that I upload my mst again. it looks like the old one might have been overwritten. Adobe_Reader_7.0_tuned.mst
  16. staples

    Batch File!

    findstr does not always work. Unfortunately I do this all time. Here is a better solution... more lines but works all the time. find works better. find /i make the search Not case senstive. @echo off find /i "rat" a.txt >nul if %errorlevel%==0 goto foundarat if %errorlevel%==1 goto norat if %errorlevel%==9009 goto wherefind pause goto :eof :foundarat echo I found a rat. pause goto :eof :norat if not exist a.txt echo I cannot find a.txt, so there is no rat. if exist a.txt echo I cannot find a rat. pause goto :eof :wherefind echo I cannot find find. pause goto :eof
  17. Nope, I have a process to logon as a admin locked down and then reboot. If you find anything let me know I am curious. I was going to use DEVCON to look for printer and install the driver but I have not had good results. here by cmd file for use with devcon utiltiy. ----hp450.cmd---- set hwid= for /F USEBACKQ %%l in ( `HP450.bat` ) do SET hwid=%%l SET hwid="%hwid:~0,21%" devcon install c:\winnt\inf\hp450.INF %hwid% ----end hp450.cmd---- ----hp450.bat---- @echo off devcon find * | find /i "HP450" ----end hp450.bat----
  18. I am having issues with some HP printer drivers. Have you done any printers with it. or other usb devices?
  19. I have searched msfn and google but have not found anything... does anyone know how to script the removal of ! items out of device manager? I install the driver before the printer gets plugged in. I plug in the printer and sometimes it does not install the driver completely and gets a ! next to the device in device manager. I login as admin on the box and remove the device from device manager and then reconnect the device. Normally on the 2nd to 4th time it installs. So far I think I have gotten around it with a script that elevates the rights. But sometimes the ! still appears next to the device in device manager. is there a script to remove items with ! next to them in device manager?
  20. As for support (even though it ended in 2004) do not go past 8gb for the boot partition.... the file system has issues with ntfs and sometime pukes (with strange and random errors). any size for the remaining partitions is fine. I have had issues before.
  21. look to see if included in the install there is a iiscript.msi. If there is install that first. then you can install your other msi but add the following to the msi install line "iisetupdriven=true" without the quotes.
  22. neat idea... for a cd rom install or automated install where you would use the directory structure to sequence the install. I also use a script to map a unc path. so that you can just click on a file and it installs... if a drive needs to be mapped to do the install.. which could be chained together with this script to make this script work off of a network share. @echo off cls if not exist o2k3.msi goto mapdrive :install echo. echo installing Office 2003 echo. msiexec /i o2k3\PRO11.MSI transform=o2k3\Pro11.MST -qb goto :eof :exit exit :mapdrive echo. echo install directory is on a UNC Share .. Mapping drive echo. setlocal set uncinstallpath=%~p0 set uncinstallpath=%uncinstallpath:~0,-1% net use * "\\%uncinstallpath%" > uncdrive.txt FOR /F "eol=; tokens=2 delims=, " %%i in (uncdrive.txt) do call :changedrive %%i :changedrive if not exist %1\*.* goto :eof echo changing drive to %1 %1 call :install echo unmapping drive %1 C: net use %1 /d /y set uncinstallpath= goto exit
  23. it was requested that I make some changes to my mst file. Now it has: (all in this forum) No desktop icon EULA accepted ads disabled, automatic updating disabled, splash screen (theoretically) disabled, yahoo bar disabled. reboot suppressed. Removed the "PrintMe Internet Printing" menu item on File menu DISABLED (NOT remove) the "Purchase Adobe Acrobat" menu item under Help menu. Remove the "Digital Editions" menu item on File menu And it has been optimized with the plugins in the optional directory. to use type at the command line or in batch file msiexec /i "Adobe Reader 7.0.msi" TRANSFORMS="Adobe Reader 7.0 tuned.mst" /qb- (to make completely silent change /qb- to /qn) Adobe_Reader_7.0.mst
  24. you can also use the mst file in this thread to not install the link. http://www.msfn.org/board/index.php?showtopic=34404 msiexec /i msifilename.msi transforms=transformfilename.mst /qb- (or /qn for silent).
  25. Here is a mst to remove yahoo search remove ads disable autoupdate no Eula. Adobe_Reader_7.0.mst

  • Create New...