Articles

Archive for the ‘Windows Vista’ Category

Deleting Undeletable Folders in Windows Vista and 7

Thursday, July 8th, 2010

If there is a directory, whether a built-in directory (such as Music, Documents, Desktop, etc.) or a directory you create, that has become corrupted and undeletable, you’ll need to take ownership and change the ACLs on that directory. 

Use these 2 shell commands.  You’ll want to start the command prompt in administrator mode.

1.takeown /f directory_name /r /d y
2. icacls directory_name /grant administrators:F /t

Now you can use the rd command to remove the offending directory

How To Set Default Wallpaper For Terminal Server

Saturday, June 19th, 2010

You can brand your terminal server with your company’s logo so that employees will know they are connecting to the right place. 

The image you select will appear behind the login screen.  Simply create a BMP image file and add the path to the registry here:

defaultwallpaper

HKEY_USERS\.Default\Control Panel\Desktop\Wallpaper

How To Delete One Million (1,000,000) Files Without Crashing Windows Explorer

Monday, May 24th, 2010

Problem:

You have a folder with a large number of files that you need to delete.  This is too much for Windows Explorer to handle.

Solution:

FastCopy (it also deletes files fast)

It took several hours but FastCopy was able to delete 948,102 files without slowing down the server at all.

It took several hours but FastCopy was able to delete 948,102 files without slowing down the server at all.

Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed

Monday, April 26th, 2010

Problem:

You try to connect to a server or shared folder and get this message:

Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed…

Cause:

You already have a connection to that resouce using a different username.

Solution:

Disconnect your other connections then try again.  Open a command prompt and type:

net use * /delete

Fixing File Associations In Windows

Thursday, April 15th, 2010

Here is a handy resource when a virus/spyware wrecks your file associations.  Common problems are executing .exe files and the “run with…” dialog box pops up.

http://www.dougknox.com/xp/file_assoc.htm

Vista displays dialogue box titled “Windows must be reinstalled to activate” after login

Friday, March 5th, 2010

After loging in on Windows Vista, you receive this strange message telling you to reinstall windows to activate it. 

Follow these instructions, rather than attempting to reinstall the OS.

1) Open Internet Browser

2) Type %windir%\system32 into the browser address bar.

3) Find the file CMD.exe

4) Right-Click on CMD.exe and select ‘Run as Administrator’

5) Type: net stop slsvc  (it may ask you if you are sure, select yes)

6) Type: cd %windir%\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\SoftwareLicensing

7) Type: rename tokens.dat tokens.bar

8) Type: cd %windir%\system32

9) Type net start slsvc

10) Type: cscript slmgr.vbs -rilc (It may take a long time for this to complete, please be patient)

11) Reboot Twice

12) You may be required to Re-Activate. Use the Activate by Phone method outlined above

Profile Sub Folders in Vista/Windows 7 become corrupted

Monday, December 14th, 2009

If your profile sub folders [Desktop, Favorites, Games, Links, Music, Pictures, Videos] become corrupted, deleted, or unattached, here is a great place with links to registry files that will help you get the problem solved. http://www.vistax64.com/tutorials/148461-personal-user-folder-restore-missing-folder.html

Restrict websites in FireFox and Internet Explorer

Friday, August 28th, 2009

Ever wanted to block some websites in either of the mainstream browers in Windows without having to purchase filtering software, or mess around with the /etc/hosts file? 

Refer to http://jaxov.com/2009/08/how-to-block-websites-in-internet-explorer-and-mozilla-firefox/

VPN Connection Shortcut for Vista

Tuesday, May 19th, 2009

If you have many VPN connections like me, the idea of taking 6 clicks to open the Vista connection menu and connect to a VPN is a bit tedious.  Not to mention that if you have more than 10 connections set up, the selection window takes forever to load.  You can keep the frequently used icons on the desktop but not all 25 of them.

The Answer:

Create a desktop shortcut to C:\Windows\System32\rasphone.exe

This will open the selection window with a drop-down list of all available connections.

vpn

This trick also works for Windows XP.