Jump to content

MrJinje

Developer
  • Posts

    1,031
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by MrJinje

  1. There is an easy way to find out if it is GP related. gpresult /H c:\report.html
  2. Running this on two 2 x86 lappy's with 1Gb ram, and 1 x64 desktop w 8Gb. 8GB machine is using a 4.5 GB qsoft ramdrive (meaning only 3.5GB system usable). The x64 is kinda the hog, it routinely uses 1.5Gb leaving me with just over 2GB available, but it can run 2-4 VM's no problem. The lappy's are quite a few years old and they handle Windows 7 better then Vista. In fact, if it weren't for the annoying pagefile pop-up, I wouldn't even use one on them. They usually have 300mb-400mb available when in use(600mb in my pic) Basically Windows will try to eat any RAM it can find.
  3. I'm using a 16MB pagefile because I used to get an error on reboot when I went naked (no pagefile). I set the minimum and maximum to 16MB and I haven't heard one peep since.
  4. you cannot add while inside of a 7z archive, you need to go up one level, then hit add. after doing so, use ellipsis (...) and select your existing 7z file and then files can be added to the archive. It seems geared towards creating new archives, not editing existing ones. If you don't like it, can always drag and drop (much easier IMO)
  5. In all fairness, using a try/catch block is an advanced programming technique. Trapping and knowing exactly when a specific exception will occur in ones application can in fact be the sign of a good programmer. In this case you have an easy way to avoid the error, so yes, in some circles people might argue ICACLS is a better method. But in other circles, they might argue that ICACLS would actually slow your program if it has to first parse the ACL, before attempting the code. Whereas, the try/catch will run quicker stand-alone. (assuming you are doing thousands of folders at the same time). It is just not a cut-and-dry situation, there are advantages to both methods. I leave the decision to you.
  6. To answer your original question, no, this cannot be done using a shortcut (or path variable) it simply requires more scripting logic to accomplish. I know this data is in the registry but cannot remember exactly where (BAGS MRU sounds like a good start). Unfortunately google taking the barf on my search criterion. No worries, there are 5 ways to do everything in M$, in your case, it might be plausible to create a VBS script (in your send-to directory) that will take your selected files as input, use sendkeys to copy, programmatically hit the explorer "Back" button, and then finally paste them. Same desired result.
  7. MrJinje

    software bug

    I have a computer where my BIOS stops noticing some USB ports, and the fix on that machine is to power down, unplug it, and then reset the BIOS jumper. When I boot back up, go into the BIOS (only if your BIOS uses ESCD) and reset the ESCDatabase, usually that does the trick. But mine is an older machine, and this is just a guess. Report back.
  8. MSFN.org, if we don't resolve your query in 30 minutes or less, it is free.
  9. Probably not netsh based, but many have there own ways of storing and managing settings. Why don't you tell us which firewall you are using, and maybe we can tell you an easy method to export/import settings from one machine to another. It might be as simple as copying an .ini file during your install, but until we know which one(s) you are using, we can only guess.
  10. Editing the default profile does not update pre-existing accounts. It can only affect accounts created after the edit. Try creating a new user account and login with it. Then report back. For each existing account you should also make the change here. HKEY_CURRENT_USER\Control Panel\Desktop, if you don't like it, the only other way is to delete your entire user folder so that it gets re-created using the modified default profile. Much easier to HKCU it IMO
  11. In that case, why not use ICACLS.exe or CACLS.exe to read the permissions prior to running your code.
  12. Easiest way might be to encapsulate it within a try catch block. The main code should run in the "try" block, and if the "try" generates your error, you can use the "catch" block to handle it.
  13. yes, there is a patched termsrv.dll for windows 7. http://deepxw.blogspot.com/2009/04/universal-termsrvdll-patch.html
  14. You probably aren't specifying your domain creds in your WDSClient.xml. Assuming you already read Cluberti's link, you should be using two separate XML files. Please paste ATTACH your WDSClient.xml. If you are still only using the one XML, that is the first thing we need to fix. Follow this link and download the samples here. (courtesy of arwidmark) Those particular domain creds go in your "WDSClient.XML" and they are done slightly differently than for the image specific XML. See how they wrap their Domain creds inside the "WindowsDeploymentServices" block. That is likely the cause of your issue. You probably still need your other domain creds (in your ImageSpecific.xml) so don't go deleting them. <WindowsDeploymentServices> <Login> <Credentials> <Domain>TSLAB</Domain> <Password>P@ssw0rd</Password> <Username>BuildAccount</Username> </Credentials> </Login> </WindowsDeploymentServices> From what I gather, WDSClient.xml is the WDS equivalent to the windowsPE portion of a DVD based installation. Basically it controls the PXE session and automates partitioning, imaging, everything up until the first reboot. Anything else would go in the OS or ImageSpecific.xml file.
  15. usboot has a relatively easy method.
  16. vLite can do the trick, be sure to check the "boot critical" option.
  17. Can you explain it better. Not exactly sure what you think "last access directory" means. Technically speaking when you select a file, right click and choose send-to, you are in effect accessing that directory. If it was possible to create a script, the files already exist in that directory creating a error. (the destination and the source files are the same) You cannot copy a file onto itself. Do you see the paradox ?
  18. Open WDS, right click on your Server Properties. Did you specify that XML for your architecture ?
  19. I'm guessing you already integrated drivers into your install.wim (using DISM) Now you need to add your SATA/RAID controller drivers into your boot.wim image #2, then it should work. Custom SATA drivers need to be added in both .wim's
  20. Yet another fix for Firefox Users. It's the Google Options Add-on from SeoToolSet XPI installer That is a negatory on that buddy. I'm probably routed through chicago, so maybe only parts of the US are online.
  21. Exactamundo But if that fails, try it without the "start /wait". You probably already know this, but for future readers. If you have to install stuff like office, firefox, etc, order them to install before the dcpromo command. dcpromo should run dead last. Also, there is a setting in answer.txt that forces reboot, be sure to use it.
  22. create a .cmd batch script that runs the proper DCPROMO command, then call the batch from WPI. dcpromo isn't so much an "application" as it is a command line tool.
  23. Whose idea was it to go live with-out an off button ? +1 vote for terminating Marissa Mayer VP of Search Products and Ugly User Experiences. Why do companies hire these useless suits, when will they learn that taking a 40 hour six-sigma course does not make you a black belt. If Chuck Norris worked at google the sidebar would probably hide itself whenever he stared at it. But he doesn't and it don't, so fix it google, add an off-button already.
  24. This VBscript can download HTTP files without any 3rd party tools. If you ask nicely, maybe someone would modify this to work with an external csv or text file. Then it could download all your files, and you'd be able to edit your list with notepad. See robvanderwoude.com for greater detail HTTPDownload "http://download.microsoft.com/download/4/A/A/4AA524C6-239D-47FF-860B-5B397199CBF8/windows-kb890830-v3.6.exe", "C:\" Sub HTTPDownload( myURL, myPath ) ' This Sub downloads the FILE specified in myURL to the path specified in myPath. ' ' myURL must always end with a file name ' myPath may be a directory or a file name; in either case the directory must exist ' ' Written by Rob van der Woude ' http://www.robvanderwoude.com ' ' Based on a script found on the Thai Visa forum ' http://www.thaivisa.com/forum/index.php?showtopic=21832 ' Standard housekeeping Dim i, objFile, objFSO, objHTTP, strFile, strMsg Const ForReading = 1, ForWriting = 2, ForAppending = 8 ' Create a File System Object Set objFSO = CreateObject( "Scripting.FileSystemObject" ) ' Check if the specified target file or folder exists, ' and build the fully qualified path of the target file If objFSO.FolderExists( myPath ) Then strFile = objFSO.BuildPath( myPath, Mid( myURL, InStrRev( myURL, "/" ) + 1 ) ) ElseIf objFSO.FolderExists( Left( myPath, InStrRev( myPath, "\" ) - 1 ) ) Then strFile = myPath Else WScript.Echo "ERROR: Target folder not found." Exit Sub End If ' Create or open the target file Set objFile = objFSO.OpenTextFile( strFile, ForWriting, True ) ' Create an HTTP object Set objHTTP = CreateObject( "WinHttp.WinHttpRequest.5.1" ) ' Download the specified URL objHTTP.Open "GET", myURL, False objHTTP.Send ' Write the downloaded byte stream to the target file For i = 1 To LenB( objHTTP.ResponseBody ) objFile.Write Chr( AscB( MidB( objHTTP.ResponseBody, i, 1 ) ) ) Next ' Close the target file objFile.Close( ) End Sub
×
×
  • Create New...