remove one drive from over view ?
Moderators: white, Hacker, petermad, Stefan2
remove one drive from over view ?
Is it possible to remove one dridrive from the overview.
Our employees should not have access to c:\, so it wourld be nice if i can remove this drive og denie access to it.
Regards
Thomas
Our employees should not have access to c:\, so it wourld be nice if i can remove this drive og denie access to it.
Regards
Thomas
2flyby
There is a ini-Setting "Allowed=xyz".
http://www.ghisler.ch/wiki/index.php/Ini-settings#Configuration
Stitscher
There is a ini-Setting "Allowed=xyz".
http://www.ghisler.ch/wiki/index.php/Ini-settings#Configuration
Stitscher
Thanks it works om my PC where it installe nromal.Stitscher wrote:2flyby
There is a ini-Setting "Allowed=xyz".
http://www.ghisler.ch/wiki/index.php/Ini-settings#Configuration
Stitscher
But on my server, wincmd runs from a dir.
It is not install like this, but is just moved there and made a schortcut to wincmd.exe
And then there is not at wincmd.ini in windows dir.
Is there anyway to made this work ?
Regards and RESPEKT
Thomas
http://www.ghisler.ch/wiki/index.php/Ini-settings#Configuration
UseIniInProgramDir=0
This variable will only be read if the wincmd.ini is located in the same dir as the program.
It is the sum of the following values:
1: Use wincmd.ini in program dir if no other location is set via registry or parameters
2: Use wcx_ftp.ini in program dir if no other location is set via registry or parameters
4: Override registry settings (but not command line parameters)
UseIniInProgramDir=0
This variable will only be read if the wincmd.ini is located in the same dir as the program.
It is the sum of the following values:
1: Use wincmd.ini in program dir if no other location is set via registry or parameters
2: Use wcx_ftp.ini in program dir if no other location is set via registry or parameters
4: Override registry settings (but not command line parameters)
How did you change the path to the ini file?flyby wrote:If i change the path to wincmd.ini it works but when i relogin that defautl path is back.
That is no surprise. If you use commandline parameters to define the inifile this always overrides the other settings. So no change of the location of the inifile will make sure that all users will start TC with your settings.But if i use H:\totalcmd\TOTALCMD.EXE /o /n /i=h:\totalcmd\wincmd.ini in start link it works everytime.
BTW if you want to change the standard ini file for all users on your system please use Inireloc.exe and check the "set this location for all users on this system" option.
But is this the way to handle this problem ?
Since every 'advanced' user can call Totalcmd.exe with commandline parameter probably the way icfu proposed is the only solution. Restrict the access of the drive by defining NTFS- access rules.
sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
Hi
Inireloc.exe works fine, but i need to run it on every user in AD.
(We run windows terminal server)
So if there is nothing wrong in using this line ill do that.H:\totalcmd\TOTALCMD.EXE /o /n /i=h:\totalcmd\wincmd.ini
Im only asking, be cores i can´t see if there comes any problems later by dooing this. And you meby know there would.
Inireloc.exe works fine, but i need to run it on every user in AD.
(We run windows terminal server)
So if there is nothing wrong in using this line ill do that.H:\totalcmd\TOTALCMD.EXE /o /n /i=h:\totalcmd\wincmd.ini
Im only asking, be cores i can´t see if there comes any problems later by dooing this. And you meby know there would.
Sorry but when u cant read what we write
(Stitcher and me)
http://ghisler.ch/board/viewtopic.php?p=97532&sid=1ac8579f8ea5c770ee778d2596a0e700#97532
you deserve as punishment to set it for every user per Inireloc.Exe
(Stitcher and me)
http://ghisler.ch/board/viewtopic.php?p=97532&sid=1ac8579f8ea5c770ee778d2596a0e700#97532
you deserve as punishment to set it for every user per Inireloc.Exe
Hoecker sie sind raus!
- ghisler(Author)
- Site Admin
- Posts: 48130
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
There is a (badly documented, only in history) registry key which has the same functionality as the Allowed= line in wincmd.ini:
Under
HKEY_CURRENT_USER\Software\Ghisler\Total Commander\configuration
add a new value named allowed (type string), which contains the allowed drive letters (plus \ for network).
The value will be combined with the value in the ini file (the more restricted wins). For example, if the registry value contains
ACDEF
and the ini file EFGH, then this will be combined to EF.
The registry key has the adavantage that it can be protected by the admin, so the users cannot change it.
Under
HKEY_CURRENT_USER\Software\Ghisler\Total Commander\configuration
add a new value named allowed (type string), which contains the allowed drive letters (plus \ for network).
The value will be combined with the value in the ini file (the more restricted wins). For example, if the registry value contains
ACDEF
and the ini file EFGH, then this will be combined to EF.
The registry key has the adavantage that it can be protected by the admin, so the users cannot change it.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com