Jump to content
MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. ×

IcemanND

Patron
  • Content Count

    3,252
  • Joined

  • Last visited

  • Donations

    $0.00 

Everything posted by IcemanND

  1. Are you running it as administrator? Not meaning as an administrator user but by elevating permissions? Right click the cmd script and select Run as Administrator.
  2. sorry, my typo. need to add the switches for recursive also. takeown /r /f en-US icacls en-US /grant brian:F /t
  3. Not sure where you are coming up with Deltree or Folder.deltree, neither are valid in a command in a CMD/BAT script. To delete a folder and the tree under it: rd /s /q <Root path> so to get rid of en-us: rd /s /q C:\windows\help\help\en-us and your icalcs and takeown command are not taking ownership of the help folder. It is taking ownership of a single file, winload.exe which won't help you with deleting the help folder, you need to point it at the folder you are trying to delete.
  4. icalcs c:\windows\system32\en-us\winload.exe.mui /grant Brian:F I believe you will need to at least grant yourself permission on the Help folder if not take ownership on it and the contents first.
  5. I have a powershell script somewhere that will let you pin and unpin items to the taskbar and the start menu. If you are interested let me know and I can look for it and post it.
  6. You could use the Filter feature on the Data tab to filter rows but not columns. If both are needed I think you would have to use a VBA function called on a worksheet change if you want it to happen any time a monitored value changes.
  7. the MUI files are only searched for by MMC.exe in the en-us subfolder or a EN subfolder of system32, I somehow missed the MUI files in my list of needed files. Without those the console is not correctly displayed because of missing icons or even whole sections.
  8. Just replicated what I did before for WinPE 3.0 or 3.1. Use the MMC_registry.au3 file above to import the registry keys needed. You also need to set values for the following, I did not add them to the above AU3 file in case others reading this already have IE added to their PE build, I do not but you need these values for MMC.exe to run: HKLM\Software\Microsoft\Internet Explorer Build - REG_SZ - 98112 svcUpdateVersion - REG_SZ - 9.0.1 svcVersion - REG_SZ - 9.0.8112.16421 Version - REG_SZ - 9.0.8112.16421 W2kVersion - REG_SZ - 9.0.8112.16421 Here are the files you need to have i
  9. I don't have any problem disabling the Offline Files service on my W520, been that way since re-built it. I actually use the Windows Search functionality regularly so I've left it running. Be sure you have the latest firmware for your SSD, it can make a huge difference in performance on some of them.
  10. Because that folder has special permissions set on it and no assigned user has rights to delete it. You would have to change the permissions on the folder and files using CALCS first.
  11. Unlike Windows XP, Windows 7 is already pretty hardware independent. I personally build all of my images in a VM using VMWare workstation. I install and ocnfigure it the way I want, add the drivers I need for our systems to a subfolder of c:\windows\inf and sysprep and capture. So far I have not had anyone tell me they had a machine it would not deploy to, the images I have created this way are deployed to over 2500 systems and not image related issues.
  12. How about the make and model of the pci card, might help figure out the issue.
  13. Unless there is another file that I missed. This should be a full list of all the dependent files, but I believe thay are already in the build: %systemroot%\system32\lpk.dll %systemroot%\system32\usp10.dll %systemroot%\system32\mfc42u.dll %systemroot%\system32\ole32.dll %systemroot%\system32\oleaut32.dll %systemroot%\system32\odbc32.dll %systemroot%\system32\shlwapi.dll %systemroot%\system32\uxtheme.dll %systemroot%\system32\duser.dll %systemroot%\system32\imm32.dll %systemroot%\system32\mscft.dll %systemroot%\system32\katrack.dll %systemroot%\system32\odbcint.dll %systemroot%\system32\mfc42l
  14. Make sure these imported: RegWrite("HKEY_CLASSES_ROOT\CLSID\{DBFCA500-8C31-11D0-AA2C-00A0C92749A3}", "", "REG_SZ", "DiskManagement.SnapInComponent") RegWrite("HKEY_CLASSES_ROOT\CLSID\{DBFCA500-8C31-11D0-AA2C-00A0C92749A3}\InProcServer32", "", "REG_EXPAND_SZ", "%SystemRoot%\System32\dmdskmgr.dll") RegWrite("HKEY_CLASSES_ROOT\CLSID\{DBFCA500-8C31-11D0-AA2C-00A0C92749A3}\InProcServer32", "ThreadingModel", "REG_SZ", "Apartment") RegWrite("HKEY_CLASSES_ROOT\CLSID\{DBFCA500-8C31-11D0-AA2C-00A0C92749A3}\ProgID", "", "REG_SZ", "DiskManagement.SnapInComponent") RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Cla
  15. I believe these are all of the files you need for diskmgmt.msc to work with the above registry entries. Since I was enabling more than one my notes may have an extra file or be missing one, if it doesn't work let me know and I can dig further. Files needed: %SystemRoot%\system32\MMC.EXE %SystemRoot%\System32\diskmgmt.msc %SystemRoot%\system32\mmcbase.dll %SystemRoot%\System32\mmc.exe %SystemRoot%\System32\mmcbase.dll %SystemRoot%\System32\mmcndmgr.dll %SystemRoot%\System32\mmcshext.dll %SystemRoot%\System32\apphelp.dll %SystemRoot%\System32\dmdlgs.dll %SystemRoot%\System32\dmdskmgr.dll %Syste
  16. Here is the autoit script I run that add the needed registry entries fro disk management to work in PE 3.0. It also enables or partially enables some of the other MMC consoles. Because of the way I ise PE to deploy images I don't add it directly to PE's registry I just load it at start up via my deployment application. MMC_Registry.au3 As soon as I find the file list I will add that too. The information somehow was separated when I was transferring it to a new system.
  17. You have to add some other files and registry keys in order to get the MMC console and Diskmgmt.msc to load. I have the info in some notes around here somewhere. Soon as I find them I can post the info. The class not registered error is actually due to the registry information missing.
  18. While startup items may be slowing a system down, replacing that spinning disk with a solid state drive will do more than turning everything off. The SSDs in my machines kick the read/write speeds of every spinning disk I have ever compared them to in both desktops and laptops. Only thing I can think of that might come close would be a raid array.
  19. Power/data cables. The pieces I have had to replace the least over the last 30 years.
  20. Agreed, take a machine and replace the spinning platter HDD with a SSD and performance issues almost disappear. I did this to a Thinkpad t61 (4 years old), ran windows 7 ok, put an SSD in it and it runs as well as a machine new out of the box.
  21. And an Exit For statement after the command you want run only once inside the If..else..then, that way once the statement is true and the backup script runs it will exit the for loop and continue the script after the Next statement. Something like this: (snipped to just the if..then the rest of the code would remain the same) If Ip > "194.7.23.199" And Ip < "194.7.23.255" Or _ Ip > "192.168.180.99" And Ip < "192.168.180.200" Or _ Ip > "192.168.181.99" And Ip < "192.168.181.200" and _ InStr(sysInfo.ComputerName, "OU=" & SBX) > 0 Then shell.run("\\SE
  22. Check for BIOS updates and reset BIOS to defaults. And Lenovo/IBM is known to customize the crap out of drivers. Might try updating them using the System Update tool form Lenovo/IBM.
  23. Don't know of an standalone server piece off the top of my head but there are many portable VNC viewers. Here for starters: http://www.pendriveapps.com/software/portable-vnc/
  24. I can't think of a way to prevent the minimizing, but you could write a Autoit script to watch the window and maximize it if it found it minimized.
×
×
  • Create New...