Jump to content

HØLLØW

Member
  • Posts

    137
  • Joined

  • Donations

    0.00 USD 
  • Country

    Germany

Everything posted by HØLLØW

  1. Has finished his deployment-jobs and begins final testing...

  2. Hey guys, I have a problem setting up a reg-key in Windows 2008 R2. I'm talking about the following key: [HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}] "LocalizedString" In Windows 2003 and 2008 (NOT R2!) it's no problem changing the key-value to "%ComputerName%", but in Windows 2008 R2 the local Administrator has no permission to edit the key, rename it, delete it or change the permission! I can manually take the ownership of the key via "regedit" and then edit the value, but I have to do it via batch / CMD! In Windows 2003 there is the command "REGINI" to change permissions via commandline, but how to do this in Windows 2008 R2? Hope anyone get rid of this problem and can give me a solution for that. Thank you
  3. Hi Jadestar, you can easily use the command "bootcfg" to add the switches you want to your "boot.ini" file. An example: bootcfg /raw "/PAE /3GB /USERVA=3072" /a /ID 1 The command "/raw" says, that the following switches "/PAE /3GB /USERVA=3072" should be added, the "/a" after that says, that the switches should be added to the existing switches in your "boot.ini" and not to overwrite them. "/ID 1" is the "ID" of your "boot.ini" entry which starts at "1". Hope I could help you.
  4. Hey chrisoborski, just used quotes now and it worked? In the past, I also used no quotes in my "SVCPACK.INF", but there was a reference at Microsoft or somewhere with the quotes.
  5. As "arwidmark" said, you can use "appdeploy.com" to find your silent switches. But very often, you can find the switches on the website of the app in the FAQ or the documentation.
  6. Note: I'm installing IE8 etc. in the "SVCPACK.INF" not in "CMDLINES.TXT" Just post here when you've tested it.
  7. To install avast! 5 silently, just use this switch: /Silent You can also save and restore your configuration of avast!. The .ini-files are stored here: %AllUsersProfile%\Application Data\Alwil Software\Avast5\
  8. Hey ho, just create a file named "CD.txt", put it in the root of your CD and add the following code to your install-script: FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\CD.txt SET CDROM=%%i: This will determine your CD-Drive in the variable "%CDROM%". So you can run your .exe-files like this: %CDROM%\application.exe /silent
  9. Hi, I'm installing the IE8 and WMP11 at the beginning of my "SVCPACK.INF" and it's working very fine for me: [Version] Signature="$Windows NT$" MajorVersion=5 MinorVersion=1 BuildNumber=2600 [SetupData] CatalogSubDir="\i386\SVCPACK" [ProductCatalogsToInstall] [SetupHotfixesToRun] "WMP11.exe /Q:A /R:N /c:""SETUP_WM.EXE /Q /R:N /NoPID /DisallowSystemRestore /P: #e""" "IE8.exe /quiet /update-no /no-default /norestart" "KB890830.exe /Q /O /N /Z" "KB898461.exe /Q /O /N /Z" "KB923789.exe /Q:A /R:N" "KB929399.exe /Q /O /N /Z" "KB936782.exe /Q /O /N /Z" "KB938464.exe /Q /O /N /Z" "KB939683.exe /Q /O /N /Z" "KB941569.exe /Q /O /N /Z" "KB946648.exe /Q /O /N /Z" "KB950760.exe /Q /O /N /Z" "KB950762.exe /Q /O /N /Z" "KB950974.exe /Q /O /N /Z" "KB951066.exe /Q /O /N /Z" "KB951376.exe /Q /O /N /Z" "KB951748.exe /Q /O /N /Z" "KB951978.exe /Q /O /N /Z" "KB952004.exe /Q /O /N /Z" "KB952069.exe /Q /O /N /Z" "KB952287.exe /Q /O /N /Z" "KB952954.exe /Q /O /N /Z" "KB954154.exe /Q /O /N /Z" "KB954155.exe /Q /O /N /Z" "KB954459.exe /Q /O /N /Z" "KB954600.exe /Q /O /N /Z" "KB955069.exe /Q /O /N /Z" "KB955759.exe /Q /O /N /Z" "KB955839.exe /Q /O /N /Z" "KB956572.exe /Q /O /N /Z" "KB956744.exe /Q /O /N /Z" "KB956802.exe /Q /O /N /Z" "KB956803.exe /Q /O /N /Z" "KB956844.exe /Q /O /N /Z" "KB957097.exe /Q /O /N /Z" "KB958644.exe /Q /O /N /Z" "KB958687.exe /Q /O /N /Z" "KB958869.exe /Q /O /N /Z" "KB959426.exe /Q /O /N /Z" "KB959772.exe /Q /O /N /Z" "KB960225.exe /Q /O /N /Z" "KB960803.exe /Q /O /N /Z" "KB960859.exe /Q /O /N /Z" "KB961371.exe /Q /O /N /Z" "KB961373.exe /Q /O /N /Z" "KB961501.exe /Q /O /N /Z" "KB967715.exe /Q /O /N /Z" "KB968389.exe /Q /O /N /Z" "KB968537.exe /Q /O /N /Z" "KB968816.exe /Q /O /N /Z" "KB969059.exe /Q /O /N /Z" "KB969897.exe /Q /O /N /Z" "KB969898.exe /Q /O /N /Z" "KB969947.exe /Q /O /N /Z" "KB970238.exe /Q /O /N /Z" "KB970430.exe /Q /O /N /Z" "KB970653.exe /Q /O /N /Z" "KB971468.exe /Q /O /N /Z" "KB971486.exe /Q /O /N /Z" "KB971557.exe /Q /O /N /Z" "KB971633.exe /Q /O /N /Z" "KB971657.exe /Q /O /N /Z" "KB971737.exe /Q /O /N /Z" "KB971961.exe /Q /O /N /Z" "KB972270.exe /Q /O /N /Z" "KB973346.exe /Q /O /N /Z" "KB973354.exe /Q /O /N /Z" "KB973507.exe /Q /O /N /Z" "KB973525.exe /Q /O /N /Z" "KB973540.exe /Q /O /N /Z" "KB973687.exe /Q /O /N /Z" "KB973815.exe /Q /O /N /Z" "KB973869.exe /Q /O /N /Z" "KB973904.exe /Q /O /N /Z" "KB974112.exe /Q /O /N /Z" "KB974318.exe /Q /O /N /Z" "KB974392.exe /Q /O /N /Z" "KB974417.exe /Q:A /R:N" "KB974455.exe /Q /O /N /Z" "KB974571.exe /Q /O /N /Z" "KB975025.exe /Q /O /N /Z" "KB975467.exe /Q /O /N /Z" "KB975560.exe /Q /O /N /Z" "KB975561.exe /Q /O /N /Z" "KB975713.exe /Q /O /N /Z" "KB976662.exe /Q /O /N /Z" "KB977165.exe /Q /O /N /Z" "KB977816.exe /Q /O /N /Z" "KB977914.exe /Q /O /N /Z" "KB978037.exe /Q /O /N /Z" "KB978207.exe /Q /O /N /Z" "KB978251.exe /Q /O /N /Z" "KB978262.exe /Q /O /N /Z" "KB978338.exe /Q /O /N /Z" "KB978601.exe /Q /O /N /Z" "KB979306.exe /Q /O /N /Z" "KB979309.exe /Q /O /N /Z" "KB979683.exe /Q /O /N /Z" "KB980182.exe /Q /O /N /Z" "KB980232.exe /Q /O /N /Z" "KB981332.exe /Q /O /N /Z" "qchain.exe"
  10. Hi there, the command is correct, so what's the problem? Getting it in the "RunOnceEx.cmd"?
  11. It's XP/2K3. Thank you Yzöwl, but it cuts the file extension if I ECHO the variable! Is it possible to show the full filename WITH the extension? Thanks
  12. Hi guys out there I'm searching for a solution to determine a complete filename by using the following command: dir %tmp% | find ".inf"The filename should be saved to a variable. Why I would do this: In the %tmp% folder is just one .inf file, but the name of the file changes sometimes so I'd like to have a flexible script to determine the .inf file name in this folder. Hope anyone can help (I'm sure) Thank you
  13. Yes, I think that's it! I just forgot that in my post, thank you guys. Skidajmo, can you try that and give us feedback?
  14. Hi, you'd like to modify the deisgn of the XP-Setup? There are so many guides here to modify all the needed files. Just read them first before you ask anyone here to create it for you. I don't mean it bad with you, but it's learning by doing...
  15. Hi AllenF, I don't know exactly what you're searching for... You'd like to install a .exe-file from a drive and you want to determine the drive-letter with a batch?! When I'm right, you have to create a file called "CD.txt", put that into the root of the drive and use this script: FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\CD.txt SET CDROM=%%i: %CDROM%\%YOUR_SOFTWARE_.EXE% /%SILENT_SWITCH_FOR_THE_.EXE% This detects the drive-letter and runs your .exe-file.
  16. Hi CutTheGrass, your first question: You can simply use a batch-file to create the user-accounts you need. This adds your user, adds it to the administrators-group and removes it from the "normal" users: NET USER %YOUR_USERNAME% %YOUR_PASSWORD% /ADD /FULLNAME:"%FULLNAME_OF_THE_USER%" /COMMENT:"%A_COMMENT_IF_REQUIRED%" NET LOCALGROUP Administrators /ADD %YOUR_USERNAME% NET LOCALGROUP Users /DELETE %YOUR_USERNAME% This adds a "normal" user: NET USER %YOUR_USERNAME% %YOUR_PASSWORD% /ADD /FULLNAME:"%FULLNAME_OF_THE_USER%" /COMMENT:"%A_COMMENT_IF_REQUIRED%" Your second question: As -X- posted, you can also use the classic logon style for Windows: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon] "LogonType"=dword:00000000
  17. It should look like this: REG ADD %KEY%\50 /VE /D “Importing HKLM Registry Tweaks” /f REG ADD %KEY%\50 /V 1 /D “REGEDIT /S hklm.reg” /f So you forgot the \ after %KEY%!
  18. Hi AllenF, I can't see any errors at the time. Why don't you just test your file and ask if you having problems with it and not before you've tested it?
  19. Hi guys out there, can anyone tell me if it's possible to make a text blinking in a batch-file? I read a few sites about that but I thinks it's very complex to do that?! Is there a 3rd-party tool to do this? I always usie "EchoX" to make colored text, but it has no functionality to make blinking text Is it also possible to clear just one line in a ECHO-command in batch? With CLS I always clear the whole screen... Thank you
  20. Hi there, I'm searching for a solution to convert my string, saved in the variable %VAR% to lower-case characters, because it's always upper-case: Thank you
×
×
  • Create New...