Thursday, October 20, 2005

File sharing problems in windows

Windows File Sharing

PROBLEM:

\\svr6 is not accessible.You might not have permission to use this network resource.Contact the administrator of this sercer to find out if you have access permissions.This account is not authorized to login from this station



This is a general checklist for sharing files between PCs in a peer to peer network. There can be other reasons for problems but I think most people new to networking and finding sharing a problem will find the answer somewhere in this checklist.

These checks are all necessary for sharing to work with TCP/IP.
- PCs which are not XP must have TCP/IP installed.
- Each PC must have a unique computer name.
- Each PC must have a network share defined.
- ALL NICS must be on the same subnet (e.g. IP 192.168.0.* subnet mask 255.255.255.0).
- XP PCs must have Netbios over TCP/IP enabled (only essential for XP to talk to W9X PCs).
- MS Client and file & printer sharing must be enabled on each NIC.
- All NICs must have their node type = anything except p-node (peer to peer, or point-point). Check at cmd prompt with Ipconfig /all (XP/W2K) or winipcfg (W9X).
- XP's ICF firewall is permanently disabled. (Only necessary for pre XP SP2).
- All 3rd party firewalls are disabled, uninstalled and deleted (until connection is working).
- PCs have the same workgroup (helps, but not essential).

Allow 15 mins after rebooting a PC for that PC to appear in the workgroup, or for it to see all other PCs. Or you can search for the PC by its computer name.

If all the above checked out and still a problem check these:
Other ideas:
- Realtek cards have been known to be a problem with IRQ conflicts. Move the Realtek card to another PCI slot.
- Check your Services are Started on all PCs: Workstation, Server, TCP/IP Netbios helper, Computer Browser.
- You only need TCP/IP. NWLink NetBIOS, NWLink IPX/SPX/NetBIOS Compatible Transport Protocol ->are not needed and can confuse things. Remove them.
- XP gives access to its shares via the Net Guest Account. (Note, not the same as the local guest account in user accounts which should be off).
Net Guest Account is enabled by default in XP, but check it:
At command prompt:
>Net user guest
Should return a line with 'Account active yes'.

Check XP Security policies:
- Access this computer from the network: add guest
- Deny logon locally: remove guest
- Network access:Sharing and security model... -> Guest only
- Deny access to this computer from the network-> check Guest is not here.


Error Message: The Account Is Not Authorized to Login from This Station

SYMPTOMS
When you attempt to join a Windows 2000-based computer to a Microsoft Windows NT 4.0-based domain, you may receive the following error message:
The following error occurred attempting to join the domain "domainname": The account is not authorized to login from this station.
CAUSE
This behavior can occur because the Local Group Policy, specifically those in the Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options folder have a restrictive setting.Some of the policies that may cause this behavior are:

Digitally sign client communications (always)

Digitally sign server communications (always)

Digitally sign server communications (when possible)

LAN Manager Authentication Level set to Send LM and NTLM - use NTLMv2 session security if negotiated

Secure channel: Digitally encrypt or sign secure channel data (always)

Secure channel: Require strong (Windows 2000 or later) session key
RESOLUTION
To work around this behavior, set the values back to what they would be if a clean install had occurred. Examine the preceding policies and set them back to their default settings.The default settings of these policies are:

Digitally sign client communications (always) - disabled

Digitally sign server communications (always)- disabled

Digitally sign server communications (when possible) - disabled

LAN Manager Authentication Level set to Send LM and NTLM - use NTLMv2 session security if negotiated - (default) send LM & NTLM responses

Secure channel: Digitally encrypt or sign secure channel data (always) - disabled

Secure channel: Require strong (Windows 2000 or later) session key - disabledRestart your computer and you should be able to join the domain.


Other useful guides for step by step sharing are available here:
http://practicallynetworked.com/sha...filesharing.htm

MS Tech D/B
http://support.microsoft.com/defaul...7&Product=winxp

and here:
http://www.homenethelp.com/web/howto/net.asp

Developing a SOHO network, sharing and security (by MS):
http://www.microsoft.com/windowsxp/...net/default.asp

How to share a printer and connect to a shared printer:
http://www.microsoft.com/downloads/...&DisplayLang=en

Ports to open in a firewall for various applications:
http://www.microsoft.com/security/protect/ports.asp

Monday, October 03, 2005

Keyboard shortcuts

Press Win+L to switch to the Welcome screen.
-----
Press Win+L to lock your workstation.
-----
You can switch users without going through the Welcome screen: From
Task Manager, go to the Users tab, right-click a user, and select
Connect.
-----
Hold down the shift key in the shutdown dialog to change "Stand By"
to "Hibernate". Or just press H to hibernate instantly. You can
even use the Power Control Panel to configure your power button to
hibernate.
-----
To disable the password when resuming from standby or hibernation,
open the Power Control Panel and uncheck "Prompt for password after
returning from standby" on the Advanced tab.
-----
You can rename multiple files all at once: Select a group of files,
right-click the first file, and select "Rename". Type in a name for
the first file, and the rest will follow.
-----
Hold down the shift key when switching to thumbnail view to hide the
file names. Do it again to bring them back.
-----
When dragging a file in Explorer, you can control the operation that
will be performed when you release the mouse button:

Hold the Control key to force a Copy.

Hold the Shift key to force a Move.

