huajin Posted October 29, 2014 Posted October 29, 2014 (edited) i tried to write the regedit value, but not work Local $regPath = "HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer" Local $regKey = "NoDrives" Local $res = RegWrite($regPath, $regKey, "REG_DWORD", 1) it will not work as admin. just only at windows 7 and above. Edited October 29, 2014 by huajin
ripdad Posted October 29, 2014 Posted October 29, 2014 Did you want to hide drive A: ? A=1 "The mediocre teacher tells. The Good teacher explains. The superior teacher demonstrates. The great teacher inspires." -William Arthur Ward
jguinch Posted October 29, 2014 Posted October 29, 2014 it works for me, the code seems to be good. Can you add ConsoleWrite(@error) after the RegWrite line ? Spoiler Network configuration UDF, _DirGetSizeByExtension, _UninstallList Firefox ConfigurationArray multi-dimensions, Printer Management UDF
huajin Posted October 30, 2014 Author Posted October 30, 2014 it works for me, the code seems to be good. Can you add ConsoleWrite(@error) after the RegWrite line ? do you work at windows 7??? at xp , it is ok.
huajin Posted October 30, 2014 Author Posted October 30, 2014 Did you want to hide drive A: ? A=1 yes
Solution huajin Posted October 30, 2014 Author Solution Posted October 30, 2014 Now, i just put it work at xp.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now