Security for Applications in Windows Vista,21 - Software Development for Windows Vista,
Recent update: 2008-3-21

Debug process <program>.vshost.exe UAC issue

456 byte By KeithHill at 2008-3-7
Basically foo.vshost.exe doesn't honor the requestedExecutionLevel for the application. Making debugging virtualization issues, uh, difficult to say the least. I set my app to "requireAdministrator" but the VSHOST.exe process is getting virtualization enabled. Argh! Yes I know about ...

Is there a managed equivalent of CoCreateInstanceAsAdmin()?

210 byte By KeithHill at 2008-3-6
Better yet, can I build a completely managed component that behaves the same way? Yeah I could build a COM component in .NET but something is wrong here if .NET is getting left out in the cold WRT UAC security.

ICredentialProvider

266 byte By stephangafi at 2008-3-5
Hi I'm working on a diploma thesis, to create a logon in vista with a biometrical card. I'm looking for information about how ICredentialProvider is working. And how is it possible to overwrite the normal logon process. Thanks in advance

SetTimeZoneInformation and Vista

492 byte By jpatrick62 at 2008-3-3
Having a problem where I'm getting a error return code of 1314 (A required privilege is not held by the client) after calling SetTimeZoneInformation API in C++. This is after I adjusted the token privilege for the SeSystemtimePrivelege, which is just baffling me. This code works in XP, but ...

Manifest files for Vista

985 byte By VikashSharma at 2008-3-1
Hi,For some of the exes of my product, I need administrative privilege. So I embed them in my application with "requireAdministrator". It works fine on Windows Vista and prompts for allow/deny or administrator uname/password as applicable.But the same program has non consistent ...

ISA Firewall Client

169 byte By Slawza at 2008-2-28
Why can't I install the ISA firewall client on Vista. I have tried stopping Windows defender but it still doesn't allow me to install it. Can anyone help?

Elevating a process / querying elevation status (LUA/UAC)

214 byte By ReljaMarkovic at 2008-2-27
Hi, how would I go about programmatically elevating my process (as in an 'elevate now' button)? Also, how would I query if my process is running with full privileges or not? Thanks, Relja

Vista / Services / Interact with Desktop?

735 byte By efontana at 2008-2-26
I understand that with the new service hardening that services will run in session 0 and can no longer interact with the desktop, but this raises two questions:1. Why is there still the checkbox "Allow Service to Interact with Desktop" in the services control panel applet?2. Secondary ...

Error in Createprocessasuser()

1581 byte By michels at 2008-2-25
Hello, I am creating a service application in which I am calling a new .exe file when ever I start the service. but beore that I am facing problem in creating a process.I have used CreateProcessAsUser() but it is throwing an error "Error creating process: 1314" is the error can anyone helpme ...

ClickOnce deployment problem for Vista app

16368 byte By wlrichardss at 2008-2-24
I am trying to deploy a managed application to Vista and assert that the application needs administrator privilege to run. I have updated the manifest and the application correctly asserts the administrator privilege when I run it directly from the file system. However when I try to deploy the ...

The requested operation requires elevation.

526 byte By scompa at 2008-2-23
I am connected to wireless network in my city. The problem is that when I want to connect to city wireless I need to add a route in Command prompt. In XP it works fine, but when I type this in Vista:route -p add 10.0.0.0 mask 255.0.0.0 10.46.2.1I recive this message:The requested operation ...

Elevating a process / querying elevation status (LUA/UAC)

218 byte By ReljaMarkovic at 2008-2-22
Hi, how would I go about programmatically elevating my process (as in an 'elevate now' button)? Also, how would I query if my process is running with full privileges or not? Thanks, Relja

Error in Createprocessasuser()

1562 byte By michels at 2008-2-22
Hello, I am creating a service application in which I am calling a new .exe file when ever I start the service. but beore that I am facing problem in creating a process. I have used CreateProcessAsUser() but it is throwing an error "Error creating process: 1314" is the error can anyone ...

a service can not pop up message box.

191 byte By Tony128 at 2008-2-21
I have a service, which is a system process, needs to pop up a message box. It works under Windows XP, but not working under Windows Vista. Anybody can help me with some suggestions? Thanks.

Always allow an application

364 byte By nOrphf at 2008-2-20
HiIs it possible to authenticate an application/exe so I don't need to press continue every time I start my computer?My prob is that every time I start my computer I need to press continue to two Logitech driver exe's. That a bit irritating :)And when I start Firefox, or if I click a link i ...

Register COM component on Vista

132 byte By RyanBo at 2008-2-19
How to register COM component on windows Vista. It seems that the administrator acount is required. Help! Thanks.

The requested operation requires elevation.

531 byte By scompa at 2008-2-18
I am connected to wireless network in my city. The problem is that when I want to connect to city wireless I need to add a route in Command prompt. In XP it works fine, but when I type this in Vista: route -p add 10.0.0.0 mask 255.0.0.0 10.46.2.1 I recive this message: The requested operation ...

Computer information needed.

