venkatspb
asked on
Batch File Program
I want to Write a batch file to change a few settings in group policy, if it is possbile then please let me know the basic program to write a bath file?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Venkat,
For the detail problem, I think the following two articles will be helpful to you. It provides you a solution to disable the usb device.
http://support.microsoft.c om/kb/5553 24
http://badzmanaois.blogspo t.com/2008 /09/disabl e-usb-stor age-using- vbs-script _07.html
I am not sure about the wireless. But I think it is same.
For the detail problem, I think the following two articles will be helpful to you. It provides you a solution to disable the usb device.
http://support.microsoft.c
http://badzmanaois.blogspo
I am not sure about the wireless. But I think it is same.
ASKER
Dear edzhu,
Could u pls write a VBscript for changing the group policy state from not configuring to disable.
for eg: (in windows 7)
run->gpedit.msc->Computer configuration->Adminstrati ve templates-> windows components->Remote Desktop Services->Remote Desktop Session Host-> Connection->Allow user to connect remotely using Remote Desktop Services..... -> want to make not configured to enable),
and also in same prog want to change
run->gpedit.msc->Computer configuration->Adminstrati ve templates-> windows components->Remote Desktop Services->Remote Desktop Session Host-> Security->Allow user to connect remotely using Remote Desktop Services..... -> want to make not configured to enable)
and
run-> gpupdate /force.
Adv many thnks
regards
Venkat
Could u pls write a VBscript for changing the group policy state from not configuring to disable.
for eg: (in windows 7)
run->gpedit.msc->Computer configuration->Adminstrati
and also in same prog want to change
run->gpedit.msc->Computer configuration->Adminstrati
and
run-> gpupdate /force.
Adv many thnks
regards
Venkat
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks
Glad i'v helped.
Cheers,
Rene
Cheers,
Rene
ASKER
Thanks very much for your suggestion. I want to disable the usb and wireless devices in the laptop. Is is possible to write a script for that? If so please suggest me the code. Thanks.
Thanks,
Venkat