Hold the Alt key to force a Create Shortcut.
-----
If you create a file called Folder.jpg, that image will be used as
the thumbnail for the folder. What's more, that image will also be
used as the album art in Windows Media Player for all media files in
that folder.
-----
From the View Menu, select "Choose Details" to select which file
properties should be shown in the Explorer window. To sort by a file
property, check its name in the "Choose Details" in order to make
that property available in the "Arrange Icons by" menu.
-----
To display the volume control icon in the taskbar, go to the Sounds
and Audio Devices Control Panel and select "Place volume icon in the
taskbar".
-----
Hold down the shift key when deleting a file to delete it
immediately instead of placing it in the Recycle Bin. Files deleted
in this way cannot be restored.
-----
If you hold down the shift key while clicking "No" in a Confirm File
Operation dialog, the response will be interpreted as "No to All".
-----
To save a document with an extension other than the one a program
wants to use, enclose the entire name in quotation marks. For
example, if you run Notepad and save a file under the name

Dr.Z

it will actually be saved under the name Dr.Z.txt. But if you type

"Dr.Z"

then the document will be saved under the name Dr.Z. Note that a
document so-named cannot be opened via double-clicking since the
extension is no longer ".txt".
-----
Put a shortcut to your favorite editor in your Send To folder and it
will appear in your "Send To" menu. You can then right-click any
file and send it to your editor.
-----
Ctrl+Shift+Escape will launch Task Manager.
-----
To arrange two windows side-by-side, switch to the first window,
then hold the Control key while right-clicking the taskbar button of
the second window. Select "Tile Vertically".
-----
To close several windows at once, hold down the Control key while
clicking on the taskbar buttons of each window. Once you have
selected all the windows you want to close, right-click the last
button you selected and pick "Close Group".
-----
You can turn a folder into a desktop toolbar by dragging the icon of
the desired folder to the edge of the screen. You can then turn it
into a floating toolbar by dragging it from the edge of the screen
into the middle of the screen. (It helps if you minimize all
application windows first.)
-----
You can turn a folder into a taskbar toolbar.

First, unlock your taskbar.

Next, drag the icon of the desired folder to the space between the
taskbar buttons and the clock. (Wait for the no-entry cursor to
change to an arrow. It's a very tiny space; you will have to hunt
for it.)

You can rearrange and resize the taskbar toolbar you just created.

You can even turn the taskbar toolbar into a menu by resizing it
until only its name is visible.
-----
In the Address Bar, type "microsoft" and hit Ctrl+Enter. Internet
Explorer automatically inserts the "http://www. " and ".com" for you.
-----
To remove an AutoComplete entry from a Web form, highlight the item
in the AutoComplete dropdown and press the Delete key.

To remove all Web form AutoComplete entries, go to the Internet
Explorer Tools menu, select Internet Options, Content, AutoComplete,
then press the "Clear Forms" button.
-----
To organize your Favorites in Explorer instead of using the Organize
Favorites dialog, hold the shift key while selecting "Organize
Favorites" from the Favorites menu of an Explorer window.
-----
You can organize your Favorites by dragging the items around your
Favorites menu.

Alternatively, you can open the Favorites pane and hold the Alt key
while pressing the up and down arrows to change the order of your
Favorites.
-----
To run Internet Explorer fullscreen, press F11. Do it again to
return to normal mode.
-----
If your "Printers and Faxes" folder is empty, you can hide
the "Printers and Faxes" icon when viewed from other computers by
stopping the Print Spooler service.
-----
To add or remove columns from Details mode, select Choose Details
from the View menu, or just right-click the column header bar.
-----
In Internet Explorer, hold the Shift key while turning the mouse
wheel to go forwards or backwards.
-----
In Internet Explorer, hold the Shift key while clicking on a link to
open the Web page in a new window.
-----
In Internet Explorer, type Ctrl+D to add the current page to your
Favorites.

This and many more keyboard shortcuts can be found by going to
Internet Explorer, clicking the Help menu, then selecting Contents
and Index. From the table of contents, open Accessibility and
click "Using Internet Explorer keyboard shortcuts".
-----
In some applications (such as Internet Explorer), holding the
Control key while turning the mouse wheel will change the font size.
-----
To shut down via Remote Desktop, click the Start button, then type
Alt+F4.
-----

Enabling floppy in recovery console

Have you ever been on a troubleshooting expedition in Windows XP's Recovery Console and wanted to copy a file from the hard disk to a floppy disk? Is so, then you've encountered the "Access Denied" error message, which informs you that by default Recovery Console doesn't allow write access to removable media such as a floppy disk.

However, there's a workaround that will allow you to enable write access to floppy disk from within Recovery Console.

Follow these steps to enable floppy disk access in Recovery Console:

Launch the Group Policy console (Gpedit.msc).

Click Computer Configuration, open Windows Settings | Security Settings | Local Policies and double-click Security Options.

Locate and double-click the Recovery Console: Allow Floppy Copy And Access To All Drives And Folders policy setting.

Select the Enabled option button and click OK.

Exit the Group Policy console.

Launch Recovery Console.

At the command Prompt, type the following command and press [Enter]:

set allowremovablemedia = true

Note: Floppy disk access is disabled by default for security reasons and removing this restriction can be considered a breach of operating system security. As such, you may want to reverse this change at a later date