how to prevent domain user from accessing the fileserver with the non domain computer!
in my company ,some users dont join their computers in the domain ,but they can access the fileserver with the domain users ,how to prevent it ? how to make them can't access the fileserver
hello!
i want to show a shared folder's security attribute ,such as who can read the file in which folder;
who can write the a new file into the folder ;who can have the complete control;
can i do this with the vbscrip ,my boss want me to write a program to control the shared folders
how can i install a software on the domain computer whit a .exe file ,can i use the policy to do this ,i try to write a startup script but it cannt run ,my script likes this, where errores.
set WshShell = CreateObject("WScript.Shell")
WshShell.run "runas /user:sins\installer ""cmd /c...
I want to install a .exe file in the domain ,so i want to use the runas to give the privilege and install,
my program is following
set WshShell = CreateObject("WScript.Shell")
WshShell.Run "D:\setup\msi_PCAlert4073\Setup.exe -s -f1D:\setup\msi_PCAlert4073\setup.iss"
but it does not...
set oUser=GetObject("LDAP://cn=s040695"_
& ",ou=TestsinomosAccounts,dc=testsinomos,dc=com")
Set oDomain = GetObject("WinNT://testsinomos")
'make sure the user have not belonged to the group
For Each oGroup In oUser.groups
if ( oGroup.name <> "Domain Users" and
oGroup.name...
set oDomain = GetObject("WinNT://testsinomos")
set oUser =oDomain.GetObject("User","s040695")
'wscript.echo err.number
oUser.put "title", "stitle"
oUser.setinfo
warning the line 4 have a error , but when i try with the echo err.number it returns 0,what errors ?
whether the winnt are the same...
i want to add a user to a group, when i get the user ,can i use the "memberof" to add it to the group ,which it belong to , can i use the putex method .when i try ,warning me it dont like to deal with it .i dont know how to do ,whether it can do
thanks
when i want to disable the administrator on local system ,how can i do
Dim sComputer, sUser, oUser, sDSPath
Dim sNewPass
sUser = "Administrator"
sNewPass = "521013"
sComputer = "."
sDSPath = "WinNT://" & sComputer & "/" & sUser & ",user"
Set oUser = GetObject(sDSPath)...
when i create a filefolder with a vbscript , the default owner is the man who creates it and the administrator .
i want to add a new owner and give it some privilege. how can i do?
if i want to get the information of a software installed in my computer,which is installed by setup.exe file
such as get the software's version and serial
i use the win32_product but can get, it only get the software installed by .msi
my friends tell me to search the registry but i dont know...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.