uac - SetVolumeLabel function getting failed due to access denied error on Windows 7 -


setvolumelabel function getting failed due access denied error on windows 7.

same function works fine on windows xp.

any idea why problem coming on windows 7 , not on xp.

any appreciated , helpful us.

windows vista , windows 7 have user account control, or uac. means users not have administrator privileges unless requested specific operation or application. under windows xp if user administrator, programs run administrator privileges.

the error getting indicates setvolumelabel requires elevated privileges. can use "runas" run application administrator or can change program request elevation.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -