tag:blogger.com,1999:blog-27954214041011911992024-02-20T02:43:01.179+00:00Windows Tricks and TipsR. Bovillhttp://www.blogger.com/profile/13806761971999862684noreply@blogger.comBlogger20125tag:blogger.com,1999:blog-2795421404101191199.post-54359494314605478342012-04-25T09:17:00.001+01:002012-04-25T09:17:45.133+01:00Windows 7 Search<div dir="ltr" style="text-align: left;" trbidi="on">
http://msdn.microsoft.com/en-us/library/aa965711%28VS.85%29.aspx - Advanced Windows 7 Search Syntax
Searching for a filename in Windows 7, prepend the search with filename:
filename: Somefile.*
</div>R. Bovillhttp://www.blogger.com/profile/13806761971999862684noreply@blogger.com0tag:blogger.com,1999:blog-2795421404101191199.post-85717576194559739872011-01-27T15:43:00.000+00:002011-01-27T15:43:53.196+00:00Changing System Restore Storage Space in Vista<div dir="ltr" style="text-align: left;" trbidi="on"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDngtGAXDbY3KJsJzU66GezuffInrSwgf2aJbQHuVXTGO7gcJ7fsXywcfb-xrKhEO0VCvS2N7276T0BOucNKevq4EZq-CSHXeZMqisN55XkY8at_JPFJ6QX8g0kSm5GME0ncQv0Lx2Awq6/s1600/Changing+System+Restore+Storage+Space+in+Vista.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="238" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDngtGAXDbY3KJsJzU66GezuffInrSwgf2aJbQHuVXTGO7gcJ7fsXywcfb-xrKhEO0VCvS2N7276T0BOucNKevq4EZq-CSHXeZMqisN55XkY8at_JPFJ6QX8g0kSm5GME0ncQv0Lx2Awq6/s320/Changing+System+Restore+Storage+Space+in+Vista.png" width="320" /></a></div><div class="separator" style="clear: both; text-align: center;"></div><br />
vssadmin list shadowstorage - List ammount of shadow storage space<br />
<br />
vssadmin resize shadowstorage /on=[drive letter]: /For=[drive letter]: /Maxsize=[maximum size]GB - Resize the shadow storage<br />
<br />
vssadmin resize shadowstorage /on=C: /For=C: /Maxsize=15GB - Eg: Resize system restore space for drive C (using space on drive C) to 15GB.</div>R. Bovillhttp://www.blogger.com/profile/13806761971999862684noreply@blogger.com0tag:blogger.com,1999:blog-2795421404101191199.post-16088752409178864502011-01-27T15:05:00.000+00:002011-01-27T15:05:21.202+00:00Re-Enable Hibernate Option in Windows Vista<div dir="ltr" style="text-align: left;" trbidi="on">Found this trick <a href="http://www.howtogeek.com/howto/windows-vista/re-enable-hibernate-option-in-windows-vista/">here</a></div>In the command line type:<br />
<pre>powercfg /hibernate on
</pre>R. Bovillhttp://www.blogger.com/profile/13806761971999862684noreply@blogger.com0tag:blogger.com,1999:blog-2795421404101191199.post-35206470267682388522010-11-10T10:57:00.001+00:002010-11-10T11:00:44.497+00:00Blocked FilesSometimes when you receive a file from another computer, say through live messenger or something similar, it ends up blocked. When you try to run it you get the following error <i>"Windows cannot access the specified device, path, or file. You may not have the appropriate permission to access the item."</i><br />
<br />
I found the solution <a href="http://helpdeskgeek.com/help-desk/windows-cannot-access-the-specified-device-path-or-file/">here</a>.<br />
<br />
Right click in windows explorer on the item and then click on the "Unblock" button at the bottom as seen here:<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIJ0ebslEAXuLz8sOJm3_xg5GTNmPkA2nPmeow4qBjFF67DX4w-U2t2bEb2X-Z-EmktBta8JGXSe5yHFIkixNpWyoJmRL7EHqB1mkpku7f6PbSlDjknlaUauNg7WuYDBTklwd9jNziP-zX/s1600/unblockfileserver2003.png" anchor="1" style="clear:left; float:left;margin-right:1em; margin-bottom:1em"><img border="0" height="400" width="325" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIJ0ebslEAXuLz8sOJm3_xg5GTNmPkA2nPmeow4qBjFF67DX4w-U2t2bEb2X-Z-EmktBta8JGXSe5yHFIkixNpWyoJmRL7EHqB1mkpku7f6PbSlDjknlaUauNg7WuYDBTklwd9jNziP-zX/s400/unblockfileserver2003.png"/></a></div>R. Bovillhttp://www.blogger.com/profile/13806761971999862684noreply@blogger.com0tag:blogger.com,1999:blog-2795421404101191199.post-79532911276612637532010-03-26T08:01:00.002+00:002010-03-26T08:04:36.625+00:00Symbolic Link Tools<a href="http://www.ghacks.net/2010/03/25/how-to-move-large-apps-or-games-to-another-drive/">Moving Apps or Games</a> - Using symbolic links to make an app appear on one drive whilst they are stored on another<br /><a href="http://schinagl.priv.at/nt/hardlinkshellext/hardlinkshellext.html">Shell based</a> link tool<br /><a href="http://www.rekenwonder.com/linkmagic.htm">Looks like the most intuitive tool to me</a>R. Bovillhttp://www.blogger.com/profile/13806761971999862684noreply@blogger.com0tag:blogger.com,1999:blog-2795421404101191199.post-20754845006503664982009-08-07T09:05:00.003+01:002009-08-07T09:08:38.667+01:00Symbolic Links in NTFS<a href="http://articles.techrepublic.com.com/5100-10878_11-6177180.html">How to use symbolic links in Vista</a><br /><a href="http://www.shell-shocked.org/article.php?id=284">Tools for creating hard links in XP</a><br /><a href="http://www.zabkat.com/blog/19Oct08-redirect-outlook-pst-folder.htm">See here as well</a><br /><h4>Using Junction</h4><br /><a href="http://technet.microsoft.com/en-us/sysinternals/bb896768.aspx">Junction tool for creating symbolic links</a> <br />Use junction to list junctions:<br />Usage: [-s] <directory or file name><br />-s Recurse subdirectories<br />Examples:<br />To determine if a file is a junction, specify the file name:<br /><br />junction c:\test<br /><br />To list junctions beneath a directory, include the –s switch:<br /><br />junction -s c:\<br /><br />To create a junction c:\Program-Files for "c:\Program Files":<br /><br />C:\>md Program-Files<br />C:\>junction c:\Program-Files "c:\Program Files"<br /><br />To delete a junction, use the –d switch:<br /><br />junction -d c:\Program-FilesR. Bovillhttp://www.blogger.com/profile/13806761971999862684noreply@blogger.com0tag:blogger.com,1999:blog-2795421404101191199.post-65084876282644687182009-02-15T20:53:00.001+00:002009-02-15T20:53:44.125+00:00IDE ATA and ATAPI disks use PIO mode after multiple time-out or CRC errors occurThese notes are taken from <a href="http://www.theprogrammingplace.ca/articles/2008-01-02/performance-windows/singlepage/aijbo40o/reenabling-dma-in-windows.aspx">here</a><br /><ol><br /><li>In regedit.exe search for HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96A-E325-11CE-BFC1-08002BE10318}<br /></li><li>Expand the registry node. You should see entries labeled "0000", "0001", "0002", etc.<br /></li><li>Double-click on each key entry and in the right side panel look for the subkey "DriverDesc". Verify that the "DriverDesc" reads "Primary IDE Channel" or "Secondary IDE Channel".<br /></li><li>Check to see if the registry entry "ResetErrorCountersOnSuccess" is already present and set to 1 (ie. "0x00000001"). If it is set to 0, double-click on "RestErrorCounterOnSuccess" and change the value to 1, close regedit, reboot your system, and after reboot check to see if DMA mode has been enabled.<br /></li><li>If "ResetErrorCountersOnSuccess" it is not present, then select the "Edit" menu, select "New" and click on "DWORD value".<br /></li><li>Enter the name "ResetErrorCountersOnSuccess" and press enter.<br /></li><li>Double-click on "ResetErrorCountersOnSuccess" and enter the value 1.<br /></li><li>Close regedit and reboot the system. After reboot, check the value of "Current Transfer Mode" for the channel(s) updated.</li><br /></ol>R. Bovillhttp://www.blogger.com/profile/13806761971999862684noreply@blogger.com0tag:blogger.com,1999:blog-2795421404101191199.post-88660549329981076272009-01-21T20:47:00.004+00:002009-01-21T20:52:22.684+00:00Disable Auto PlayPut the following in a registry file and execute it to disable AutoPlay on all drives<br />See more details <a href="http://support.microsoft.com/kb/953252">here</a><br /><pre><br />Windows Registry Editor Version 5.00<br /><br />[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer]<br />"NoDriveTypeAutoRun"=dword:000000ff<br /></pre><br /><br />You can selectively drives with the following values (that can be 'Or'ed together)<br /><pre><br />Value Meaning<br />0x1 Disables AutoPlay on drives of unknown type<br />0x4 Disables AutoPlay on removable drives<br />0x8 Disables AutoPlay on fixed drives<br />0x10 Disables AutoPlay on network drives<br />0x20 Disables AutoPlay on CD-ROM drives<br />0x40 Disables AutoPlay on RAM disks<br />0x80 Disables AutoPlay on drives of unknown type<br />0xFF Disables AutoPlay on all kinds of drives <br /></pre>R. Bovillhttp://www.blogger.com/profile/13806761971999862684noreply@blogger.com0tag:blogger.com,1999:blog-2795421404101191199.post-9896462457390207222009-01-01T22:31:00.001+00:002009-01-01T22:32:22.833+00:00Manually Installing/Uninstalling a Codec In WindowsTo install<br /><pre><br />Windows Registry Editor Version 5.00<br /><br />[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32]<br />"something.XXX"="XXX.acm"<br /><br />[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\drivers.desc]<br />"XXX.acm"="Some textual description here"<br /></pre><br /><br />To uninstall<br /><pre><br />Windows Registry Editor Version 5.00<br /><br />[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32]<br />"something.XXX"=-<br /><br />[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\drivers.desc]<br />"XXX.acm"=-<br /></pre>R. Bovillhttp://www.blogger.com/profile/13806761971999862684noreply@blogger.com0tag:blogger.com,1999:blog-2795421404101191199.post-8668806995325762992008-04-27T16:58:00.003+01:002008-05-05T10:24:03.091+01:00CACLSGive full rights permissions to users on a directory<br /><pre>cacls {dir} /E /G BUILTIN\Users:F</pre><br />For more details see <a href="http://www.google.com/search?q=cacls&btnG=Google+Search">here</a>R. Bovillhttp://www.blogger.com/profile/13806761971999862684noreply@blogger.com0tag:blogger.com,1999:blog-2795421404101191199.post-89613862309118916222008-04-24T21:20:00.000+01:002008-04-24T21:22:10.827+01:00Speed Up Windows Shut Down<pre><br />Windows Registry Editor Version 5.00<br /><br />[HKEY_CURRENT_USER\Control Panel\desktop]<br />"HungAppTimeout"="5000"<br />"WaitToKillAppTimeout"="4000"<br />"AutoEndTasks"="1"<br />"MenuShowDelay"="100"<br /><br />[HKEY_USERS\.DEFAULT\Control Panel\Desktop]<br />"HungAppTimeout"="5000"<br />"WaitToKillAppTimeout"="4000"<br /><br />[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\]<br />"WaitToKillServiceTimeout"="4000"<br /></pre>R. Bovillhttp://www.blogger.com/profile/13806761971999862684noreply@blogger.com0tag:blogger.com,1999:blog-2795421404101191199.post-27084632100250312992008-04-24T21:19:00.001+01:002008-04-24T21:19:47.896+01:00Clear Page File At Shutdown<pre><br />Windows Registry Editor Version 5.00<br /><br />[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]<br />"ClearPageFileAtShutdown"=dword:00000001<br /></pre>R. Bovillhttp://www.blogger.com/profile/13806761971999862684noreply@blogger.com0tag:blogger.com,1999:blog-2795421404101191199.post-10671398181241615572008-04-24T21:17:00.000+01:002008-04-24T21:18:25.564+01:00Disabling AutoRun<pre><br />Windows Registry Editor Version 5.00<br /><br />[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Cdrom]<br />"AutoRun"=dword:00000000<br /></pre>R. Bovillhttp://www.blogger.com/profile/13806761971999862684noreply@blogger.com0tag:blogger.com,1999:blog-2795421404101191199.post-3724710204990937732007-11-18T15:23:00.000+00:002007-11-18T15:25:03.611+00:00Event ID 4226If you get an system event error of <br />"TCP/IP has reached the security limit imposed on the number of concurrent TCP connect attempts." then user the patcher found <a href="http://www.lvllord.de/?lang=en&url=tools">here</a> to fix it.R. Bovillhttp://www.blogger.com/profile/13806761971999862684noreply@blogger.com0tag:blogger.com,1999:blog-2795421404101191199.post-59200385526695507542007-10-28T10:34:00.000+00:002007-10-28T10:43:38.935+00:00Stop The 'last access update' StampI found this technique <a href="http://www.avsforum.com/avs-vb/printthread.php?t=719041&page=4&pp=30">here</a><br /><br />Copy this to a registry ('.reg') file and then execute it:<br /><pre><br />Windows Registry Editor Version 5.00<br /><br />[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]<br />"NtfsDisableLastAccessUpdate"=dword:00000001<br /></pre>R. Bovillhttp://www.blogger.com/profile/13806761971999862684noreply@blogger.com0tag:blogger.com,1999:blog-2795421404101191199.post-573581198076958782007-10-28T09:43:00.000+00:002007-10-28T09:47:20.867+00:00Add "Open Command Prompt" To Windows ExporerThis will add a menu option to open a command prompt whenever a directory is selected in windows explorer.<br /><br />Copy this to a registry ('.reg') file and then execute it:<br /><pre><br />REGEDIT4<br /><br />[HKEY_CLASSES_ROOT\Directory\shell\Command]<br />@="Command &Prompt"<br />[HKEY_CLASSES_ROOT\Directory\shell\Command\command]<br />@="%windir%\system32\CMD.EXE \"%1\""<br /></pre>R. Bovillhttp://www.blogger.com/profile/13806761971999862684noreply@blogger.com0tag:blogger.com,1999:blog-2795421404101191199.post-82769092772647597582007-10-28T09:24:00.000+00:002007-10-28T09:41:42.703+00:00Reset Cd/Dvd Drives To Dma ModeCopy this to a registry ('.reg') file and then execute it:<br /><pre><br />Windows Registry Editor Version 5.00<br /><br />[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96A-E325-11CE-BFC1-08002BE10318}\0002]<br />"MasterIdDataCheckSum"=-<br />"SlaveIdDataCheckSum"=-<br /></pre><br /><br />You might have to change the '0002' to get the correct drive. <br />Search on this to find a way to improve the situation: <br /><a href="http://www.google.com/search?hl=en&q=ResetErrorCountersOnSuccess&btnG=Search">ResetErrorCountersOnSuccess</a>R. Bovillhttp://www.blogger.com/profile/13806761971999862684noreply@blogger.com0tag:blogger.com,1999:blog-2795421404101191199.post-31288068361364538232007-10-28T08:51:00.000+00:002007-10-28T08:53:38.984+00:00Fix Internet Explorer View Source BugCopy this to a registry ('.reg') file and then execute it:<br /><pre><br />Windows Registry Editor Version 5.00<br /><br />[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\View Source Editor\Editor Name]<br />@="E:\\WIN2000\\System32\\NOTEPAD.EXE"<br /></pre>R. Bovillhttp://www.blogger.com/profile/13806761971999862684noreply@blogger.com0tag:blogger.com,1999:blog-2795421404101191199.post-5302341163775947232007-10-28T07:50:00.000+00:002007-10-28T07:51:10.080+00:00Running Command Line as AdministratorRunning Command Line as Administrator<br />%windir%\system32\runas.exe /user:Administrator cmd.exeR. Bovillhttp://www.blogger.com/profile/13806761971999862684noreply@blogger.com0tag:blogger.com,1999:blog-2795421404101191199.post-57268566750452051142007-10-28T07:46:00.000+00:002007-10-28T07:48:21.733+00:00Control Panel Applets And .Msc Files From The Command LineAD Domains and Trusts<br />domain.msc<br /><br />Active Directory Management<br />admgmt.msc<br /><br />AD Sites and Serrvices<br />dssite.msc<br /><br />AD Users and COmputers<br />dsa.msc<br /><br />ADSI Edit<br />adsiedit.msc<br /><br />Authorization manager<br />azman.msc<br /><br />Certification Authority Management<br />certsrv.msc<br /><br />Certificate Templates<br />certtmpl.msc<br /><br />Cluster Administrator<br />cluadmin.exe<br /><br />Computer Management<br />compmgmt.msc<br /><br />Component Services<br />comexp.msc<br /><br />Configure Your Server<br />cys.exe<br /><br />Device Manager<br />devmgmt.msc<br /><br />DHCP Managment<br />dhcpmgmt.msc<br /><br />Disk Defragmenter<br />dfrg.msc<br /><br />Disk Manager<br />diskmgmt.msc<br /><br />Distributed File System<br />dfsgui.msc<br /><br />DNS Managment<br />dnsmgmt.msc<br /><br />Event Viewer<br />eventvwr.msc<br /><br />Indexing Service Management<br />ciadv.msc<br /><br />IP Address Manage<br />ipaddrmgmt.msc<br /><br />Licensing Manager<br />llsmgr.exe<br /><br />Local Certificates Management<br />certmgr.msc<br /><br />Local Group Policy Editor<br />gpedit.msc<br /><br />Local Security Settings Manager<br />secpol.msc<br /><br />Local Users and Groups Manager<br />lusrmgr.msc<br /><br />Network Load balancing<br />nlbmgr.exe<br /><br />Performance Montior<br />perfmon.msc<br /><br />PKI Viewer<br />pkiview.msc<br /><br />Public Key Managment<br />pkmgmt.msc<br /><br />QoS Control Management<br />acssnap.msc<br /><br />Remote Desktops<br />tsmmc.msc<br /><br />Remote Storage Administration<br />rsadmin.msc<br /><br />Removable Storage<br />ntmsmgr.msc<br /><br />Removalbe Storage Operator Requests<br />ntmsoprq.msc<br /><br />Routing and Remote Access Manager<br />rrasmgmt.msc<br /><br />Resultant Set of Policy<br />rsop.msc<br /><br />Schema management<br />schmmgmt.msc<br /><br />Services Management<br />services.msc<br /><br />Shared Folders<br />fsmgmt.msc<br /><br />SID Security Migration<br />sidwalk.msc<br /><br />Telephony Management<br />tapimgmt.msc<br /><br />Terminal Server Configuration<br />tscc.msc<br /><br />Terminal Server Licensing<br />licmgr.exe<br /><br />Terminal Server Manager<br />tsadmin.exe<br /><br />UDDI Services Managment<br />uddi.msc<br /><br />Windows Mangement Instumentation<br />wmimgmt.msc<br /><br />WINS Server manager<br />winsmgmt.msc<br /><br />Computer Management<br />%windir%\system32\mmc.exe %WINDIR%\system32\compmgmt.msc<br /><br />Accessibility Options<br />access.cpl<br /><br />Add/Remove Programs<br />appwiz.cpl<br /><br />Add Hardware Wizard<br />hdwwiz.cpl<br /><br />Automatic Updates<br />wuaucpl.cpl<br /><br />Bluetooth Properties<br />bthprops.cpl<br /><br />Display Properties<br />desk.cpl<br /><br />Firewall Properties<br />firewall.cpl<br /><br />Game Controllers<br />joy.cpl<br /><br />Internet Options<br />inetcpl.cpl<br /><br />iSCSI Initiator<br />iscsicpl.cpl<br /><br />Java Control Panel<br />jpicpl32.cpl<br /><br />Licensing Mode<br />liccpa.cpl<br /><br />Mouse Properties<br />main.cpl<br /><br />Network Connections<br />ncpa.cpl<br /><br />Network Setup Wizard<br />netsetup.cpl<br /><br />ODBC Properties<br />odbccp32.cpl<br /><br />Power Options<br />powercfg.cpl<br /><br />Regional and Language Options<br />intl.cpl<br /><br />Sound and Audio Devices<br />mmsys.cpl<br /><br />Stored Passwords<br />keymgr.cpl<br /><br />System Properties<br />sysdm.cpl<br /><br />Telephone and Modem Properties<br />telephon.cpl<br /><br />Time and Date Settings<br />timedate.cpl<br /><br />User Accounts<br />nusrmgr.cpl<br /><br />Windows Security Center<br />wscui.cpl<br /><br />Wireless Link<br />irprops.cplR. Bovillhttp://www.blogger.com/profile/13806761971999862684noreply@blogger.com0