-
How to to Push ghost image using RIS 2003
Search for "Using RIS with Ghost" on www.symantec.com.
-
How to see if windows update V6 is installed
Another option if u must use batch file, you can check for the file size or the date stamp. Below is the example for Notepad.exe which has file size of 69,120 bytes. dir %windir%\notepad.exe|find "69,120" if errorlevel 0 if not errorlevel 1 echo "Version is correct"
-
VBScript to detect laptops and wokstations
Set objShell = CreateObject("WScript.Shell") strCompType = objShell.RegRead("HKLM\System\CurrentControlSet\Services\Pcmcia\Start") If (strCompType = "0") Then Msgbox "PC is a laptop" Else Msgbox "PC is a desktop" End If This is based on the assumption that Laptops have PCMCIA slot hence the service is enabled.
-
Integrating gpedit.msc changes
HKLM\Software\Policies\Microsoft\Windows\Psched!NonBestEffortLimit
-
Anyone have Pause utility
Use a vbscript to run the ping command. Copy and Paste the code below in a .vbs file. Set objShell = CreateObject("Wscript.Shell") objShell.Run "cmd /c ping 127.0.0.1 -n 40", 0
-
Stop US Input Language - Australia
Daniel Below is what I have and works fine for me [RegionalSettings] Language = 0c09 LanguageGroup = 1 and a reg merge ; Remove Language Bar [-HKEY_CLASSES_ROOT\CLSID\{540D8A8B-1C3F-4E32-8132-530F6A502090}] Do not have Messenger installed so am not sure of the results if enabled/installed. Cheers Raja
-
How to wrap a .exe/.msi installer in a custom .msi
Any particular reason that you are not considering a startup script which is applicable to computers and can be a simple batch file executing whatever u like.
-
RunOnceEx Flags not working
/qb!
-
Script to detect pc type and install drivers
Check if this helps, you will have to expand on this as per your needs. Can help with any follow up ques u may have. Link
-
How to get logged user info from Registry?
Hi Using VB or Java script will give you the flexibility of getting the result the way you want it. Alternatively you can use net user command in a batch file. Try as below and see if u can use it successfully for ur need; Net user %USERNAME%|Find "*"|Find /v "Global Group" Cheers
-
Help With Batch File
Hi Am not sure what error is being reported as is it not in English, translate in English and I may be able to help. In regards to compiling vbs to an .exe, for US $100 u can get AdminScriptEditor Cheers Raja
-
Dumb Question On Viewing Texts
The feature is built right in the notepad; Look for Go to.. under the Edit menu, or alternatively press Ctrl + G and enter the line no. Pressing Ctrl + G will display the current line no. Cheers Raja
-
Logon script and user permissions
Hi Allan If you can afford to spend $99, then check ASI Editor at http://www.adminscripteditor.com/editor/. I am using this and is worth the small investment. Raja
-
Calling VBS gurus
Change sliced = testpath.slice(0,2) To sliced = Left(testpath,3) Slice is for JScripts.
-
Adding more RunOnceEX during RunOnceEx
1. Create a .reg file with following and save it as C:\RunOnceEx.reg Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\0001] "RunOnceEx"="Notepad.exe" 2. Create following String Value entry under RunOnce key: ValueName = RunOnceEx and its value as Regedit /s C:\RunOnceEx.reg OR Alternatively to achieve the same create another .reg file as below and run it by double clicking on it. Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce] "RunOnceEx"="Regedit /s C:\\RunOnceEx.reg" The RunOnce reg entry when executed, after all RunOnceEx entries are executed(if any), will create entry to run Notepad in RunOnceEx and will not be initiated till next logon or reboot. At the next logon/reboot, RunOnceEx entries will be enumerated and as a result Notepad will fire up.