901 byte By AristonDarmayuda at 2008-2-17
I have try to install some software on Vista (5308), a common application like Acrobat Reader, but it always stop on the middle of process (50%). Then I try install my soundcard driver (AC97) that I've got from realtek.com, it same too. I have wait 3 hours to wait the installation but still ...

CreateProcess() + "highestAvailable" = error 740

771 byte By ChrisRossall at 2008-2-16
On vista Beta 2, i have added a manifest to one of my executeables that specifies the "highestAvailable" application marking. If I am logged on as a member of the administrator group, with UAC at the default setting, and call CreateProcess() on this executable, it fails with ...

Windows Vista Registry Layout

306 byte By LuisNeto at 2008-2-15
Is there any Layout of windows vista registry? Basically I want to make some tweaks to Vista in order to make certain peformance tests, but I need to disable screen saver, power saving, user tracking, recycle bin, etc, etc... Do you know where could I get the information I need to do that? ...

InfoCard issues

494 byte By ChrisKoenig at 2008-2-15
Not sure where to post this, so if I am in the wrong group, please let me know... Since installing e WinFX SDK where it seems most everything is working, I have been unable to get the InfoCard Control Panel applet working. The error I get is: The Digital Identity control panel applet failed to ...

Manifest files for Vista

990 byte By VikashSharma at 2008-2-15
Hi, For some of the exes of my product, I need administrative privilege. So I embed them in my application with "requireAdministrator". It works fine on Windows Vista and prompts for allow/deny or administrator uname/password as applicable. But the same program has non consistent ...

Specifying a custom level for requireExecutionLevel in a UAC manifest

505 byte By TanveerRashid at 2008-2-15
Can we specify a custom level for the requestedExecutionLevel in a UAC manifest (meaning apart from asInvoker, highestAvailable, requireAdministrator)? -Tanveer Rashid ...

ISA Firewall Client

171 byte By Slawza at 2008-2-15
Why can't I install the ISA firewall client on Vista. I have tried stopping Windows defender but it still doesn't allow me to install it. Can anyone help?

Journal Playback disabled

65 byte By MarkWienzek at 2008-2-14
Is Journal Playback disabled in Vista Beta2? How do I enable it?

Context menu extensions for TortoiseSVN not showing up in Vista Beta 2

1719 byte By Rolf0324 at 2008-2-14
Our company uses TortoiseSVN (tortoisesvn.tigris.org) as a shell-extension interface to our Subversion source repository. It runs like a dream on XP and Vista build 5381 and previous versions. However, on Vista beta 2 (build 5384), I noticed the following new behavior: 1) With the default Vista ...

Vista / Services / Interact with Desktop?

736 byte By efontana at 2008-2-13
I understand that with the new service hardening that services will run in session 0 and can no longer interact with the desktop, but this raises two questions:1. Why is there still the checkbox "Allow Service to Interact with Desktop" in the services control panel applet?2. Secondary ...

DCOM error on Vista

948 byte By Abhi_N at 2008-2-13
Hi, I am trying to call a DCOM component registered on server machine from Client using local administrator account. I need to call this component in interactive mode. This is giving me Error 80070005: Access Denied. As per event log i changed the permission for local admin to allow remote ...

Can not install anything?

901 byte By AristonDarmayuda at 2008-2-12
I have try to install some software on Vista (5308), a common application like Acrobat Reader, but it always stop on the middle of process (50%). Then I try install my soundcard driver (AC97) that I've got from realtek.com, it same too. I have wait 3 hours to wait the installation but still ...

customizing the description of elevation dialog

254 byte By rosebud75 at 2008-2-11
Hi Our prodcut has a main engine executable, which performs elevation-requiring actions according to varying plugin-ins (dlls) that it loads. Can the consent dialog be customized to take the description from the dll and not from the exe?

Virtualization?

1185 byte By efratian at 2008-2-10
Various Microsoft Vista docs talk about registry and disk virtualization, e.g. "In Windows Vista, many legacy applications that were not designed to support standard user accounts can run without modification, using the built-in file/registry virtualization feature. File/registry ...

WTSEnumerateProcessesA leaks on Vista

396 byte By efratian at 2008-2-10
On Vista (build 5308), WTSEnumerateProcessesA results in a large memory leak (despite the subsequent call to WTSFreeMemory), as well as a dozen or so page faults every time it is called. It does not result in a leak or page faults under XP. I sure hope this gets fixed before release. ...

Non-elevated processes can not create global shared memory

1197 byte By efratian at 2008-2-8
Prior to Windows Server 2003, global named shared memory (CreateFileMapping((HANDLE)0xFFFFFFFF, ..., "Global\...")) could be created by any process. This was a very useful technique for coordinating processes running in different Windows sessions that have to share some sort of global ...

How to CreateProcess NOT as administrator

914 byte By efratian at 2008-2-8
One of our modules is an executable that will always be run as administrator (after getting permission from user). One of its screens allows the user to run a different executable, which the code currently does by CreateProcess. The problem is that since the first process is running as admin, ...

What registry entry to unblock a VC application in XP Firewall

