On Nov 21, 9:38 am, malckelly <malcke...@xxxxxx>
wrote:
> When I fire up powershell I get in red letters:
>
> "Attempting to perform the InitializeDefaultDrives operation on the
> 'FileSystem' provider failed."
>
> I have a whole load of mapped network drives but I don't think that any of
> these are the problem. We also use SoftGrid which means that Q: is in use,
> but totally inaccesible. I have a sneaking suspicion that this may be part
> of the problem.
>
> Can anyone else shed some light on this error?
>
> Thanks Hi,
The initializedefaultdrives operation does exactly what it says on the
tin: it creates a powershell drive for each of your windows fat/ntfs/
cifs drives. If this is failing, you are almost certainly correct in
saying that it is one of your mapped drives that is causing the
problem. You can find out exactly which one by attempting to map them
manually one by one until you get an error. For example:
Your windows drive is p: and is mapped to \\server\share
ps> new-psdrive -name p -psprovider filesystem -root p:\
Note that you don't use the colon : in the name, just the plain
letter.
Let us know how you get on.
- Oisin / x0n
http://www.nivot.org