Content Type
Profiles
Forums
Events
Everything posted by gunsmokingman
-
Drive control and cd shutdown
gunsmokingman replied to user1453's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
Then it was my mistake I did not know you needed a CD in the drive. Slap self 5 times with wet noodles for not reading the code better. In case you are intrested in the error you get with out a Cd in the drive, now this could also be from how it copies when I paste it, It appears as 1 real long line and I may of made a mistake in how should be. Before I separate the code from 1 line After I separate the 1 long Line -
Problems with WMP10 install
gunsmokingman replied to exrcizn's topic in Unattended Windows 2000/XP/2003
I have not had any problems using this method. it works 100 percent This is a real install and not a VM install. -
For those who want to tune their XPCD
gunsmokingman replied to theutlass's topic in Unattended Windows 2000/XP/2003
You should use %systemDrive% In stead of c:\ plus you should run a check to see if the folder exists, before the copy. Here is a vbs Script That will check for this Folder %SystemDrive%\TempForIcon if it not there then it makes the folder. It then checks for this folder %SystemDrive%\XPCD then it copies the list of files. The SFX file has the added updated list -
Drive control and cd shutdown
gunsmokingman replied to user1453's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
I will tell you why I have it taskkill it if you run the CD eject part and the script has completed, look in taskmanager, these process are still running Wmiprvse.exe or wscript.exe and since I use a app to write the vbs scripts in it uses Cscript.exe so the only way to kill those processes is to use taskkill or use taskmanger to kill the process. I suppose those could be left out because I would assume that once the shut down began then those would be killed. I tried your script and it errors out. -
[Error] Applications fail to install properly, can't delete files
gunsmokingman replied to quinriva's topic in Windows XP
Then try a install of a none nLite XP and see if the errors exists. -
Problems with WMP10 install
gunsmokingman replied to exrcizn's topic in Unattended Windows 2000/XP/2003
I use this cmd to install WMP 10 from the Svcpack folder during the install, I have not recieved any errors doing it this way. -
[Error] Applications fail to install properly, can't delete files
gunsmokingman replied to quinriva's topic in Windows XP
Would this not be better in the Nlite section. -
Cool did not know that, but since I like using Built in Microsoft stuff that why I wrote the script.
-
Do they have to be installed? Since this is a VBS script there is nothing to install.
-
Drive control and cd shutdown
gunsmokingman replied to user1453's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
try and change the TASKKILL to TASKKILL.exe I ran the script and do not recieve any errors on my computer. This is where the next is needed. For Each StrOS in ObjOS StrOS.Win32Shutdown(Shutdown) Next -
Try this link srvinstw.exe it was from this thread The Thread it can install and uninstall a service. This is a Microsoft app.
-
Drive control and cd shutdown
gunsmokingman replied to user1453's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
You will get a error with that code you have a next but know For each. Here is the eject the Cd code WScript.Sleep 600 strComputer = "." On Error Resume Next Const Hidden = 0, Normal = 1, Min = 2 Const LogOff = 0, Shutdown = 1, Reboot = 2,PowerOff = 8 '''' FOR SHUT DOWN CODE Dim WMISrv, StrOS, ObjOS '''' FOR SHUT DOWN CODE Dim Act : Set Act = CreateObject("Wscript.Shell") Set oWMP = CreateObject("WMPlayer.OCX.7" ) Set colCDROMs = oWMP.cdromCollection colCDROMs.Item(i).eject Act.Run("%comspec% /c TASKKILL /F /T /IM Cscript.exe"),Hidden,True Act.Run("%comspec% /c TASKKILL /F /T /IM Wscript.exe"),Hidden,True Act.Run("%comspec% /c TASKKILL /F /T /IM Wmiprvse.exe"),Hidden,True WScript.Sleep 300 Here is the shut down code, you will need the lines I have pointed out in the above code for this one to work alone. Set WMISrv = GetObject("winmgmts:{impersonationLevel=impersonate,(Shutdown)}\\" & strComputer & "\root\cimv2") Set ObjOS = WMISrv.ExecQuery("Select * from Win32_OperatingSystem") For Each StrOS in ObjOS StrOS.Win32Shutdown(Shutdown) Next -
Drive control and cd shutdown
gunsmokingman replied to user1453's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
Yes I forgot to add that to the post, saves as CdEject_ShutDownXp.Vbs or whatever name you want to give it. -
[Question] Login script to remove google desktop search
gunsmokingman replied to D8TA's topic in Windows XP
It was a good script I just added one more varible to it. -
Thanks I may add some checkboxes to it later to remove any of the entries listed, if the people want it.
-
Drive control and cd shutdown
gunsmokingman replied to user1453's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
try this vbs script -
[Question] Login script to remove google desktop search
gunsmokingman replied to D8TA's topic in Windows XP
I have re-edit exrcizn to make it so the drive letter does not matter. -
Download the whole WMP10 then Extract that to a folder of your choice then run setup_wm.exe in the folder you extracted the download to.
-
Here is a VBS Script that will make a HTA, then it will list which programs are configured to automatically run each time Windows starts. This means it will check all Run, RunOnce, RunOnceEx Reg keys in all the registry places, and then it checks in the Alluser, User, start up folder, Title Edited - Please follow new posting rules from now on. --Zxian
-
AutoActivate=No ... AutoActivate=Yes?
gunsmokingman replied to hoodwinkedhybrid's topic in Unattended Windows 2000/XP/2003
Here is what my winnt.sif looks like I never get the activate dialog. -
PLZ GIV ME AN EXAMPLE OF HOW TO DO IT, LIKE IF U HAV THE PIC ON YOUR HARD DRIVE ON THE DESKTOP? You can add a image as a attachment, as long as it does not exceed the size limit.
-
Domain blocklist, revised.
gunsmokingman replied to BoardBabe's topic in Unattended Windows 2000/XP/2003
These Reg files I use get applied during the install. There are 5, I use for my install, I will redo them to get only the internet stuff. This is my Cmdline.txt Here are the reg files If you want to see what my UaPrestart.cmd does UaPrestart 1 UaPrestart 2 UaPrestart 3 Gsm_UaRegTweaks.rar -
Here is is a link to my My Webpage it has a few things there that may intrest you. The project files is the second link in the left side of the page.