pub & skin folder missing!

hi everybody.
when i want to connect to the router by webfig, at the login page there are not username and password textboxes. i checked via winbox and found that in “files” there is not pub and skin folder. is problem with these folders? pleas help me to solve it. tnx

You have already tried to open webfig with another device and/or another browser?

If the files are actually missing, and you have the same problem from another PC and another browser, you will need to reinstall RouterOS with Netinstall to fix the issue

yes dear, i done it with others browser but didn’t work!
to tell you the truce i am beginner and have some fear to do it because there are 50 users that use interent on the network.
do it make any problem with the usernames when i reinstall the os?

and the other question, i haven’t smp setting on winbox (ip–>smp). is there any way to repair this option?

Paste inside new terminal:

/ip smb shares
set [ find where name="pub" ] comment="default share" directory=/firmware disabled=no max-sessions=10
set [ find where name="pub" ] comment="default share" directory=/skin disabled=no max-sessions=10
set [ find where name="pub" ] comment="default share" directory=/pub disabled=no max-sessions=10
/system note
set note=""
/user group
set skin=default [find]
/ip proxy reset-html
y

The script re-create all basic RouterOS files and folders on root directory
(except hotspot default folder with all others subdirectory and files)

If you like the solution, add karma.
thanks.

What RouterOS version you have?

[admin@Hotspot water tower] > /ip smp shares
bad command name smp (line 1 column 5)

OS wersion: 5.12

sorry guys
the version: 5.5

result:

[admin@Hotspot water tower] > /ip smb shares
bad command name smb (line 1 column 5)
[admin@Hotspot water tower] > set [ find where name=“pub” ] comment="default share
" directory=/firmware disabled=no max-sessions=10
expected variable name (line 1 column 5)
[admin@Hotspot water tower] > set [ find where name=“pub” ] comment=“default share
" directory=/skin disabled=no max-sessions=10
expected variable name (line 1 column 5)
[admin@Hotspot water tower] > set [ find where name=“pub” ] comment=“default share
" directory=/pub disabled=no max-sessions=10
expected variable name (line 1 column 5)
[admin@Hotspot water tower] > /system note
[admin@Hotspot water tower] /system note> set note=””
[admin@Hotspot water tower] /system note> /user group
[admin@Hotspot water tower] /user group> set skin=default [find]
[admin@Hotspot water tower] /user group> /ip proxy reset-html
http://www.4shared.com/photo/UsUZgLTnba/Untitled1.html"%20target=_blank
http://dc616.4shared.com/img/ONQwlu2-ba/1449734aa58/Untitled.jpg"%20border

v5.5 is too old.

SMB was not included in those times.

Use RouterOS v6.10

And now webfig is working?
Update RouterOS at least to 5.26
You can view the list of packages installed on winbox / system / packages
If you use user-manager, do not forget user-manager package when update!

no isn’t work as you can see on picture.
before i could use webfig but accidently i deleted the pub and skin folder!

Please upgrade to v6.10 and problem will be solved.