Jump to content

Change Mode


Advanced Member
  • Posts

  • Joined

  • Last visited

Everything posted by TomGL2

  1. Some batch files require administrator's rights to perform their tasks, such as writing to the HKLM and HKCR hives, performing disk maintenance, etc. It's easy to forget which do and which don't, leading to some annoying false starts. Starting the batch file with this code fragment at the top will invoke the "Run As" prompt and rerun the batch file as the selected user. ​ @echo off :: Code sample - Request elevated privileges for batch :: :: :: :: :: :: :: :: :: :: :: :: :: Code here runs as logged-on user :: :: :: :: :: :: :: :: :: :: :: :: net user "%username%" | find /i "group" | find /i "administrators" > NUL if NOT errorlevel 1 goto Elev'd echo Started with %username%'s privileges set tmpVbs="%temp%\~elevTmp.vbs" echo CreateObject("Shell.Application").ShellExecute "%comspec%", "/c "%0"", , "runas">%tmpVbs% start "" /w %tmpVbs% del %tmpVbs% exit /b :Elev'd echo. echo Running with %username%'s privileges :: :: :: :: :: :: :: :: :: :: :: :: :: Code requiring elevation follows :: :: :: :: :: :: :: :: :: :: :: :: pause ​ In use, you would of course remove "echo Started with..." and "Running with...", "pause", and the "::" comments.
  2. CD/DVD drivers are included in every Windows installation, so there's no good reason to make them available for download. In addition, because Microsoft owns the files, they're apt to threaten legal action if PC Pitstop were to host them.
  3. Please read PC Magazine's lead analyst's article "Think Windows's Built-In Antivirus Will Keep You Safe? You're Wrong". http://www.pcmag.com/article2/0,2817,2480487,00.asp
  4. Separate and apart from the problem itself, I cannot conceive of any reason to rely on the almost abysmally poor protection of Windows Defender. Almost every free solution is better, and a few nearly equal the best commercial offerings.
  5. Enter about:config in the address bar, and click the button to continue. Type ipc.pl in the search box. Double-click dom.ipc.plugins.enabled to toggle the setting. Close Firefox and monitor the Task Manager to determine that Firefox closes, then reopen the program. "plugin-container.exe" should no longer run when a plug-in loads. I've had more trouble with plugin-container.exe than with all the plug-ins combined.
  6. Extract the chipset drivers, then browse for the SMBus INF and CAT files. If they are present, perform a manual driver update, pointing the wizard to the appropriate folder. SetupChipset.exe -extract C:\Chipset
  7. As far as I can tell, an SM Bus INF file should be included in the Intel Management Engine Interface installation. But, the ReadMe for latest chipset INF installer specifically mentions "PCI System Management Bus" in the manual installation description. https://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&ProdId=816&DwnldID=20775&&lang=eng ReadMe http://downloadmirror.intel.com/20775/eng/readme.txt
  8. There appear to be three unrelated files involved in the errors. Shwicon is associated with the Allnet USB 6-in-1 card reader. STService.exe is part of Dell DataSafe Local Backup. The Microsoft Support Diagnostic Tool (MSDT.exe) is described here. http://support.microsoft.com/kb/926079 I'd guess that reinstalling or updating the card reader driver would fix that, and the same may be true for DataSafe.
  9. Must be misinterpreting something there. BitDefender's false-positive rate is 10, but the highest is 82 (McAfee). The average rate is 13.4.
  10. You should be able to see any error messages, though. Click Start, Run, type CMD and click OK to open a command prompt, then either use CD to navigate to the folder the file is in and type its name, or drag the file into the command prompt window (the second is obviously the easier). Press Enter to execute.
  11. I don't think that this can be diagnosed without seeing the batch file.
  • Create New...