536 byte By rexian at 2008-2-7
Hello, Not sure if this is the right place for my question. While installing our VC based application we'd like to make an entry in the registry for XP SP2 systems such that the Firewall doesn't popup the block / unblock dialog box at runtime. Our application needs internet to run and the ...

Registry Access in Managed Form Application

686 byte By MikeCarlisle at 2008-2-7
Hi, I'm developing a C# .Net 2.0 application that requires read/write access to the registry. I'm using the following code: using Microsoft.Win32; ... regkey = Registry.CurrentUser.OpenSubKey(@"SOFTWARE", true);regkey = regkey.CreateSubKey("MyCompany"); On Vista the new ...

Vista IE7 and MS CertServer

670 byte By figuerres at 2008-2-7
Hi, has anyone seen this problem before? any way to fix it? running the Feb CTP I needed to request a client cert from an intra-net / private app. it uses server 2003 and msft cert server to issue client certs. I can open the request page but it just sits there with the "downloading ...

Calling CreateProcessAsUser() from service

437 byte By wolf777 at 2008-2-7
According to some MS documents (e.g. http://www.microsoft.com/whdc/system/vista/services.mspx), it should be possible to use CreateProcessAsUser() API in a Vista service to create a process in user session. I am trying to achive this, but the function returns error code 1307 ...

Using LUA/UAP in custom applicatons

1233 byte By KeeronModi at 2008-2-6
Hi, The December CTP of Vista has a modified version of UAP/LUA. There's a shield icon (windows colors) next to any setting that requires aleveated status (brings up the verification dialog instead of an earlier dialog that asked for admin password). Also, for other tasks such as opening a ...

Is thrre a way to detect if the logged on user belongs to admin group

281 byte By ckm at 2008-2-6
I would like to detect this in an ActiveX control. Since IE is invoked as With no Application marking CheckAccess call is fails with error 5 (Expected). Is there an other way to determine is the logged on user belongs to administrator group. Thanks -C

InfoCard issues

494 byte By ChrisKoenig at 2008-2-5
Not sure where to post this, so if I am in the wrong group, please let me know... Since installing e WinFX SDK where it seems most everything is working, I have been unable to get the InfoCard Control Panel applet working. The error I get is: The Digital Identity control panel applet failed to ...

WMI SNMP v3 provider

169 byte By semaphor at 2008-2-5
Hi all, is there a WMI SNMPv3 provider? is it planned? discarded? postponed? i did not find any information about this ... thanks and cheers semaphor

password vulnerability in Vista

726 byte By djaiken at 2008-2-4
Rainbow crackers are currently having their way with Windows LM and NTLM passwords, even in cases where the password is 8 chars long and composed of the standard ASCI alphanumeric character set ( http://www.rainbowcrack-online.com/?x=ntlm ). The situation appears to be getting getting worse ...

Journaling hooks on Vista?

296 byte By GammyKnee at 2008-2-4
Along with a lot of other people, I've noticed that attempts to set the journalling hooks (<span class=clsLiteral>WH_JOURNALPLAYBACK, </span><span class=clsLiteral>WH_JOURNALRECORD) get knocked back with access denied on CTP 5270. Is this down to the new Vista security policies? </span>

SymbolicLinks & UAC & ShellExtensions

1817 byte By HermannS at 2008-2-4
Can you give me a hint how to let my shellextension createsymbolic links from explorer.exe?More in Detail: My ShellExtension calls CreateSymbolicLink,which needs at least a manifest containing'requestedExecutionLevel level="highestAvailable"' or youget ...

Performing administrator-related actions withing Media Center

463 byte By rosebud75 at 2008-2-4
We have an application hosted in Media Center that performs administrator-related actions, using an ActiveX. In Vista, these operations will obviously fail because media center does not run in elevated mode. There are some possible solutions for this problem (e.g., using a broker service ...

OpenProcess for service PID from user app

1552 byte By IanMcHardy at 2008-2-3
We have a server application that can be run as a service. In order to communicate with with the server app, our client application, which runs under a user account, uses: OpenProcess( PROCESS_DUP_HANDLE, FALSE, server_pid ) This has worked with earlier windows versions, including Win 2000 and ...

Installing ISA Firewall Client in Windows XP 64 Bits

425 byte By RubensGAraujo at 2008-2-3
Hello, My name is Rubens, I'm from Brazil... I have a MS ISA Server 2004 in Windows 2003 Server 32Bits, but, I have a workstation running Windows XP x64bits, I Can't install MS Firewall client in this machine, because my version is 32bits? Where I found 64 bits for this version(64 bits) ...

the guest account privilege

377 byte By liuzilong at 2008-2-2
I shared a complete control folder to these LAN PC user.other PC will be allow to acess this folder by guest account.(the guest account has been already opened,in the group policy,the guest account is also allows to net acess),ohter PC user can acess the shared resources(include to read, ...

regarding LogOn User

2635 byte By crish at 2008-2-2
Hi, I need information regarding the following.. How are consent admins supposed to administer vista boxens remotely, e.g. by making a connection to \\vistabox\ipc$ and starting and stopping services or doing other privileged work? This always results in an "accesss denied" error ...

Software Development for Windows Vista

Site Classified