Questions tagged [windows-vista]

Windows Vista is an operating system that was the successor of Windows XP and the predecessor of Windows 7. It is not maintained nor supported anymore.

Important Notice

As of April 8, 2017 Microsoft has stopped the support for Windows Vista. See the official recommendations.

Windows Vista is an operating system developed and sold by Microsoft. The successor to Microsoft's popular Windows XP (), Vista incorporates new features such as the Windows Aero desktop UI, improved home network support, Windows Search, and improved security features like the User Access Control (UAC) ().

Windows Vista was announced on July 22, 2005, and development was officially completed on November 8, 2006. It was released worldwide on January 30, 2007, after being initially released through business customers and OEMs.

By October 22, 2009, Microsoft released Windows 7 (), the successor of Vista.

Windows Vista ceased sales on October 22, 2010. As of 2012, the Vista market share was estimated at less than 7%.

Useful links:

1580 questions
32
votes
5 answers

Why is RegOpenKeyEx() returning error code 2 on Vista 64bit?

I was making the following call: result = RegOpenKeyEx(key, s, 0, KEY_READ, &key); (C++, Visual Studio 5, Vista 64bit). It is failing with error code 2 ("File not found") even though "regedit" shows that the key exists. This code has always worked…
Tim Cooper
  • 10,023
  • 5
  • 61
  • 77
31
votes
5 answers

How can i see the assembly version of a .NET assembly in Windows Vista and newer (WIndows 7, 2008)?

In windows 2003 and windows XP you could right click on an assembly (.dll) go to properties, click on the version tab and then you would see 3 different version numbers: Assembly version, file version and product version. If you take that same file…
Mark
  • 5,223
  • 11
  • 51
  • 81
30
votes
14 answers

Programmatically prevent Windows screensaver from starting

Is there a recommended way to prevent the Windows screensaver from starting? The closest thing I've found is this article, but what I would really like to do is just tell Windows that the computer isn't idle rather than fooling with the currently…
Michael Kelley
  • 3,579
  • 4
  • 37
  • 41
29
votes
3 answers

Installing Exuberant Ctags on Windows (Vista and XP)

I want to use Exuberant Ctags on Vista (and probably the XP laptop) at work; no choice about the OS. I'm use GVim instead of the Flex Builder recommended by my co-worker, because the FB is buggy and doesn't do what GVim does, anyway. I got the zip…
kajaco
  • 2,547
  • 3
  • 24
  • 33
29
votes
3 answers

windows batch files: setting variable in for loop

I have a number of files with the same naming scheme. As a sample, four files are called "num_001_001.txt", "num_002_001.txt", "num_002_002.txt", "num_002_003.txt" The first set of numbers represents which "package" it's from, and the second set of…
MxLDevs
  • 19,048
  • 36
  • 123
  • 194
29
votes
13 answers

Command/Powershell script to reset a network adapter

OS: Vista enterprise When i switch between my home and office network, i always face issues with getting connected to the network. Almost always I have to use the diagnostic service in 'Network and sharing center' and the problem gets solved when i…
Mohit
  • 652
  • 2
  • 8
  • 8
28
votes
3 answers

How to list all symbolic links on an NTFS filesystem

since Windows Vista there is an new Win32-API call CreateSymbolicLink to create a symbolic link on the NTFS filesystem. Does anyone know if there is an way to list all existing symbolic links on the filesystem?
Alexander
  • 3,724
  • 8
  • 42
  • 50
27
votes
7 answers

Get SSID of the wireless network I am connected to with C# .Net on Windows Vista

I'd like to know if there is any .Net class that allows me to know the SSID of the wireless network I'm connected to. So far I only found the library linked below. Is the best I can get or should I use something else? Managed WiFi…
mariosangiorgio
  • 1,007
  • 2
  • 13
  • 26
27
votes
6 answers

Request Windows Vista UAC elevation if path is protected?

For my C# app, I don't want to always prompt for elevation on application start, but if they choose an output path that is UAC protected then I need to request elevation. So, how do I check if a path is UAC protected and then how do I request…
sieben
  • 2,161
  • 4
  • 23
  • 31
26
votes
9 answers

Windows shortcut (.lnk) parser in Java?

I'm currently using Win32ShellFolderManager2 and ShellFolder.getLinkLocation to resolve windows shortcuts in Java. Unfortunately, if the Java program is running as a service under Vista, getLinkLocation, this does not work. Specifically, I get an…
Zarkonnen
  • 22,200
  • 14
  • 65
  • 81
26
votes
23 answers

The Web Server Could Not Find the Requested Resource

I have a .NET 3.5 Web application on VS 2008 SP1 running on Vista Ultimate 32 SP1. I created an Application under the Default Web Site. So the url to the app is "http://localhost/mysite". The application folder is pointing to the solution folder and…
harropriiz
  • 455
  • 1
  • 4
  • 10
26
votes
1 answer

Windows 7 and Vista UAC - Programmatically requesting elevation in C#

I have a program that only requires elevation to Admin on very rare occasions so I do not want to set-up my manifest to require permanent elevation. How can I Programmatically request elevation only when I need it? I am using C#
Chris
  • 26,744
  • 48
  • 193
  • 345
26
votes
5 answers

How to check if OS is Vista in Python?

How, in the simplest possible way, distinguish between Windows XP and Windows Vista, using Python and pywin32 or wxPython? Essentially, I need a function that called will return True iff current OS is Vista: >>> isWindowsVista() True
Dzinx
  • 55,586
  • 10
  • 60
  • 78
26
votes
5 answers

As a developer, how should I use the special folders in Windows Vista (and Windows 7)?

Where should I save data related to my application? Where should I save configuration files? Where should I save temporary files? Should I do it in "Documents"? "AppData"? Etc... What is the best practice for saving data to the disk (I guess, best…
Nestor
  • 13,706
  • 11
  • 78
  • 119
25
votes
5 answers

Rails on Windows is so slow (rails -v takes 4 seconds)

I'm using rails Version 3.0.3 and ruby Version 1.9.2p136 (2010-12-15) on a Intel Core 2 Duo 2,6 Ghz with 4 GB Ram and Windows Vista Business SP2 with no other (heavy) applications running. I have already read that rails development on Windows is…
user331471
  • 873
  • 1
  • 9
  • 19