Guest janmy Posted February 25, 2005 Posted February 25, 2005 HI , I would like to know why when i use RUN AS SET with my local account : administrateur with no password , it doesn't works? When I set a password for the same account , It works ! I set my account "administrateur" with no password If IsAdmin() = 0 Then RunAsSet("administrateur", @Computername,"") don't work I set my account "administrateur" with the password "test" If IsAdmin() = 0 Then RunAsSet("administrateur", @Computername,"test") works ?? thanks for your help
therks Posted February 25, 2005 Posted February 25, 2005 Odd. Although I just have to comment that it seems pretty foolish to have an administrator account with no password. My AutoIt Stuff | My Github
Guest janmy Posted February 26, 2005 Posted February 26, 2005 Odd. Although I just have to comment that it seems pretty foolish to have an administrator account with no password. <{POST_SNAPBACK}>yes It is! , but it is not my problem ! for example , this script: RunAsSet("administrateur", @Computername,"")RunWait("Notepad.exe")reporte this error (in french) :"error : Unable to execute the external programEchec d'ouverture de session , restriction de compte utilisateur.Des raisons possibles sont des mot de passe vides n'étant pas autorisés, des restrictions sur les heures d'ouvertur de session ou une restriction de stratégie a été appliquée."Screenshot of this error is an attachementRunAsSet don't work with an account who as no password?If Somebody has an idee....thankserror.doc
Developers Jos Posted February 26, 2005 Developers Posted February 26, 2005 yes It is! , but it is not my problem ! for example , this script: RunAsSet("administrateur", @Computername,"")RunWait("Notepad.exe")reporte this error (in french) :"error : Unable to execute the external programEchec d'ouverture de session , restriction de compte utilisateur.Des raisons possibles sont des mot de passe vides n'étant pas autorisés, des restrictions sur les heures d'ouvertur de session ou une restriction de stratégie a été appliquée."Screenshot of this error is an attachementRunAsSet don't work with an account who as no password?If Somebody has an idee....thanks<{POST_SNAPBACK}>Its is correct that it gives an error when trying to use an account that has a Blank password. The error comes from windows... Try running the RUNAS program like:RunAs /user:administrateur cmdI get exactly the same error:1327: Logon failure: user account restriction. Possible reasons are blank passwords not allowed, logon hour restrictions, or a policy restriction has been enforced.The big question is: do we concsider this and Problem or a Feature ?I my mind , the Administrator passwork should NEVER be blank. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Guest janmy Posted February 26, 2005 Posted February 26, 2005 Its is correct that it gives an error when trying to use an account that has a Blank password. The error comes from windows... Try running the RUNAS program like:RunAs /user:administrateur cmdI get exactly the same error:The big question is: do we concsider this and Problem or a Feature ?I my mind , the Administrator passwork should NEVER be blank.<{POST_SNAPBACK}>Thanks for your help JdeBI finally found the solution has my problem thanks to you.I modified the parameters in my GPO : "restreindre l'utilisation de mots de passe vierge par le compte local a l ouverture de session console" and then used secedit.exe to force update to my workstations and it works!
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