Dica do SistemaEste artigo aplica-se a um sistema operativo diferente do que está a utilizar. Foi desactivado o conteúdo do artigo, que pode não ser relevante para si.
ImportanteEste artigo contém informações sobre como modificar o registro. Certifique-se de que você faça backup do registro antes de modificá-lo. Certifique-se de que você sabe como restaurar o registo se ocorrer um problema. Para obter mais informações sobre como fazer backup, restaurar e modificar o registro, clique no número abaixo para ler o artigo na Base de dados de Conhecimento da Microsoft:
256986
(http://support.microsoft.com/kb/256986/
)
Descrição do registro do Microsoft Windows
Este artigo descreve como ocultar e restringir o acesso à letra da unidade do cliente App-V (SoftGrid) por meio de objetos de diretiva de grupo (GPO). As diretivas podem ser aplicadas quando a seqüência é criada, é atualizada ou for iniciada. Quando você iniciar as diretivas, você pode aplicar as diretivas no registro virtual, modificando o arquivo. OSD para importar um arquivo. reg ou um arquivo. vbs. Como alternativa, você pode usar o <registry>elemento.</registry>
ImportanteAs diretivas definidas no registro virtual têm precedência sobre as diretivas definidas no Registro local. Por exemplo, se o registro local está configurado para ocultar a unidade D, e se o registro virtual está configurado para ocultar a unidade P, apenas a unidade p será ocultada da App-V (SoftGrid)-ativada do aplicativo. É recomendável que você aplicar essas diretivas por meio de diretivas de domínio. Este artigo descreve como aplicar essas diretivas, quando você não usar as diretivas de domínio.
Os exemplos descritos neste artigo, ocultar e restringem o acesso à unidade p definindo os valores do registro para 10000 hexadecimal ou 65536 decimal.Para obter mais informações sobre o número hexadecimal ou decimal que é necessária para ocultar outras letras de unidade, clique no número abaixo para ler o artigo na Base de dados de Conhecimento da Microsoft:
231289
(http://support.microsoft.com/kb/231289/
)
Usando objetos de diretiva de grupo para ocultar unidades especificadas
Para usar o Editor do registro do seqüenciador para aplicar as diretivas para o registro virtual, execute essas etapas.
AvisoSerious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
During the monitoring phase of the installation wizard, start Registry Editor.
How to use a .reg file from the App-V (SoftGrid) client
This procedure describes how to modify the .osd file to apply the policies to the virtual registry. Perform this procedure when you start the application by using the<script></script>
Com o botão direitoExplorer, aponte paraNovoe, em seguida, clique emValor DWORD.
ForNew Value #1, tipoNoDrives.
Com o botão direitoNoDrivese, em seguida, clique emModificar.
ForBase, selectHexadecimal. ForDados de valor, tipo10000e, em seguida, clique emOK.
Com o botão direitoExplorer, aponte paraNovoe, em seguida, clique emValor DWORD.
ForNew Value #1, tipoNoViewOnDrive.
Com o botão direitoNoViewOnDrivee, em seguida, clique emModificar.
ForBase, selectHexadecimal. ForDados de valor, tipo10000e, em seguida, clique emOK.
Com o botão direitoExplorer, clique emExport, and then save the .reg file.
Feche o Editor do registro.
Open the .reg file by using a text editor to verify that the contents appear as shown in the following example.
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoDrives"=dword:00010000
"NoViewOnDrive"=dword:00010000
Save the .reg file, and then exit the text editor.
Save the .osd file, and then exit the text editor.
The .reg file can reside in the sequence or in a remote network location. Make sure that the user who starts the application has access to the .reg file.
How to use a .vbs file from the App-V (SoftGrid) client
This procedure describes how to modify the .osd file to apply the policies to the virtual registry. Perform this procedure when you start the application by using the<script></script>
Create a .vbs file that contains the following information.
On Error Resume Next
Dim WshShell
Set WshShell = Wscript.CreateObject("wscript.shell")
NoDrive = WshShell.RegRead("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoDrives")
SetValue = WshShell.RegWrite ("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoDrives","65536","REG_DWORD")
NoViewOnDrive = WshShell.RegRead("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoViewOnDrive")
SetValue = WshShell.RegWrite ("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoViewOnDrive","65536","REG_DWORD")
Set WshShell = nothing
If you want to configure the .vbs file to determine whether the values already exist and to set the values only if they do not exist, create a .vbs file that has the following information.
On Error Resume Next
Dim WshShell
Set WshShell = Wscript.CreateObject("wscript.shell")
NoDrive = WshShell.RegRead("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoDrives")
If NoDrive = "" Then
SetValue = WshShell.RegWrite ("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoDrives","65536","REG_DWORD")
End If
NoViewOnDrive = WshShell.RegRead("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoViewOnDrive")
If NoViewOnDrive = "" Then
SetValue = WshShell.RegWrite ("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoViewOnDrive","65536","REG_DWORD")
End If
Set WshShell = nothing
The .vbs file can reside in the sequence or in a remote network location. Make sure that the user who starts the application has access to the .vbs file.
How to use the <registry> element from the App-V (SoftGrid) client</registry>
This procedure describes how to modify the .osd file to apply the policies to the virtual registry. Perform this procedure when you start the application by using the <registry> element.
</registry>
Open the .osd file by using a text editor.
Enter the <registry> element and the child elements in the <virtualenv> element as shown in the following example.</virtualenv></registry>
IMPORTANTE: Este artigo foi traduzido por um sistema de tradução automática (também designado por Machine Translation ou MT), não tendo sido portanto traduzido ou revisto por pessoas. A Microsoft possui artigos traduzidos por aplicações (MT) e artigos traduzidos por tradutores profissionais, com o objetivo de oferecer em português a totalidade dos artigos existentes na base de dados de suporte. No entanto, a tradução automática não é sempre perfeita, podendo conter erros de vocabulário, sintaxe ou gramática. A Microsoft não é responsável por incoerências, erros ou prejuízos ocorridos em decorrência da utilização dos artigos MT por parte dos nossos clientes. A Microsoft realiza atualizações freqüentes ao software de tradução automática (MT). Obrigado.
Clique aqui para ver a versão em Inglês deste artigo: 931626
(http://support.microsoft.com/kb/931626/en-us/
)
Quanto esforço foi necessário para seguir os procedimentos deste artigo?
Muito baixo
Baixo
Moderado
Alto
Muito alto
O que podemos fazer para melhorar essa informação?
Para proteger sua privacidade, não inclua informações de contato em seus comentários.
Obrigado! Seus comentários são usados para nos ajudar a aperfeiçoar o conteúdo de suporte. Para obter mais opções de ajuda, visite a Home Page de Ajuda e Suporte.