Can you give some more information on how you write to network drives in this
app? What you are describing should not have anything to do with UAC. UAC
being enabled on a client would not impact the token you have on a server.
However, if the server is running Vista with UAC enabled, and you are
connecting to it as an administrator the presence of UAC on the server could
have an impact.
What does the code look like that performs this writing? It sounds to me
like this is related to something else in the code, not UAC.
---
Your question may already be answered in Windows Vista Security:
http://www.amazon.com/gp/product/0470101555?ie=UTF8&tag=protectyourwi-20
> Hi,
>
[quoted text clipped - 19 lines]
>
> Fig
fig000 - 27 Apr 2007 23:18 GMT
Jesper,
Thanks for answering and sorry it took a little while to get back
to you. My boss had to find the code.
Here's what we're using at startup of the program. The code reads a
config file for directories it needs to work. If they're not there it
creates them. That is failing on vista ultimate unless I run as
administrator. On vista home it doesn't work even if I ran as
administrator.
Here's the code and thanks again for answering.
-----------------------------------------
Try
_RootGroupsFolder = AppMain.AppVar.Main.MyFolder
Trace.WriteLineIf(AppMain.AppVar.Trace.Level.Info,
"Message.", Routine)
If bDebugStartup Then MessageBox.Show("Message.")
If Not System.IO.Directory.Exists(_RootGroupsFolder) Then
Viewer_StatusChange("Creating folders...")
System.IO.Directory.CreateDirectory(_RootGroupsFolder)
System.IO.Directory.CreateDirectory(System.IO.Path.Combine(_RootGroupsFolder,
"Folder1"))
System.IO.Directory.CreateDirectory(System.IO.Path.Combine(_RootGroupsFolder,
"Folder2"))
System.IO.Directory.CreateDirectory(System.IO.Path.Combine(_RootGroupsFolder,
"Folder3"))
System.IO.Directory.CreateDirectory(System.IO.Path.Combine(_RootGroupsFolder,
"Folder4"))
End If
Catch ex As Exception
HandleStartupError(ex, String .Concat("Unable to create
group folder '", _RootGroupsFolder, "'", System.Environment.NewLine,
System.Environment.NewLine, ex.Message))
Return
End Try
> Can you give some more information on how you write to network drives in this
> app? What you are describing should not have anything to do with UAC. UAC
[quoted text clipped - 31 lines]
>
> >Fig
Hi,
In general, your app will be able to save to a network drive provided
you are logged into the computer with an account that can also access
the network drive, it does NOT need to be an Administrator.
> Hi,
>
[quoted text clipped - 19 lines]
>
> Fig

Signature
Gerry Hickman (London UK)