Jump to content

Doc Symbiosis

Member
  • Posts

    333
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Germany

Everything posted by Doc Symbiosis

  1. Where does the CLSID entry come from? When I want to add my own program shortcut, can I choose any CLSID, which isn't defined? Thanks in advance.
  2. The folder Bill contains the profile, which is used, when Bill logs on locally with administrative rights. The folder Bill.etvcorp contains the profile which is used, when Bill logs on to domain. When you want to have both users to use the same profiledirectory, you first have to edit the adequate key in HKLM\Software\Microsft\Windows NT\CurrentVersion\Profilelist. There you have to locate the key ProfileimagePath, which has the value Bill.etvcorp and change it to bill. Secondly you have to change the security settings of the bill directory, so that the domainuser Bill has full access to it. I never tried this, but I think, that it should work without any problems. I hope the description is detailed enough, because it's a little hard to describe.
  3. The registry part for the default users profile i slocated in HKUSERS\.Default. This part is taken, when a user logs in, for which no user profile exists yet. So if you modify a key in this part, the changes should be assumed for every user, who had never logged on to the system. What keys do you want to be applied to default user?
  4. Hi there, I would also be interested in checkboxes for categories and I'm willing to take great pains for this. Where do I find the appropriate source code?
  5. I don't know if this helps, but with the following regtweak, you add the classic user control to control panel. ;Classic user control in control panel [HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}] @="User Accounts(classic view)" "InfoTip"="Starts The Classic User Control" [HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}\DefaultIcon] @="%SystemRoot%\\\\\\\\System32\\\\\\\\nusrmgr.cpl,0" [HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}\Shell\Open] [HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}\Shell\Open\command] @="Control Userpasswords2" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{98641F47-8C25-4936-BEE4-C2CE1298969D}] @="user accounts (classic view)" You just have to modify a litlle bit and should work
  6. You can copy the files to your harddrive, e.g. %windir%\i386. Then you have to insert this path in the value Sourcepath under the key: HKLM\Software\Microsoft\Windows NT\Currentversion Now every time, the system needs the installation files, it should search in this path.
  7. Maybe you should use start /wait for the commands, so that the are executed one after another.
  8. Perhaps try to copy the fsutil.exe from a XP system and put it into your system32 folder. I don't know if this works, but I think, it's worth a try.
  9. Btw the adequate registry values are: HKLM\Software\Microsoft\Windows NT\CurrentVersion\RegisteredOwner and HKLM\Software\Microsoft\Windows NT\CurrentVersion\RegisteredOrganization
  10. I think this command is contained in the ressource kit tools.
  11. @Yzöwl: At first very much thanks for the script to detect the first free drive letter. Works fine. Only thing is, that I wonder, were the variable %drvlet% comes from, because it isn't mentioned in the script before. Why does it have the right value?
  12. But then you set it for all users and not only for current user
  13. You have to remove the semicolon at the beginning of the second line, cause everything after a semicolon is ignored in a registry file ( the semicolon is the character to insert comments ). If this doesn't work, have a try with [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] "Start_ShowRecentDocs"=dword:00000002
  14. [edit] This is just one BIG EDIT and so these edit quotes will never appear again. I mixed the whole thing a little bit up, so now from scratch. [\edit] Hi there, I thought, this might interst someone. This is a guide howto run WPI from a network share (works with 3.6 and 4.3.5 combined with XPSP2): Assuming you have a fileserver named "server" a share on it named "software". Further one folder "swinstall" with two subfolders "WPI" and "setupfiles". Follow these instructions to be able to run wpi i.e. out of command line or runonceex.cmd with "\\server\software\wpi\wpi.cmd". I think it is system-language-independent, works at least with englisch and german system language.I attached both files I modified. At first use the attached WPI.cmd and just change the names of the networkshare, the setup-files-directory and the WPI-directory (lines 4-6) and perhaps make other modifications for your special needs. By the way in the WPI.cmd in the comment connect to the "last" free drive and write it to drvlet, means that windows searches for free driveletters backwards and those letters to which a local device was assigned anytime ago, are left out for the first. Second thing is to use the attached generate.js or to add to your generate.js the following function: function FindSWPath() { position = "generate.js" swpath = WshShell.regRead("HKCU\\Software\\WPI\\SWPath"); swpath = swpath +'\\' return swpath; } and to the function replpath in generate.js you add the lines swdir = FindSWPath(); rs = rs.replace(/%swpath%/gi, swdir); the second one of course placed after rs = new String(); rs = u; That's it, now you can use %SWPATH% in your config.js as path to your setupfiles, e.g. prog[pn]=['Mozilla 1.7.11'] uid[pn]=['MOZILLA'] desc[pn]=['Installs Mozilla 1.7.11'] ordr[pn]=[405] cmd1[pn]=['%SWPATH%\\Mozilla.exe -ma -ira'] dflt[pn]=['yes'] cat[pn]=['Apps'] pn++ generate.js WPI.cmd
  15. You first have to create a cmd-file e.g. Myappsetup.cmd and put in the root of your CD. The Myappsetup.cmd could be ( this would install mozilla and the Daemon-Tools silently on after another): ----------------------------------------------------------------------------------- REM Example, how to look for CDROM-drive. Must have a file to identify in its root (like WIN51 or Myappsetup.cmd). for %%i in (C 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:\Myappsetup.cmd set CDROM=%%i: echo Found CD-Rom as drive %CDROM% REM install Mozilla start /wait %CDROM%\Install\Mozilla\setup.exe -ma -ira REM install the Daemon-Tools start /wait %CDROM%\Install\Daemon\daemon.msi /qn /Reboot=Suppress exit ------------------------------------------------------------------------------------ Because of the "start /wait" Mozilla and the D-Tools install one after another. Put your apps in the directory called Install on your CD Then you create a file autorun.inf, like: ----------------------------------------------------------------------------------- [AutoRun] open=Myappsetup.cmd icon=Myicon.ico,0 ---------------------------------------------------------------------------------- Put an icon file called Myicon.ico in the root of the CD And that should be all to create a CD, which installs Mozilla and Daemon Tools silently, when you insert the CD (of course only if the autorun for CD is enabled, if not you'd have run the cmd manually). By the way, the icon file and the icon entry in the autorun.inf aren't necessary, but I think a little nicer with this. You also could use the Windows Post Installer ( have a look at http://www.msfn.org/board/index.php?showforum=93 ). Excellent little tool to install software. with this you can create a CD, so that the WPI starts and you can chosse the software to be installed. I hope this helps a little.
  16. You could use a CD with a WPI on it. You could modify the autorun.inf, so that the WPI is started automatically and set a timer in WPI. with this you have a CD, which installs, after e.g. 1 min youre dafult apps, but also could choose additional programs to install. There is an extra forum for WPI on this forum. Second way would be to call a cmd file through the autorun.inf, with which you install all you're apps. By the way, don't know if you know, if there exists a autorun.inf file on a CD, it's executed, when you insert the CD ( if you don't have deactivated the autorun for CDROM ). Hope this helps a little bit.
  17. Great work DarkShadows. But after some time I played with the scripts, I couldn't figure out, how to get the first free drive letter. Only can get a list of all free drives with the following script: @echo off for %%a in (a b c d e f g h i j k l m n o p q r s t u v w x y z) do ( fsutil fsinfo drivetype %%a:|find "No such Root Directory">nul 2>&1&&echo/%%a: ) pause&goto :eof Thanks in advance.
  18. Just can accompany to the previous speakers. To integrate this, should be left to the user of WPI.
  19. With my installation, I call WPI from runonceex, but WPI is placed on a network share. So I can implement new apps in WPI and don't have to make a new unattended CD. Other advantage is, that you also can use the WPI to install apps on computers, which already have a running installation. Only problem could be, that you have to integrate the nic drivers, but this really isn't that difficult.
  20. Is the DNS you're using working fine? Could be the problem.
  21. Don't know, if anyone needs this, but you can use parametres in batch script with %1,%2,...( %1 for first, %2 for second,..... parameter). So if you have the file test.cmd: @echo off echo %2 %1 exit and call through command line: "test.cmd there hello" it will output "hello there" It's a useless example, but just to point out, how it works. With this you can get more variable batch files, for example the name of the CD or the file on CD, you're looking for.
  22. Don't have an appropriate regkey, but you can open a port in commandline( so with a batchfile) with "netsh firewall set portopenng"
  23. Perhaps you should have a look in the following registry key: HKCR\drives\shellex\contextmenuhandlers. This key is appropriate for the context menu of drives ( CD, partition or any other ).
  24. Delete the following registry key: HKCR\Drive\shell\find. This deletes the search function for folders, drives and files. I think you can't do it independently.
×
×
  • Create New...