Content Type
Profiles
Forums
Events
Everything posted by gunsmokingman
-
How to disable SystemRestore in WINNT.SIF?
gunsmokingman replied to fragbert's topic in Unattended Windows 2000/XP/2003
I do not know if it can be done threw the Winnt.sif, but you could use a VBS script to disable System Restore. This script will disable System Restore on all the HD on the computer. Save As SRDisableAllHD.vbs This script will disable System Restore on only C:\ Drive or any other drive letter that you place here. Save As SRDisableSingeHD.vbs -
Easy Renaming Hotfix files to KBXXXXXX.exe
gunsmokingman replied to KYPUMPER's topic in Unattended Windows 2000/XP/2003
Try this script it should work, it will Rename any updates on any drive or folder on the local computer. This can be run from your desktop. -
Get ipaddress via script
gunsmokingman replied to bjorne78's topic in Unattended Windows 2000/XP/2003
Go to this Link it might help you do what you want. -
I have not had any problems using Vista, it been stable and fast. I do not play to many games but UT 2004 runs better then it did on the same machine using XP. Stability can be cause by programs or drivers not written for Vista, or are just written badly drivers or applications. Microsoft does try to include a compadibility mode to try and fix these problems. In the end it not Microsoft responsibilty to re-write other programs or drivers to make them work proper on Vista. Blame the software and hardware makers for the problems they may cause when using Vista.
-
XP And Vista explorer.exe question
gunsmokingman replied to FrozenBlade's topic in Unattended Windows 2000/XP/2003
They are not even close, they are different. -
XP And Vista explorer.exe question
gunsmokingman replied to FrozenBlade's topic in Unattended Windows 2000/XP/2003
Simple no it will not work. Vista is completely different then XP. -
Cleanup script
gunsmokingman replied to MAVERICKS CHOICE's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
I did get your message I forgot to reply sorry for that. Here try this script and see what it does, in theroy it should remove all accounts that are not in the Administrators Groups, not sure about the folders on this. So Give it a try and see what happens. I also have this HTA posted here that deletes Local User Accounts I could maybe modify it to suit your needs a little better,The Thread The HTA App Hope This Helps Gsm -
Cleanup script
gunsmokingman replied to MAVERICKS CHOICE's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
Post a list of what you want to be left and I will see what I can do for you with a vbs script. -
Easy Renaming Hotfix files to KBXXXXXX.exe
gunsmokingman replied to KYPUMPER's topic in Unattended Windows 2000/XP/2003
Here is a VBS Script I wrote because I was bored it will Rename the KB in any folder on the computer. Since this is a WMI VBS Script it can be ran across networks to Rename the Updates. To Run this against a Network Computer Change This To This Save As RenameKB_V1.vbs This one I added a message box that will report either no files where Renamed or how many where Renamed. Save As RenameKB_V2.vbs Yzöwl nice batch file -
Can't find shortcut.exe
gunsmokingman replied to tallspruce's topic in Unattended Windows 2000/XP/2003
I do not know about the app you are using but this can be done threw a VBS script. This script will place 3 shortcuts on your desktop. Save as Shortcuts.vbs -
Safe to Delete files in Windows\Temp folder
gunsmokingman replied to spacesurfer's topic in Windows Vista
Here is a VBS script that will delete the files or folders 2 days after they where created Sace As CleanSysTemp_2.vbs -
Safe to Delete files in Windows\Temp folder
gunsmokingman replied to spacesurfer's topic in Windows Vista
I can not be sure but you can not script something like that. It possible I think to use the run as in a script, but do not quote me on that. If you have some ideas about what you would like to script to do I might try and write a couple for you. Here is a simple script that list the install date and the last boot time Save As Install_LastBoot.vbs -
It reports this on Vista x86 I have XP x64 installed on the same computer Script that I used to get the information
-
Easy Renaming Hotfix files to KBXXXXXX.exe
gunsmokingman replied to KYPUMPER's topic in Unattended Windows 2000/XP/2003
I have never used a perl script but here a VBS script that will rename the KB Save As ReNameKB.vbs -
Safe to Delete files in Windows\Temp folder
gunsmokingman replied to spacesurfer's topic in Windows Vista
Here is a VBS script to delete all the files and none system folder in the temp directory Save As CleanTemp.vbs -
[VBScript]command line help
gunsmokingman replied to Mangix's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
I am not familiar with the app you are using but the script does work. I have modified the script so it produces a text file of the folder you input into the inputbox. I also added a filter to it, and it listed either mp3 or wma files in the folder. Saves as List_MP3_Wma.vbs This is what I got when I ran the script without the app -
System file replacing
gunsmokingman replied to Tihiy's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
This is a good tool to replace system files. Replacer -
[VBScript]command line help
gunsmokingman replied to Mangix's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
Are you sure this is a ExpandEnvironmentStrings. Maybe try some thing like this, as it now will have the path to the exe. Try this code instead -
Here is the page http://www.microsoft.com/downloads and in the search box type in the KB you are searching for.
-
Or here is a VBS script that will add a HTML template to the right click new function. Save As Add HTMLTemplate.vbs