Showing posts with label Script. Show all posts
Showing posts with label Script. Show all posts

Wednesday, December 5, 2012

Script to make all folder unhide

If you face a problem that all your folder in window directory was missing, you may try to un-check few options in folder option menu.
By default of Windows, the ribbon will be at #2-1, "Don't show hidden files, folders, or drives.
To view hidden file, change the ribbon to #2-2, show hidden files, folders, and drives
However, sometimes you need to un-check #2-3, hide protected operating system files (recommended) while the system has been infected by virus.

#3 is un-hide all file extension for all file types if there was un-check.

Then you may see some kind like this as below picture. All folder are hidden and grey out.

How to make all folder unhidden in one-shot instead to do it one-by-one folder?
Here is the command prompt script to let you unhide all folder in one-click.



Copy all those text into notepad.exe and save it as *.bat file extension. Then put the file *.bat into those folder or drives that infected and execute it.
Then you will see all your folder come back as per normal and you may check back the folder options as windows default.

Reference:

http://forums.techguy.org/windows-7/1029473-making-all-hidden-files-unhidden.html

Thursday, October 25, 2012

How to make Unmanged SEP client become managed SEP Client

Firstly, right click on Symantec Endpoint Protection Client on start menu taskbar as the snapshot below.
Then click on "Open Symantec Endpoint Protection"

You will saw SEP console interface, then go to help and click on troubleshooting on right top hand side.

Next, a window will pop out, click on import under Communication Settings. This step will ask you connect to server, mean we are now make a unmanged SEP client become managed SEP client.

Before that, you have to find out a file called "Sylink.xml". Then you have to select it, the file may get from SEP manager (which in server/core workstation) or get it from other computer which SEP client was installed. (C:\Program Files\Symantec\Symantec Endpoint Protection\...\...)

Wait for awhile, then you will saw the information of SEP client changed. Make sure it is correctly connect to server IP address that you able to see in the window.
For Example: 192.168.0.12 is my server

Exit the SEP console, and right click on the SEP icon again, you will see the difference context menu, compare with first snapshot.
Update Policy is to get latest config file, policy setting and virus definition from Server (SEP manager)

If you able to see the context menu of SEP client as last snapshot, that mean you have successful make unmanaged SEP client become managed SEP client.

Besides that, there is the other way to import sylink.xml

1) click on "Run", then type "smc - stop" without quote, to unload SEP client
2) copy "Sylink.xml" into C:\Program Files\Symantec\Symantec Endpoint Protection
3) click on "Run", then type "smc - start" without quote, to reload Symantec Endpoint Protection Client

Wish you good luck =)

Related Posts Plugin for WordPress, Blogger...