Koozali.org: home of the SME Server
Contribs.org Forums => General Discussion => Topic started by: Lucky Dragon on December 28, 2008, 05:53:04 AM
-
Awhile back when I was setting up an SME server for myself, I came across a post here describing how to change the way SAMBA shares are displayed in Windows Explorer. By default, it's something like
SHARENAME on SME Server 'SERVERNAME' (X:)
(where X is the drive letter.)
By editing the registry on the client computer, it's possible to change it to something shorter. On my system I have it set to display as
SHARENAME on 'SERVERNAME' (X:)
The advantage here is that the name is shorter, so instead of seeing the ... at the edge of the column, the whole string fits into a reasonable column width and the drive letter is visible without having to have a really wide folder pane in explorer.
I've been really happy with this package, so I just set one up for my parents, but when I searched for the original post on this topic I was unable to find it. I realize this is not TECHNICALLY an SME issue, but since I came across it in this forum originally, I thought it was worth asking to see if anyone can tell me what I need to edit.
-
You should be able to change that without a registry change. (On Windows XP Pro), using Windows Explorer you can right click on the share name and you should have a 'rename' option there.
-
You should be able to change that without a registry change. (On Windows XP Pro), using Windows Explorer you can right click on the share name and you should have a 'rename' option there.
It has nothing to do with the renaming of shares. It has to do with the registry like OP suggests as this determines how windows formats the string in a Explorer file tree, can not help you with finding the post though.
-
It has nothing to do with the renaming of shares. It has to do with the registry like OP suggests as this determines how windows formats the string in a Explorer file tree
Yep, that's what I was suggesting. 'rename' it is called under Windows but it is NOT the rename of the share - just how Explorer shows it.
-
It IS possible to use the "rename" ability in explorer to change it. However, I'm trying to change the default behavior, which--as cactus pointed out--does require a registry change. Thanks for the suggestion though.
-
Just my two cents:
Registry changes can more easily get pushed out through login scripts and such.
I'm googling around right now to see if I can find what is sought. But if anyone finds it before I do, just go ahead and post it.
-
Just my two cents:
Registry changes can more easily get pushed out through login scripts and such.
I'm googling around right now to see if I can find what is sought. But if anyone finds it before I do, just go ahead and post it.
Perhaps using policies or if that is not possible by adding it to the registry from perhaps the netlogon.bat?
-
I am also on the same boat with Lucky Dragon in finding the solution to this.
Sonoracomm has a good sample of basic logon script http://www.sonoracomm.com/support/18-support/152-login-scripts-sme, I tried to tweak some of the net use parameters and unfortunately no good result. If anyone out there, managed to get solve this problem, please post the solution. Thanks.
-
//Show Mapped Drive letter before Description
In regedit, go to: HKLM\Software\Microsoft\ Windows\CurrentVersion\Explorer, edit or create the DWORD value “ShowDriveLettersFirst” and set it to the desired value: (4 for the Drive letter before Description)
* 0 = Default display (drive letters after description)
* 1 = Network drive letters first, Local drive letters after
* 2 = Descriptions only, no drive letters displayed
* 4 = All drive letters before description
Open a text file with an ending or .reg and paste the following in it save file and run. Close Explorer and reopen or Hit f5 for refresh should be able to see the changes.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer]
"ShowDriveLettersFirst"=dword:00000004
In a login script user the following syntax
C:\Windows\System32\regsvr32.exe -s "path to .reg file"
This will install reg file silently.
Place Path to .reg file in quotes if path has spaces in it
(like "C:\Program Files\test.reg") or you may not get it installed.
Most of this was covered in the before.
See http://forums.contribs.org/index.php/topic,36764.0.html (http://forums.contribs.org/index.php/topic,36764.0.html) for additional info
Hope this helps.
-
In a login script user the following syntax
C:WindowsSystem32 egsvr32.exe -s "path to .reg file"
This will install reg file silently.
Place Path to .reg file in quotes if path has spaces in it
(like "C:Program Files est.reg") or you may not get it installed.
Most of this was covered in the before.
See http://forums.contribs.org/index.php/topic,36764.0.html (http://forums.contribs.org/index.php/topic,36764.0.html) for additional info
Hope this helps.
Just a small tip.
You should actually use environment variables for proper scripting.
Example: %SystemRoot%system32 egsvr32.exe -s "\server etlogondrivelook.reg"
Just my $.02
Craig
-
Just a small tip.
You should actually use environment variables for proper scripting.
Example: %SystemRoot%system32 egsvr32.exe -s "\server etlogondrivelook.reg"
Just my $.02
Craig
Should read
Example: %SystemRoot%\system32\regsvr32.exe -s "\\server\share\test.reg"
or %SystemRoot%\system32\regsvr32.exe -s "G:\directory\test.reg"
I posted complete path as an example for Newbies who may not always know the shortcuts or have the experience. Some may prefer drive mapping over using a UNC path, everyone has there preferences.
If they need further assistance to understand the post that is what the forum is for.
Please check your syntax before posting. No need to confuse readers.
-
Please check your syntax before posting. No need to confuse readers.
Well I have no idea what happened to my post, but it somehow dropped most of my backslashes!
Trust me, I do know what the correct syntax is (and I posted that originally), but I sincerely do not know what happened.
Oh, and I didn't mean to sound rude or anything, I'm just a big believer in compatibility between differently configured systems. :-D
Craig
-
Well I have no idea what happened to my post, but it somehow dropped most of my backslashes!
Trust me, I do know what the correct syntax is (and I posted that originally), but I sincerely do not know what happened.
Next time use the code block (button with the #) for that, that will certainly display text as intended as well as using the preview to show you how your post will look when posted.
-
//Show Mapped Drive letter before Description
In regedit, go to: HKLM\Software\Microsoft\ Windows\CurrentVersion\Explorer, edit or create the DWORD value “ShowDriveLettersFirst” and set it to the desired value: (4 for the Drive letter before Description)
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer]
"ShowDriveLettersFirst"=dword:00000004
In a login script user the following syntax
C:\Windows\System32\regsvr32.exe -s "path to .reg file"
This will install reg file silently.
Place Path to .reg file in quotes if path has spaces in it
(like "C:\Program Files\test.reg") or you may not get it installed.
Hope this helps.
as you are modifying a system-wide variable, I think that it will not work if you are logging as a domain user, because you don't have tue privileges to do so..
My 2c
ciao
Stefano
-
While it's not quite the same thing as removing the "SME Server" part of the shared volume in Explorer, changing the registry to put the drive letter first is very helpful as well.
Really appreciate all the assistance on this, folks. Especially since this really isn't as Windows support forum.