Jump to content

Maelstorm

Member
  • Posts

    269
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by Maelstorm

  1. Well, it built correctly, and everything works, except that **** ramdrive. I don't know what to make of it. I found this post that I was using as a guide: http://www.msfn.org/board/index.php?showtopic=40331 I've got a couple of other things to try.
  2. I loaded everything needed to build a WinPE 1.6 (2005) and now I'm getting this weird error when I run mkimg.cmd. E:\OPK\WinPE\BuildPE16>mkimg e:\Images\Win2K3SESP1 E:\OPK\WinPE\WinPE16 /WMI /PNP Verifying media ... Building hives ... MKIMG failed to build WinPE's registry from the 'config.inf' file. If you have made modifications to this file, please check them for errors. This is a clean installation, and I have not modified any files yet, other than to slipstream the Win2k3 SP1 into the Win2k3 directory. There is a text file that says something about an error, but it's empty. Any ideas? -- Update 04-24-2009 05:20AM PDT -- I figured out what the problem was. Since the name of the text file is bldhives-err.txt and there is a bldhives.exe file. I ran the exe and got the help for it. As it turns out, there is a missing file in the WinPE 1.6 (2005) distrubution called fonts.inf that is specified in config.inf. I copied the fonts.inf file from the WinPE 1.5 installation that I have and now it all works. Now to try and add in the ramdrive and see if I can get that working.
  3. I've searched though the forums and google, found a few good tutorials, but none of them work. I'm using a WinPE built from a WinXP SP2 source. From what I gather, ram disks don't work with this WinPE build? Judging by the sheer number of posts, someone somewhere must have gotten this thing working. I don't need very much space on the drive, the 32MB is plenty...Heck, 1M is overkill too. Any ideas?
  4. Here's what I have so far as for implementation: popuptest.html <html> <head> <title>Popup Window Test: Main Window<title> <script type="text/javascript" language="JavaScript"> function openwindow() { var feats; feats = "resizeable=1,scrollbars=1,width=689,height=728"; window.open("/test/popupnew.html", "Popup Window", feats); } </script> </head> <body> Click button for large data download. <input type="button" value="Click ME!" onclick="openwindow()"> </body> </html> popupnew.html <html> <head> <title>Popup Test: New Window</title> <script type="text/javascript" language="JavaScript"> var objxml; // Creates and returns a new communications object, if available. function get_comm_obj() { var serverObject; serverObject = false; try { serverObject = new XMLHttpRequest(); } catch(err) { try { serverObject = new ActiveXObject("Msxml2.XMLHTTP"); } catch(err) { try { serverObject = new ActiveXObject("Microsoft.XMLHTTP"); } catch (err) { } } } return(serverObject); } // Called when the response state has changed. function stateChanged() { var txtdata; if (objxml.readyState == 4) { txtdata = document.getElementById("xx0923"); txtdata.value = objxml.responseText; //alert(objxml.responseText); } } // Request data from the server. function get_data() { var url; url = "/test/genchar.php"; objxml.onreadystatechange = stateChanged; objxml.open("GET", url, true); objxml.send(null); } // Onload function. function comm_start() { var xs1; var xs2; objxml = get_comm_obj() if (objxml == false) { return (false); } get_data(); } </script> </head> <body onload="comm_start()"> <textarea id="xx0923" rows="40" cols="80"> </textarea> </body> </html> genchar.php <?php $datalist="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefgjihklmnopqestuvwxyz0123456789+="; $dcount = strlen($datalist) - 1; while(true) { $t = ""; for ($i = 0; $i < 78; $i++) { $t = $t . $datalist[mt_rand(0, $dcount)]; } print $t . "\n"; } ?> It does work for the most part, except that all the data is buffered before it is displayed. So if you have LOTS of data coming in from the server, nothing shows up until the connection closes, and that can take awhile. What I want to do is have the client display the data as the server streams it, since some of the commands that are being run are external to php in shell scripts. Any ideas?
  5. From what I understand, they took the activation code from Vista and back ported it to XP. What it does is allow Windows to be installed without a key, so you can input the key later. The benefit that I see to this is you don't need one disk for each machine, you just need one disk for them all, since you don't need the key right away.
  6. With the advent of SP3 for Windows XP, does anyone have the information to patch the new versions of SFC_OS.DLL and UXTHEME.DLL? It would be nice to have these.
  7. Now this is a weird one. The system will not log me out. When I hit the logout link at the top of the page, it is submitted, but I'm still logged in. Even to the point of me leaving this post.
  8. I have a PHP script that I'm using to generate a HTML page that resides inside a frame. It's basically a menu that consists of icons and their names below. Each item (the icon image and it's corresponding text) is defined in it's own table. The problem is that either I get a single colum of individual tables, or a single row of tables. So when using multiple singularly defined tables, how do you get the frame/window wrap (like text)?
  9. Or SETI@Home... But what I want to add to this thread is that under Unix systems (FreeBSD specifically), any unused RAM is allocated to the cache. So if you are using only 512MB of RAM in a machine that has 2GB RAM, then the other 1536MB RAM is used for cache. The kernel will keep between 1-5MB of memory free though in case a program does a memory allocation. But, if you load a program that wants a big chunk of memory, then the kernel will start dumping the cache pages to free up memory. If the cache page is marked dirty though, then it's flushed to the disk and then freed. The latter situation doesn't happen too often though because there's a kernel level process that scans the active memory pages looking for any that are dirty and sends them to the disk. I talked at length to a couple of the people who designed the setup that FBSD uses, and I have to say it was a very interesting conversation. The entire scheme is based on a series of design decisions, trade offs, and compromises that affect performance in different areas. Tweaking one part may increase performance in one area, but decrease it in another. Windows is no different. I read somewhere about why Windows NT 4.0 does a switch to a different processor when a thread comes back into context. Their answer was because it increases the performance of SQL Server.
  10. I've been looking over the posts for Windows XP activation, and I see that using the wpa.dbl method quit working in SP2. Has anyone tried to use a combination of methods? I found in the registry a number of interesting things on a activated WinXP Pro installation: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion DigitalProductID InstallDate LicenseInfo HKEY_LOCAL_MACHINE\SYSTEM\WPA I'm thinking that the combination of these registry keys and the file together is what makes the activation work. I would very much be interested in getting this to work so I can preactivate my legitimate Win XP Pro RTM Upgrade so I don't have to call Microsoft everytime I do an installation. Maybe we can do an online collaborative effort to hash this out. Any takers?
  11. Here's what I want to do. I have a Unix server (FreeBSD) running Samba which is configured as a WINS server. This machine is also running ISC-BIND and ISC-DHCPD. The DHCP server software does support the BOOTP protocol. What I want to do is when a workstation on the LAN boots off the network (PXE boot), I want it to load and run a unattended Windows XP installation (Like one of my DVDs, without the DVD). I have done some reading on this, and there was something about creating a boot image for the workstation (A bootable stub?) and a RAM drive. A better way would be to have the machine boot into a menu off the network so you can select different items from a menu such as an option to repair a windows XP installation or to perform an unattended install. From what I understand, it's possible, but I have no idea how to make this work. Should I have it start the Windows installation from a Windows PE kernel or what?
  12. Why Longhorn? Some facts behind the codename and the REAL reason why Microsoft software is so bad... When Microsoft first announced the next version of Windows, they called it Longhorn. Many people thought that Microsoft used the codename after the Texas Longhorn, which is a breed of cow. But, in a Linux advocacy group, a actual Microsoft software engineer who was working on Longhorn at the time made the following statement: "Longhorn is not named after the Texas Longhorn, but after a bar that is at the foot of the mountains at the Washington/Canadian border. It's called The Longhorn Saloon." With that in mind, the reason why Microsoft software is so bad becomes crystal clear: Their software engineers are all drunk.
  13. For my day to day stuff, I buy my software. My XP is legit. But, when I'm testing a new build or something, I use a bootleg copy of XP Pro Volume License. I do that because I don't want to deal with the activation hassles on a test computer who's hardware build changes frequently. And that's on one machine only. When I build a computer for someone, I make them pay for a legit copy of XP, and they get a legit copy of XP. The only time that I will go and download music is if I cannot find it anywhere else. I listen to Heavy Metal (I'm an old rocker) which is predominately found here in the US, so no need to pirate it. Just goto the local Best Buy or Fry's Electronics and get the CD. Since I have also developed a taste for anime, I also listen to alot of Japanese language music, which is hard to find here in the US. Certain internet based specialty shops do carry it, but they are few and far between. In most cases, I have to import it from Japan. And yes, I do understand alot of what they are saying in those songs too. As for movies, I don't download period. I either watch them On Demand or Rent/Buy the DVD.
  14. It really depends on what the format is. I generally keep formats to their native players. An exception to that rule that I have is MP3s...I play those with Sonique v1.96. It's old, but I like it and it works.
  15. I keep hearing about ReactOS. From someone who has actually used it, what do you really think about it? What is it similar too?
  16. For my Unix stuff, I use C, borne shell, and perl. For Windows, I use AutoIT and VBScript. For stuff that runs on a microcontroller or a digital signal processor, I use either C or assembler depending on what I am trying to do. I couldn't beleive how many programing languages are out there. There was WAY too many to list on the poll. I know of Cobol, Forth, Fortran, Lisp, Logo, Ada to name a few.
  17. I guess I lead off. For all my desktop use, I use Windows XP Professional. For my servers, I run FreeBSD.
  18. Of all the browsers there, a couple are strangely missing.... Mozilla/Seamonkey
  19. I had the same problem. Here's how I solved it: 1. Use a DVD boot manager, I used cdshell. 2. Get a copy of the CD/DVD boot sector (I called it bootsect.bin) and the setupldr.bin files. You will be modifying them. 3. Using a hex editor, open your bootsect.bin file (that's what I called it) and at offset 0x495, change I386 to any uppercase letters or numbers that you want, but it must be 4 characters. I kept one as I386 and made 4 more (CLEN, SOFT, DFLT, and NORM). I named the files booti386.bin, bootclen.bin, etc. 4. Using a hex editor, open setupldr.bin and using the search function, locate all instances of I386 (there are four of them) and replace them with the 4 characters that you used in step 3. The four locations are 0x225da, 0x2650b, 0x375e9, and 0x3c21b (as of WinXP SP2). 5. For each label that you created in steps 3 and 4, copy the I386 directory to the same names that you used. For instance, since I have a bootclen.bin and a setupldr.clen.bin, I copied the I386 directory to CLEN. Do that for all the instances of WinXP that you are using. 6. Copy the appropriate setupldr.bin file that you modified to it's corresponding directory. 7. Copy the appropriate WINNT.SIF file to each directory. 8. Build your cdshell menu (or other DVD boot menu) to include the options. Make sure that the menu commands call the proper bootsect.bin file, which will in turn, call the setupldr.bin file in the corresponding directory. For the indicator, I wrote a program that will write a text file into a temp directory and I call it from detached program in winnt.sif. The scripts that run later on look for this file to see which mode they should be in. I use a different filename for each instance of WinXP that I have.
  20. I use cdshell for my dvd boot loader needs. This should work for you. On mine, the chain command is a goto command for a menu. On the line that has the if $bootcount = 10, change 10 to anything you like for a timeout. It prints a "." for each second of the delay before it takes the default action. BOOTSECT.BIN is the boot sector image for the windows installation. This does take a little bit to load though since its loading the entire scripting environment into memory before the script runs. # Give the boot from CD/DVD prompt... boot: set bootcount = 0 cls print "\n" print "Press any key to boot from CD/DVD." boot1: getkey 1 goto boot2 then chain /boot/bootsect/BOOTSECT.BIN boot2: print "." set bootcount=$bootcount + 1 if $bootcount == 10; then boot 0x80 goto boot1
  21. Can we kill the popup on the front page as well for the people who are logged in? It is VERY annoying when I'm trying to read something and this popup keeps showing up.
  22. I've found a much better solution. A google search turned up this site [url="http://johnhaller.com/jh/useful_stuff/disable_windows_key/"]here[/url]. I've been using this on my system and it works quite well. No more hitting the windows key while you are in a game. disable_both_windows_keys.reg [code]Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout] "Scancode Map"=hex:00,00,00,00,00,00,00,00,03,00,00,00,00,00,5B,E0,00,00,5C,E0,00,00,00,00[/code] disable_left_windows_key.reg [code]Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout] "Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,00,00,5B,E0,00,00,00,00[/code] disable_right_windows_key.reg [code]Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout] "Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,00,00,5C,E0,00,00,00,00[/code] remove_scancode_mappings.reg [code]Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout] "Scancode Map"=-[/code]
  23. I figured out why it wasn't working... It was my fault why it wasn't working. Looking at it long enough I finally saw what I did wrong. I had DetachedProgram in the [unattended] section instead of [GuiUnattended]. That'll teach me to pay more attention to my work. Opps.... Oh well. Thanks to all those who helped me on this endevor. I'm going to go test it now. Later.
  24. As it turns out, my method didn't work. So, I'll try yours and see what that does. [EDIT 2006-09-12] Neither method works. The tag file just isn't being created. I do have a solution that I want to try though.
×
×
  • Create New...