August 31, 200719 yr I have been struggling with some simple commands and I do not know why they won't work. Cleanup.cmdDEL "%AllUsersProfile%\Desktop\DAEMON Tools.ink"I have also tried DEL /Q "%AllUsersProfile%\Desktop\DAEMON Tools.ink"I have a bunch more which should be very similar, I just need to know why these are not working for me The command is running from a user which is created using nlite. I am struggling with any delete command, can someone help me out ThanksEDIT: I have also read a whole bunch of other threads with these issues, but still none of the commands work, is there anything that needs to be before those commands, I mean at the beginning of cleanup.cmd Edited August 31, 200719 yr by Cti
August 31, 200719 yr change toDEL /Q "%AllUsersProfile%\Desktop\DAEMON Tools.lnk".ink is not the proper extention
August 31, 200719 yr Author Great, that worked Now what is the command to delete windows Explorer DEL /Q "%AllUsersProfile%\Desktop\Windows Explorer.Ink" this it not working, I am not sure if it considered a shortcut Thanks for the helpEDIT: what would the command be for deleting this reg entry HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run\DAEMON Toolshere I saved the reg file Windows Registry Editor Version 5.00[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]"ctfmon.exe"="C:\\WINDOWS\\system32\\ctfmon.exe""DAEMON Tools"="\"C:\\Program Files\\DAEMON Tools\\daemon.exe\" -lang 1033" Edited August 31, 200719 yr by Cti
August 31, 200719 yr I was just thinking the same thing.shortcuts have the extention .lnk or .Lnk as in link
August 31, 200719 yr to remove thenWindows Registry Editor Version 5.00[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]"DAEMON Tools"="\"C:\\Program Files\\DAEMON Tools\\daemon.exe\" -lang 1033"by adding the - it removes the key Edited August 31, 200719 yr by phkninja
September 1, 200719 yr Author Thanks Is it possible to remove Outlook from start menu, right at the top on the left hand side ?
September 1, 200718 yr DEL "%UserProfile%\Start Menu\Programs\Outlook Express.lnk"To delete registry keys I use a batch file with the following code.REG DELETE HKCU\Software\Microsoft\Windows\CurrentVersion\Run /v daemon.exe /fInstead of having to use registry files. Edited September 1, 200718 yr by andrewbell1984
September 1, 200718 yr Author Well I just added daemon tools to my registry tweaks, these are being applied anyways REG DELETE HKCU\Software\Microsoft\Windows\CurrentVersion\Run /v daemon.exe /fnow I tried one similar to this and I could not get it to work, I think the mistake was at the end where it says daemon.exeDEL "%UserProfile%\Start Menu\Programs\Outlook Express.lnk"I do have this, what I am trying to do, is removed it from the start menu upper left hand side, normally shows your default browser and email ??
September 2, 200718 yr You can remove the link through the "Taskbar and Start Menu Properties", as you probably know. The easiest way to integrate this into your installation process is to leave the link where it is, run Regshot 1.8.1 (freeware, Google for it) and make a first snapshot. Remove the link through the "Taskbar and Start Menu Properties" and create a second snapshot. Compare the snapshots and you will see which registry key is responsible for displaying the link at the top of the left column of the Start Menu. Export this key from your registry and have the REG-file imported again during the installation via your SVCPACK-file.
Create an account or sign in to comment